Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for callbackWrap (0.1 sec)

  1. src/runtime/sys_windows_amd64.s

    	// the "frame" to cgocallback and on to callbackWrap.
    	SUBQ	$(24+callbackArgs__size), SP
    	MOVQ	AX, (24+callbackArgs_index)(SP) 	// callback index
    	MOVQ	R8, (24+callbackArgs_args)(SP)  	// address of args vector
    	MOVQ	$0, (24+callbackArgs_result)(SP)	// result
    	LEAQ	24(SP), AX
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVQ	$0, 16(SP)	// context
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/runtime/sys_windows_386.s

    	MOVL	$0, (12+callbackArgs_result)(SP)	// result
    	LEAL	12(SP), AX	// AX = &callbackArgs{...}
    
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVL	$0, 8(SP)	// context
    	MOVL	AX, 4(SP)	// frame (address of callbackArgs)
    	LEAL	·callbackWrap(SB), AX
    	MOVL	AX, 0(SP)	// PC of function to call
    	CALL	runtime·cgocallback(SB)
    
    	// Get callback result.
    	MOVL	(12+callbackArgs_result)(SP), AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. src/runtime/sys_windows_arm64.s

    	MOVD	R14, R0
    	MOVD	R0, callbackArgs_args(R13)		// address of args vector
    	MOVD	$0, R0
    	MOVD	R0, callbackArgs_result(R13)	// result
    
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVD	$·callbackWrap<ABIInternal>(SB), R0	// PC of function to call, cgocallback takes an ABIInternal entry-point
    	MOVD	R13, R1	// frame (&callbackArgs{...})
    	MOVD	$0, R2	// context
    	STP	(R0, R1), (1*8)(RSP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_arm.s

    	// Prepare for entry to Go.
    	BL	runtime·load_g(SB)
    
    	// Call cgocallback, which will call callbackWrap(frame).
    	MOVW	$0, R0
    	MOVW	R0, 12(R13)	// context
    	MOVW	$16(R13), R1	// R1 = &callbackArgs{...}
    	MOVW	R1, 8(R13)	// frame (address of callbackArgs)
    	MOVW	$·callbackWrap(SB), R1
    	MOVW	R1, 4(R13)	// PC of function to call
    	BL	runtime·cgocallback(SB)
    
    	// Get callback result.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top