HomeSort by: relevance | last modified time | path
    Searched refs:Handle (Results 1 - 25 of 185) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/sys/external/bsd/acpica/dist/compiler/
aslascii.c 56 FILE *Handle,
61 FILE *Handle,
75 * within comments. Note: does not handle nested comments and does
76 * not handle comment delimiters within string literals. However,
92 FILE *Handle;
97 Handle = fopen (Filename, "rb");
98 if (!Handle)
109 while (fread (&Byte, 1, 1, Handle) == 1)
119 FlConsumeAnsiComment (Handle, &Status);
124 FlConsumeNewComment (Handle, &Status)
    [all...]
aslfileio.c 103 AslGbl_Files[FileId].Handle = NULL;
112 AslGbl_Files[FileId].Handle = File;
136 FileSize = CmGetFileSize (AslGbl_Files[FileId].Handle);
172 Actual = fread (Buffer, 1, Length, AslGbl_Files[FileId].Handle);
175 if (feof (AslGbl_Files[FileId].Handle))
216 Actual = fwrite ((char *) Buffer, 1, Length, AslGbl_Files[FileId].Handle);
228 AslGbl_Files[ASL_FILE_PREPROCESSOR_USER].Handle);
264 Actual = vfprintf (AslGbl_Files[FileId].Handle, Format, Args);
286 Actual = vfprintf (AslGbl_Files[ASL_FILE_PREPROCESSOR_USER].Handle,
321 Error = fseek (AslGbl_Files[FileId].Handle, Offset, SEEK_SET)
    [all...]
aslstartup.c 133 * PARAMETERS: Info - Name/Handle for the file (must be open)
160 while (fgets (AslGbl_CurrentLineBuffer, AslGbl_LineBufferSize, Info->Handle))
192 fclose (Info->Handle);
193 Info->Handle = fopen (Info->Filename, "rb");
194 if (!Info->Handle)
200 Status = AcValidateTableHeader (Info->Handle, 0);
222 fseek (Info->Handle, 0, SEEK_SET);
  /src/external/apache2/llvm/dist/llvm/lib/Support/
DynamicLibrary.cpp 36 static void DLClose(void *Handle);
37 static void *DLSym(void *Handle, const char *Symbol);
42 HandleList::iterator Find(void *Handle) { return find(Handles, Handle); }
44 bool Contains(void *Handle) {
45 return Handle == Process || Find(Handle) != Handles.end();
48 bool AddLibrary(void *Handle, bool IsProcess = false, bool CanClose = true) {
50 assert((Handle == this ? IsProcess : !IsProcess) && "Bad Handle.")
    [all...]
  /src/sys/external/bsd/acpica/dist/utilities/
utxfmutex.c 57 ACPI_HANDLE Handle,
66 * PARAMETERS: Handle - Mutex or prefix handle (optional)
73 * Handle:Pathname. Either Handle or Pathname can be NULL, but
80 ACPI_HANDLE Handle,
91 if (!RetObj || (!Handle && !Pathname))
98 MutexNode = Handle;
102 Handle, Pathname, ACPI_CAST_PTR (ACPI_HANDLE, &MutexNode));
134 * PARAMETERS: Handle - Mutex or prefix handle (optional
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/Unix/
DynamicLibrary.inc 18 for (void *Handle : llvm::reverse(Handles))
19 ::dlclose(Handle);
28 void *Handle = ::dlopen(File, RTLD_LAZY|RTLD_GLOBAL);
29 if (!Handle) {
36 // with the handle of dlopen(NULL, RTLD_GLOBAL).
38 Handle = RTLD_DEFAULT;
41 return Handle;
44 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
45 ::dlclose(Handle);
48 void *DynamicLibrary::HandleSet::DLSym(void *Handle, const char *Symbol)
    [all...]
  /src/sys/external/bsd/acpica/dist/tools/acpiexec/
aehandlers.c 570 ACPI_HANDLE Handle;
573 Status = AcpiGetHandle (NULL, "\\_TZ.TZ1", &Handle);
576 Status = AcpiInstallNotifyHandler (Handle, ACPI_ALL_NOTIFY,
580 Status = AcpiInstallNotifyHandler (Handle, ACPI_ALL_NOTIFY,
584 Status = AcpiRemoveNotifyHandler (Handle, ACPI_ALL_NOTIFY,
588 Status = AcpiRemoveNotifyHandler (Handle, ACPI_ALL_NOTIFY,
592 Status = AcpiInstallNotifyHandler (Handle, ACPI_ALL_NOTIFY,
596 Status = AcpiInstallNotifyHandler (Handle, ACPI_ALL_NOTIFY,
601 Status = AcpiGetHandle (NULL, "\\_PR.CPU0", &Handle);
604 Status = AcpiInstallNotifyHandler (Handle, ACPI_ALL_NOTIFY
    [all...]
aeexec.c 105 ACPI_HANDLE Handle;
113 Status = AcpiGetHandle (NULL, "\\_GPE", &Handle);
126 Status = AcpiGetHandle (NULL, "\\GPE2", &Handle);
129 Status = AcpiGetType (Handle, &Type);
136 Status = AcpiInstallGpeBlock (Handle, &BlockAddress, 7, 8);
139 Status = AcpiInstallGpeHandler (Handle, 8,
143 Status = AcpiEnableGpe (Handle, 8);
158 Status = AcpiRemoveGpeHandler (Handle, 8, AeGpeHandler);
164 Status = AcpiGetHandle (NULL, "\\GPE3", &Handle);
167 Status = AcpiGetType (Handle, &Type)
    [all...]
  /src/sys/dev/acpi/acpica/
OsdSynch.c 144 AcpiOsDeleteSemaphore(ACPI_HANDLE Handle)
146 struct acpi_semaphore *as = (void *) Handle;
166 AcpiOsWaitSemaphore(ACPI_SEMAPHORE Handle, UINT32 Units, UINT16 Timeout)
168 struct acpi_semaphore *as = (void *) Handle;
227 AcpiOsSignalSemaphore(ACPI_HANDLE Handle, UINT32 Units)
229 struct acpi_semaphore *as = (void *) Handle;
282 AcpiOsDeleteLock(ACPI_SPINLOCK Handle)
284 struct acpi_lock *al = (void *) Handle;
303 AcpiOsAcquireLock(ACPI_SPINLOCK Handle)
305 struct acpi_lock *al = (void *) Handle;
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/Windows/
WindowsSupport.h 80 handle_type Handle;
86 : Handle(HandleTraits::GetInvalid()) {}
89 : Handle(h) {}
92 if (HandleTraits::IsValid(Handle))
93 HandleTraits::Close(Handle);
97 handle_type t = Handle;
98 Handle = HandleTraits::GetInvalid();
103 if (HandleTraits::IsValid(Handle))
104 HandleTraits::Close(Handle);
105 Handle = h
    [all...]
  /src/sys/external/bsd/acpica/dist/namespace/
nsxfobj.c 59 * PARAMETERS: Handle - Handle of object whose type is desired
65 * handle
71 ACPI_HANDLE Handle,
87 if (Handle == ACPI_ROOT_OBJECT)
99 /* Convert and validate the handle */
101 Node = AcpiNsValidateHandle (Handle);
121 * PARAMETERS: Handle - Handle of object whose parent is desired
122 * RetHandle - Where the parent handle will be place
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm-c/
BitWriter.h 44 descriptor. Returns 0 on success. Closes the Handle. */
45 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
TPCDynamicLibrarySearchGenerator.cpp 18 auto Handle = TPC.loadDylib(LibraryPath);
19 if (!Handle)
20 return Handle.takeError();
22 return std::make_unique<TPCDynamicLibrarySearchGenerator>(TPC, *Handle,
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_chained_origin_depot.cc 88 struct Handle {
90 Handle() : node_(nullptr) {}
91 explicit Handle(ChainedOriginDepotNode *node) : node_(node) {}
98 Handle get_handle() { return Handle(this); }
100 typedef Handle handle_type;
112 ChainedOriginDepotNode::Handle h = chainedOriginDepot.Put(desc, &inserted);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_addrhashmap.h 31 // Map::Handle h(&m, addr);
38 // Map::Handle h(&m, addr, true);
39 // this will remove the data from the map in Handle dtor
68 class Handle {
70 Handle(AddrHashMap<T, kSize> *map, uptr addr);
71 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove);
72 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove, bool create);
74 ~Handle();
94 friend class Handle;
97 void acquire(Handle *h)
    [all...]
  /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
sanitizer_addrhashmap.h 30 // Map::Handle h(&m, addr);
37 // Map::Handle h(&m, addr, true);
38 // this will remove the data from the map in Handle dtor
43 // Map::Handle h(&m, addr, false, true);
44 // this will create a new element or return a handle to an existing element
72 class Handle {
74 Handle(AddrHashMap<T, kSize> *map, uptr addr);
75 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove);
76 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove, bool create);
78 ~Handle();
    [all...]
sanitizer_chained_origin_depot.cpp 44 struct Handle {
47 Handle(const ChainedOriginDepotNode *node, u32 id) : node_(node), id_(id) {}
54 static Handle get_handle(u32 id);
56 typedef Handle handle_type;
119 ChainedOriginDepotNode::Handle ChainedOriginDepotNode::get_handle(u32 id) {
120 return Handle(&depot.nodes[id], id);
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_addrhashmap.h 30 // Map::Handle h(&m, addr);
37 // Map::Handle h(&m, addr, true);
38 // this will remove the data from the map in Handle dtor
43 // Map::Handle h(&m, addr, false, true);
44 // this will create a new element or return a handle to an existing element
72 class Handle {
74 Handle(AddrHashMap<T, kSize> *map, uptr addr);
75 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove);
76 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove, bool create);
78 ~Handle();
    [all...]
  /src/sys/external/bsd/gnu-efi/dist/lib/
hand.c 41 DEBUG((D_INFO, "LibLocateProtocol: Handle not found\n"));
441 IN OUT EFI_HANDLE *Handle,
458 OldHandle = *Handle;
466 va_start (args, Handle);
486 Status = uefi_call_wrapper(BS->InstallProtocolInterface, 4, Handle, Protocol, EFI_NATIVE_INTERFACE, Interface);
503 va_start (args, Handle);
508 uefi_call_wrapper(BS->UninstallProtocolInterface, 3, *Handle, Protocol, Interface);
514 *Handle = OldHandle;
529 IN EFI_HANDLE Handle,
539 va_start (args, Handle);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/Windows/
DynamicLibrary.inc 26 for (void *Handle : llvm::reverse(Handles))
27 FreeLibrary(HMODULE(Handle));
30 assert((!Process || Process==this) && "Bad Handle");
36 // Create the instance and return it to be the *Process* handle
48 HMODULE Handle = LoadLibraryW(FileUnicode.data());
49 if (Handle == NULL) {
54 return reinterpret_cast<void*>(Handle);
57 static DynamicLibrary::HandleSet *IsOpenedHandlesInstance(void *Handle) {
61 return Handle == &Inst ? &Inst : nullptr;
64 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
    [all...]
  /src/sys/external/bsd/acpica/dist/os_specific/service_layers/
oswinxf.c 408 * PARAMETERS: Destination - An open file handle/pointer
730 ACPI_HANDLE Handle)
737 ACPI_HANDLE Handle,
746 ACPI_HANDLE Handle,
759 * OutHandle - Where a handle will be returned
825 "Handle=%u, Max=%u, Current=%u, OsHandle=%p\n",
837 * PARAMETERS: Handle - Handle returned by AcpiOsCreateSemaphore
847 ACPI_SEMAPHORE Handle)
849 UINT32 Index = (UINT32) Handle;
    [all...]
oswintbl.c 319 HKEY Handle = NULL;
330 /* Get a handle to the table key */
363 0L, KEY_READ, &Handle);
409 WinStatus = RegEnumKey(Handle, i, KeyBuffer, sizeof(KeyBuffer));
416 WinStatus = RegOpenKey(Handle, KeyBuffer, &SubKey);
425 RegCloseKey(Handle);
426 Handle = SubKey;
435 WinStatus = RegEnumValue(Handle, i, KeyBuffer, &NameSize, NULL,
453 WinStatus = RegQueryValueEx(Handle, KeyBuffer, NULL, NULL,
474 WinStatus = RegQueryValueEx(Handle, KeyBuffer, NULL, NULL
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/KillTheDoctor/
KillTheDoctor.cpp 81 handle_type Handle;
85 : Handle(HandleType::GetInvalidHandle()) {}
87 explicit ScopedHandle(handle_type handle)
88 : Handle(handle) {}
91 HandleType::Destruct(Handle);
94 ScopedHandle& operator=(handle_type handle) {
95 // Cleanup current handle.
96 if (!HandleType::isValid(Handle))
97 HandleType::Destruct(Handle);
    [all...]
  /src/sys/external/bsd/acpica/dist/include/
acevents.h 319 ACPI_HANDLE Handle,
326 ACPI_HANDLE Handle,
333 ACPI_HANDLE Handle,
340 ACPI_HANDLE Handle,
347 ACPI_HANDLE Handle,
354 ACPI_HANDLE Handle,
361 ACPI_HANDLE Handle,
  /src/sys/external/bsd/acpica/dist/events/
evrgnini.c 58 * PARAMETERS: Handle - Region we are interested in
71 ACPI_HANDLE Handle,
76 ACPI_OPERAND_OBJECT *RegionDesc = (ACPI_OPERAND_OBJECT *) Handle;
127 * PARAMETERS: Handle - Region we are interested in
140 ACPI_HANDLE Handle,
165 * PARAMETERS: Handle - Region we are interested in
180 ACPI_HANDLE Handle,
192 ACPI_OPERAND_OBJECT *RegionObj = (ACPI_OPERAND_OBJECT *) Handle;
227 * This is the device the handler has been registered to handle.
436 * PARAMETERS: Handle - Region we are interested i
    [all...]

Completed in 53 milliseconds

1 2 3 4 5 6 7 8