path
stringlengths 14
112
| content
stringlengths 0
6.32M
| size
int64 0
6.32M
| max_lines
int64 1
100k
| repo_name
stringclasses 2
values | autogenerated
bool 1
class |
---|---|---|---|---|---|
cosmopolitan/libc/nt/typedef/wambda.h | #ifndef COSMOPOLITAN_LIBC_NT_WAMBDA_H_
#define COSMOPOLITAN_LIBC_NT_WAMBDA_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
typedef intptr_t (*wambda)();
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_WAMBDA_H_ */
| 281 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/PssWalkMarkerTell.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_PssWalkMarkerTell,PssWalkMarkerTell,1080
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/BasepNotifyLoadStringResource.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_BasepNotifyLoadStringResource,BasepNotifyLoadStringResource,93
| 112 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetFileIoOverlappedRange.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetFileIoOverlappedRange,SetFileIoOverlappedRange,0
| 101 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetSystemTime.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetSystemTime,GetSystemTime,0
.text.windows
GetSystemTime:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_GetSystemTime(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn GetSystemTime,globl
.previous
| 325 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/FreeLibrary.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_FreeLibrary,FreeLibrary,0
.text.windows
FreeLibrary:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_FreeLibrary(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn FreeLibrary,globl
.previous
| 315 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/ConvertSystemTimeToCalDateTime.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_ConvertSystemTimeToCalDateTime,ConvertSystemTimeToCalDateTime,163
| 115 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GlobalFindAtomW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GlobalFindAtomW,GlobalFindAtomW,823
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/PackageNameAndPublisherIdFromFamilyName.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_PackageNameAndPublisherIdFromFamilyName,PackageNameAndPublisherIdFromFamilyName,0
| 131 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/DeactivateActCtx.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_DeactivateActCtx,DeactivateActCtx,0
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetSystemTimeAsFileTime.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetSystemTimeAsFileTime,GetSystemTimeAsFileTime,0
.text.windows
GetSystemTimeAsFileTime:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_GetSystemTimeAsFileTime(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn GetSystemTimeAsFileTime,globl
.previous
| 375 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GlobalMemoryStatusEx.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GlobalMemoryStatusEx,GlobalMemoryStatusEx,0
.text.windows
GlobalMemoryStatusEx:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_GlobalMemoryStatusEx(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn GlobalMemoryStatusEx,globl
.previous
| 360 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/UnregisterWaitEx.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_UnregisterWaitEx,UnregisterWaitEx,0
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/HeapUnlock.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_HeapUnlock,HeapUnlock,0
| 73 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetSystemRegistryQuota.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetSystemRegistryQuota,GetSystemRegistryQuota,746
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/HeapSetInformation.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_HeapSetInformation,HeapSetInformation,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/QueryMemoryResourceNotification.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_QueryMemoryResourceNotification,QueryMemoryResourceNotification,0
| 115 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetDiskFreeSpaceW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetDiskFreeSpaceW,GetDiskFreeSpaceW,0
| 87 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/DeviceIoControl.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_DeviceIoControl,DeviceIoControl,0
.text.windows
__DeviceIoControl:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_DeviceIoControl(%rip),%rax
jmp __sysv2nt8
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn __DeviceIoControl,globl
.previous
| 322 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/OpenProfileUserMapping.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_OpenProfileUserMapping,OpenProfileUserMapping,1036
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetConsoleFontSize.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetConsoleFontSize,GetConsoleFontSize,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/BaseQueryModuleData.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_BaseQueryModuleData,BaseQueryModuleData,66
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetLocalTime.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetLocalTime,SetLocalTime,0
| 77 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/CreateHardLinkTransactedW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_CreateHardLinkTransactedW,CreateHardLinkTransactedW,206
| 105 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetOverlappedResult.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetOverlappedResult,GetOverlappedResult,0
.text.windows
GetOverlappedResult:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_GetOverlappedResult(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn GetOverlappedResult,globl
.previous
| 337 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/OpenConsoleW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_OpenConsoleW,OpenConsoleW,1019
| 80 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/TransactNamedPipe.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_TransactNamedPipe,TransactNamedPipe,0
.text.windows
TransactNamedPipe:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_TransactNamedPipe(%rip),%rax
jmp __sysv2nt8
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn TransactNamedPipe,globl
.previous
| 328 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/FindPackagesByPackageFamily.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_FindPackagesByPackageFamily,FindPackagesByPackageFamily,0
| 107 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/FlushFileBuffers.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_FlushFileBuffers,FlushFileBuffers,0
.text.windows
__FlushFileBuffers:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_FlushFileBuffers(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn __FlushFileBuffers,globl
.previous
| 344 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/BaseCheckAppcompatCacheWorker.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_BaseCheckAppcompatCacheWorker,BaseCheckAppcompatCacheWorker,45
| 112 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetDllDirectoryW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetDllDirectoryW,SetDllDirectoryW,1301
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/IsNLSDefinedString.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_IsNLSDefinedString,IsNLSDefinedString,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetThreadPreferredUILanguages.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetThreadPreferredUILanguages,GetThreadPreferredUILanguages,0
| 111 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/LoadPackagedLibrary.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_LoadPackagedLibrary,LoadPackagedLibrary,0
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetConsoleHardwareState.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetConsoleHardwareState,SetConsoleHardwareState,1271
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/LZRead.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_LZRead,LZRead,953
| 67 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/CreateJobSet.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_CreateJobSet,CreateJobSet,211
| 79 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GlobalHandle.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GlobalHandle,GlobalHandle,829
| 79 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetThreadpoolThreadMinimum.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetThreadpoolThreadMinimum,SetThreadpoolThreadMinimum,0
| 105 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/CopyContext.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_CopyContext,CopyContext,0
| 75 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/DosPathToSessionPathW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_DosPathToSessionPathW,DosPathToSessionPathW,299
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/LocalSize.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_LocalSize,LocalSize,978
| 73 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/Thread32Next.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_Thread32Next,Thread32Next,1444
| 80 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetFirmwareEnvironmentVariableW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetFirmwareEnvironmentVariableW,GetFirmwareEnvironmentVariableW,600
| 117 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/VirtualAllocExNuma.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_VirtualAllocExNuma,VirtualAllocExNuma,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/QueryProtectedPolicy.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_QueryProtectedPolicy,QueryProtectedPolicy,0
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetThreadAffinityMask.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetThreadAffinityMask,SetThreadAffinityMask,1369
.text.windows
SetThreadAffinityMask:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_SetThreadAffinityMask(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn SetThreadAffinityMask,globl
.previous
| 350 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/OutputDebugStringW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_OutputDebugStringW,OutputDebugStringW,0
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/BaseInitAppcompatCacheSupportWorker.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_BaseInitAppcompatCacheSupportWorker,BaseInitAppcompatCacheSupportWorker,62
| 124 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/CancelSynchronousIo.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_CancelSynchronousIo,CancelSynchronousIo,0
.text.windows
CancelSynchronousIo:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_CancelSynchronousIo(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn CancelSynchronousIo,globl
.previous
| 355 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/NotifyUILanguageChange.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_NotifyUILanguageChange,NotifyUILanguageChange,1015
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetCommState.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetCommState,SetCommState,0
| 77 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetProcAddress.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetProcAddress,GetProcAddress,0
.text.windows
GetProcAddress:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_GetProcAddress(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn GetProcAddress,globl
.previous
| 312 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/DeleteFileW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_DeleteFileW,DeleteFileW,0
.text.windows
__DeleteFile:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_DeleteFileW(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn __DeleteFile,globl
.previous
| 317 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/UnmapViewOfFileEx.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_UnmapViewOfFileEx,UnmapViewOfFileEx,0
.text.windows
UnmapViewOfFileEx:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_UnmapViewOfFileEx(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn UnmapViewOfFileEx,globl
.previous
| 327 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetDiskFreeSpaceExW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetDiskFreeSpaceExW,GetDiskFreeSpaceExW,0
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/BaseUpdateAppcompatCacheWorker.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_BaseUpdateAppcompatCacheWorker,BaseUpdateAppcompatCacheWorker,71
| 114 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetUserDefaultUILanguage.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetUserDefaultUILanguage,GetUserDefaultUILanguage,0
| 101 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetComputerNameW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetComputerNameW,SetComputerNameW,0
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/PackageFamilyNameFromId.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_PackageFamilyNameFromId,PackageFamilyNameFromId,0
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetStdHandle.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetStdHandle,GetStdHandle,0
.text.windows
GetStdHandle:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_GetStdHandle(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn GetStdHandle,globl
.previous
| 320 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/PowerClearRequest.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_PowerClearRequest,PowerClearRequest,1057
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetErrorMode.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetErrorMode,SetErrorMode,0
.text.windows
SetErrorMode:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_SetErrorMode(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn SetErrorMode,globl
.previous
| 320 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/AddIntegrityLabelToBoundaryDescriptor.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_AddIntegrityLabelToBoundaryDescriptor,AddIntegrityLabelToBoundaryDescriptor,10
| 128 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetProcessWorkingSetSize.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetProcessWorkingSetSize,SetProcessWorkingSetSize,1356
.text.windows
SetProcessWorkingSetSize:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_SetProcessWorkingSetSize(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn SetProcessWorkingSetSize,globl
.previous
| 365 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/QueryUmsThreadInformation.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_QueryUmsThreadInformation,QueryUmsThreadInformation,1106
| 106 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/WerRegisterFile.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_WerRegisterFile,WerRegisterFile,0
| 83 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/ReleaseMutex.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_ReleaseMutex,ReleaseMutex,0
.text.windows
ReleaseMutex:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_ReleaseMutex(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn ReleaseMutex,globl
.previous
| 320 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/TerminateProcess.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_TerminateProcess,TerminateProcess,0
.text.windows
__TerminateProcess:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_TerminateProcess(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn __TerminateProcess,globl
.previous
| 326 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/FreeConsole.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_FreeConsole,FreeConsole,0
.text.windows
FreeConsole:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
sub $32,%rsp
call *__imp_FreeConsole(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn FreeConsole,globl
.previous
| 300 | 19 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetProcessShutdownParameters.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetProcessShutdownParameters,SetProcessShutdownParameters,0
| 109 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/DebugSetProcessKillOnExit.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_DebugSetProcessKillOnExit,DebugSetProcessKillOnExit,264
| 105 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/CopyFileTransactedW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_CopyFileTransactedW,CopyFileTransactedW,172
| 93 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetConsoleNlsMode.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetConsoleNlsMode,GetConsoleNlsMode,514
| 89 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/CreateFiberEx.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_CreateFiberEx,CreateFiberEx,0
| 79 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/UnregisterWaitUntilOOBECompleted.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_UnregisterWaitUntilOOBECompleted,UnregisterWaitUntilOOBECompleted,1472
| 120 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/BasepFreeAppCompatData.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_BasepFreeAppCompatData,BasepFreeAppCompatData,86
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/CreateTimerQueueTimer.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_CreateTimerQueueTimer,CreateTimerQueueTimer,0
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetThreadIdealProcessor.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetThreadIdealProcessor,SetThreadIdealProcessor,0
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/EnterCriticalSection.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_EnterCriticalSection,EnterCriticalSection,0
.text.windows
EnterCriticalSection:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov %rdi,%rcx
sub $32,%rsp
call *__imp_EnterCriticalSection(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn EnterCriticalSection,globl
.previous
| 360 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/ApplicationRecoveryInProgress.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_ApplicationRecoveryInProgress,ApplicationRecoveryInProgress,35
| 112 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/WritePrivateProfileStringW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_WritePrivateProfileStringW,WritePrivateProfileStringW,1568
| 108 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/MoveFileW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_MoveFileW,MoveFileW,1000
.text.windows
MoveFile:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_MoveFileW(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn MoveFile,globl
.previous
| 288 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetFullPathNameW.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetFullPathNameW,GetFullPathNameW,0
.text.windows
GetFullPathName:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_GetFullPathNameW(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn GetFullPathName,globl
.previous
| 320 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetStagedPackagePathByFullName.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetStagedPackagePathByFullName,GetStagedPackagePathByFullName,0
| 113 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/HeapLock.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_HeapLock,HeapLock,0
| 69 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/DuplicateHandle.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_DuplicateHandle,DuplicateHandle,0
.text.windows
DuplicateHandle:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_DuplicateHandle(%rip),%rax
jmp __sysv2nt8
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn DuplicateHandle,globl
.previous
| 318 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/PssQuerySnapshot.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_PssQuerySnapshot,PssQuerySnapshot,0
| 85 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/BasepGetComputerNameFromNtPath.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_BasepGetComputerNameFromNtPath,BasepGetComputerNameFromNtPath,88
| 114 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/OpenProcess.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_OpenProcess,OpenProcess,0
.text.windows
__OpenProcess:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_OpenProcess(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn __OpenProcess,globl
.previous
| 301 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetThreadIOPendingFlag.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetThreadIOPendingFlag,GetThreadIOPendingFlag,0
.text.windows
GetThreadIOPendingFlag:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_GetThreadIOPendingFlag(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn GetThreadIOPendingFlag,globl
.previous
| 352 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/SetCommTimeouts.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_SetCommTimeouts,SetCommTimeouts,0
| 83 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/IsCalendarLeapYear.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_IsCalendarLeapYear,IsCalendarLeapYear,891
| 91 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetTimeFormatWWorker.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetTimeFormatWWorker,GetTimeFormatWWorker,785
| 95 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/AddDllDirectory.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_AddDllDirectory,AddDllDirectory,0
| 83 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetThreadSelectorEntry.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetThreadSelectorEntry,GetThreadSelectorEntry,776
| 99 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/GetLastError.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_GetLastError,GetLastError,0
.text.windows
GetLastError:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
sub $32,%rsp
call *__imp_GetLastError(%rip)
leave
#elif defined(__aarch64__)
mov x0,#0
#endif
ret
.endfn GetLastError,globl
.previous
| 305 | 19 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/CheckElevationEnabled.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_CheckElevationEnabled,CheckElevationEnabled,124
| 97 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/AssignProcessToJobObject.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_AssignProcessToJobObject,AssignProcessToJobObject,37
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/kernel32/PrepareTape.S | #include "libc/nt/codegen.h"
.imp kernel32,__imp_PrepareTape,PrepareTape,1061
| 78 | 3 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.