Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for libc_error (0.15 sec)

  1. src/runtime/sys_darwin_arm64.s

    	MOVD	$-1, R1
    	CMP	R0, R1
    	BNE	noerr
    	BL	libc_error(SB)
    	MOVW	(R0), R0
    	NEG	R0, R0		// caller expects negative errno value
    noerr:
    	RET
    
    TEXT runtime·read_trampoline(SB),NOSPLIT,$0
    	MOVD	8(R0), R1	// arg 2 buf
    	MOVW	16(R0), R2	// arg 3 count
    	MOVW	0(R0), R0	// arg 1 fd
    	BL	libc_read(SB)
    	MOVD	$-1, R1
    	CMP	R0, R1
    	BNE	noerr
    	BL	libc_error(SB)
    	MOVW	(R0), R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  2. src/runtime/sys_darwin_amd64.s

    	CALL	libc_read(SB)
    	TESTL	AX, AX
    	JGE	noerr
    	CALL	libc_error(SB)
    	MOVL	(AX), AX
    	NEGL	AX			// caller expects negative errno value
    noerr:
    	RET
    
    TEXT runtime·write_trampoline(SB),NOSPLIT,$0
    	MOVQ	8(DI), SI		// arg 2 buf
    	MOVL	16(DI), DX		// arg 3 count
    	MOVQ	0(DI), DI		// arg 1 fd
    	CALL	libc_write(SB)
    	TESTL	AX, AX
    	JGE	noerr
    	CALL	libc_error(SB)
    	MOVL	(AX), AX
    	NEGL	AX			// caller expects negative errno value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  3. src/runtime/sys_darwin.go

    //go:cgo_import_dynamic libc_munmap munmap "/usr/lib/libSystem.B.dylib"
    //go:cgo_import_dynamic libc_madvise madvise "/usr/lib/libSystem.B.dylib"
    //go:cgo_import_dynamic libc_mlock mlock "/usr/lib/libSystem.B.dylib"
    //go:cgo_import_dynamic libc_error __error "/usr/lib/libSystem.B.dylib"
    //go:cgo_import_dynamic libc_usleep usleep "/usr/lib/libSystem.B.dylib"
    
    //go:cgo_import_dynamic libc_proc_regionfilename proc_regionfilename "/usr/lib/libSystem.B.dylib"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. src/runtime/sys_openbsd_ppc64.s

    	CMP	R3, $-1
    	BNE	noerr
    	CALL	libc_errno(SB)
    	MOVW	(R3), R3		// errno
    	NEG	R3, R3			// caller expects negative errno value
    noerr:
    	RET
    
    TEXT runtime·write_trampoline(SB),NOSPLIT,$32
    	MOVD	8(R3), R4		// arg 2 - buf
    	MOVW	16(R3), R5		// arg 3 - count
    	MOVD	0(R3), R3		// arg 1 - fd (uintptr)
    	CALL	libc_write(SB)
    	CMP	R3, $-1
    	BNE	noerr
    	CALL	libc_errno(SB)
    	MOVW	(R3), R3		// errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd_arm64.s

    	CMP	$-1, R0
    	BNE	noerr
    	CALL	libc_errno(SB)
    	MOVW	(R0), R0		// errno
    	NEG	R0, R0			// caller expects negative errno value
    noerr:
    	RET
    
    TEXT runtime·write_trampoline(SB),NOSPLIT,$0
    	MOVD	8(R0), R1		// arg 2 - buf
    	MOVW	16(R0), R2		// arg 3 - count
    	MOVW	0(R0), R0		// arg 1 - fd
    	CALL	libc_write(SB)
    	CMP	$-1, R0
    	BNE	noerr
    	CALL	libc_errno(SB)
    	MOVW	(R0), R0		// errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  6. src/runtime/sys_openbsd_riscv64.s

    	CALL	libc_write(SB)
    	MOV	$-1, X5
    	BNE	X5, X10, noerr
    	CALL	libc_errno(SB)
    	MOVW	(X10), X10		// errno
    	NEG	X10			// caller expects negative errno
    noerr:
    	RET
    
    TEXT runtime·pipe2_trampoline(SB),NOSPLIT,$8
    	MOVW	8(X10), X11		// arg 2 - flags
    	MOV	0(X10), X10		// arg 1 - filedes
    	CALL	libc_pipe2(SB)
    	MOV	$-1, X5
    	BNE	X5, X10, noerr
    	CALL	libc_errno(SB)
    	MOVW	(X10), X10		// errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  7. src/runtime/sys_openbsd_amd64.s

    	CALL	libc_read(SB)
    	TESTL	AX, AX
    	JGE	noerr
    	CALL	libc_errno(SB)
    	MOVL	(AX), AX		// errno
    	NEGL	AX			// caller expects negative errno value
    noerr:
    	RET
    
    TEXT runtime·write_trampoline(SB),NOSPLIT,$0
    	MOVQ	8(DI), SI		// arg 2 buf
    	MOVL	16(DI), DX		// arg 3 count
    	MOVL	0(DI), DI		// arg 1 fd
    	CALL	libc_write(SB)
    	TESTL	AX, AX
    	JGE	noerr
    	CALL	libc_errno(SB)
    	MOVL	(AX), AX		// errno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. src/runtime/sys_openbsd_arm.s

    	MOVW	R6, 8(R13)		// low 32 bits
    	MOVW    $0, R7
    	MOVW	R7, 12(R13)		// high 32 bits
    	MOVW	0(R0), R0		// arg 1 addr
    	BL	libc_mmap(SB)
    	MOVW	$0, R1
    	CMP	$-1, R0
    	BNE	ok
    	BL	libc_errno(SB)
    	MOVW	(R0), R1		// errno
    	MOVW	$0, R0
    ok:
    	MOVW	R0, 24(R8)
    	MOVW	R1, 28(R8)
    	MOVW	R9, R13
    	RET
    
    TEXT runtime·munmap_trampoline(SB),NOSPLIT,$0
    	MOVW	R13, R9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  9. src/runtime/sys_openbsd_386.s

    	MOVL	$0, 20(SP)		// pad
    	MOVL	CX, 24(SP)		// arg 6 - offset (low 32 bits)
    	MOVL	$0, 28(SP)		// offset (high 32 bits)
    	CALL	libc_mmap(SB)
    	MOVL	$0, BX
    	CMPL	AX, $-1
    	JNE	ok
    	CALL	libc_errno(SB)
    	MOVL	(AX), BX
    	MOVL	$0, AX
    ok:
    	MOVL	40(SP), DX
    	MOVL	AX, 24(DX)
    	MOVL	BX, 28(DX)
    	MOVL	BP, SP
    	POPL	BP
    	RET
    
    TEXT runtime·munmap_trampoline(SB),NOSPLIT,$0
    	PUSHL	BP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  10. src/runtime/sys_openbsd2.go

    	return
    }
    func issetugid_trampoline()
    
    // Tell the linker that the libc_* functions are to be found
    // in a system library, with the libc_ prefix missing.
    
    //go:cgo_import_dynamic libc_errno __errno "libc.so"
    //go:cgo_import_dynamic libc_exit exit "libc.so"
    //go:cgo_import_dynamic libc_getthrid getthrid "libc.so"
    //go:cgo_import_dynamic libc_sched_yield sched_yield "libc.so"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top