/external/selinux/libsepol/src/ |
ibendport_record.c | 32 int sepol_ibendport_alloc_ibdev_name(sepol_handle_t *handle, 46 ERR(handle, "out of memory"); 47 ERR(handle, "could not allocate string buffer for ibdev_name"); 52 int sepol_ibendport_key_create(sepol_handle_t *handle, 61 ERR(handle, "out of memory, could not create ibendport key"); 65 if (sepol_ibendport_alloc_ibdev_name(handle, &tmp_key->ibdev_name) < 0) 75 ERR(handle, "out of memory"); 79 ERR(handle, "could not create ibendport key for IB device %s, port %u", 95 int sepol_ibendport_key_extract(sepol_handle_t *handle, 100 (handle, ibendport->ibdev_name, ibendport->port, key_ptr) < 0) [all...] |
/external/syslinux/gpxe/src/image/ |
efi_image.c | 38 EFI_HANDLE handle; local 46 image->len, &handle ) ) != 0 ) { 54 if ( ( efirc = bs->StartImage ( handle, &exit_data_size, 65 bs->UnloadImage ( handle ); 78 EFI_HANDLE handle; local 84 image->len, &handle ) ) != 0 ) { 98 bs->UnloadImage ( handle );
|
/frameworks/base/libs/androidfw/tests/ |
TestHelpers.cpp | 30 ::ZipArchiveHandle handle; local 31 int32_t result = OpenArchive(zip_path.c_str(), &handle); 39 result = ::FindEntry(handle, name, &entry); 41 ::CloseArchive(handle); 48 handle, &entry, const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(out_contents->data())), 51 ::CloseArchive(handle); 56 ::CloseArchive(handle);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
GrallocBufferBase.cpp | 25 GrallocBufferBase::GrallocBufferBase(uint32_t handle) 26 : GraphicBuffer(handle) 28 ALOGTRACE("handle = %#x", handle); 29 initBuffer(handle); 32 void GrallocBufferBase::resetBuffer(uint32_t handle) 34 GraphicBuffer::resetBuffer(handle); 35 initBuffer(handle); 38 void GrallocBufferBase::initBuffer(uint32_t /* handle */)
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
VoicemailChannelUtils.java | 60 for (PhoneAccountHandle handle : getAllEligableAccounts(context)) { 61 result.add(getChannelIdForAccount(handle)); 75 for (PhoneAccountHandle handle : getAllEligableAccounts(context)) { 76 createVoicemailChannelForAccount(context, handle); 82 static String getChannelId(@NonNull Context context, @Nullable PhoneAccountHandle handle) { 94 if (handle == null) { 102 if (!isChannelAllowedForAccount(context, handle)) { 110 String channelId = getChannelIdForAccount(handle); 115 createVoicemailChannelForAccount(context, handle); 125 private static String getChannelIdForAccount(@NonNull PhoneAccountHandle handle) { 150 PhoneAccountHandle handle = local [all...] |
/system/bt/bta/include/ |
bta_gatt_queue.h | 38 static void ReadCharacteristic(uint16_t conn_id, uint16_t handle, 40 static void ReadDescriptor(uint16_t conn_id, uint16_t handle, 42 static void WriteCharacteristic(uint16_t conn_id, uint16_t handle, 46 static void WriteDescriptor(uint16_t conn_id, uint16_t handle, 54 uint16_t handle; member in struct:BtaGattQueue::gatt_operation 69 uint16_t handle, uint16_t len, 72 uint16_t handle, void* data);
|
/external/curl/docs/examples/ |
fopen.c | 68 enum fcurl_type_e type; /* type of handle */ 72 } handle; /* handle */ member in struct:fcurl_data 246 file->handle.file = fopen(url, operation); 247 if(file->handle.file) 252 file->handle.curl = curl_easy_init(); 254 curl_easy_setopt(file->handle.curl, CURLOPT_URL, url); 255 curl_easy_setopt(file->handle.curl, CURLOPT_WRITEDATA, file); 256 curl_easy_setopt(file->handle.curl, CURLOPT_VERBOSE, 0L); 257 curl_easy_setopt(file->handle.curl, CURLOPT_WRITEFUNCTION, write_callback) 459 URL_FILE *handle; local [all...] |
/external/libchrome/base/memory/ |
shared_memory_handle.h | 29 // the underlying OS handle to a shared memory segment. 37 SharedMemoryHandle(HANDLE h, base::ProcessId pid); 41 SharedMemoryHandle(const SharedMemoryHandle& handle); 45 SharedMemoryHandle& operator=(const SharedMemoryHandle& handle); 48 bool operator==(const SharedMemoryHandle& handle) const; 49 bool operator!=(const SharedMemoryHandle& handle) const; 67 HANDLE GetHandle() const; 71 HANDLE handle_; 118 SharedMemoryHandle(const SharedMemoryHandle& handle); 122 SharedMemoryHandle& operator=(const SharedMemoryHandle& handle); [all...] |
/external/libdrm/radeon/ |
radeon_bo_gem.c | 64 uint32_t handle, 79 bo->base.handle = 0; 87 if (handle) { 91 open_arg.name = handle; 97 bo->base.handle = open_arg.handle; 99 bo->name = handle; 107 args.handle = 0; 110 bo->base.handle = args.handle; 378 uint32_t handle; local [all...] |
/external/tensorflow/tensorflow/core/common_runtime/ |
session_state.cc | 23 Status SessionState::GetTensor(const string& handle, Tensor* tensor) { 25 auto it = tensors_.find(handle); 27 return errors::InvalidArgument("The tensor with handle '", handle, 34 Status SessionState::AddTensor(const string& handle, const Tensor& tensor) { 36 if (!tensors_.insert({handle, tensor}).second) { 37 return errors::InvalidArgument("Failed to add a tensor with handle '", 38 handle, "' to the session store."); 43 Status SessionState::DeleteTensor(const string& handle) { 45 if (tensors_.erase(handle) == 0) [all...] |
/external/vulkan-validation-layers/loader/ |
dirent_on_windows.c | 25 handle_type handle; /* -1 for failed rewind */ member in struct:DIR 43 if ((dir->handle = (handle_type)_findfirst(dir->name, &dir->info)) != -1) { 68 if (dir->handle != -1) { 69 result = _findclose(dir->handle); 87 if (dir && dir->handle != -1) { 88 if (!dir->result.d_name || _findnext(dir->handle, &dir->info) != -1) { 100 if (dir && dir->handle != -1) { 101 _findclose(dir->handle); 102 dir->handle = (handle_type)_findfirst(dir->name, &dir->info);
|
/frameworks/native/libs/ui/include/ui/ |
GraphicBufferMapper.h | 57 status_t freeBuffer(buffer_handle_t handle); 59 void getTransportSize(buffer_handle_t handle, 62 status_t lock(buffer_handle_t handle, 65 status_t lockYCbCr(buffer_handle_t handle, 68 status_t unlock(buffer_handle_t handle); 70 status_t lockAsync(buffer_handle_t handle, 73 status_t lockAsync(buffer_handle_t handle, 77 status_t lockAsyncYCbCr(buffer_handle_t handle, 81 status_t unlockAsync(buffer_handle_t handle, int *fenceFd);
|
/hardware/qcom/msm8x27/original-kernel-headers/linux/ |
ion.h | 146 * an opaque handle to it. 153 * ion_free - free a handle 155 * @handle: the handle to free 157 * Free the provided handle. 159 void ion_free(struct ion_client *client, struct ion_handle *handle); 162 * ion_phys - returns the physical address and len of a handle 164 * @handle: the handle 168 * This function queries the heap for a particular handle to get th 252 ion_user_handle_t handle; member in struct:ion_allocation_data 266 ion_user_handle_t handle; member in struct:ion_fd_data 275 ion_user_handle_t handle; member in struct:ion_handle_data [all...] |
/system/bt/stack/include/ |
avdtc_api.h | 72 typedef void tAVDTC_CTRL_CBACK(uint8_t handle, const RawAddress& bd_addr, 133 extern void AVDTC_GetConfigReq(uint8_t handle); 144 extern void AVDTC_GetConfigRsp(uint8_t handle, uint8_t label, 156 extern void AVDTC_OpenReq(uint8_t handle); 167 extern void AVDTC_OpenRsp(uint8_t handle, uint8_t label); 190 extern void AVDTC_CloseRsp(uint8_t handle, uint8_t label); 213 extern void AVDTC_AbortReq(uint8_t handle); 224 extern void AVDTC_AbortRsp(uint8_t handle, uint8_t label); 235 extern void AVDTC_Rej(uint8_t handle, const RawAddress& bd_addr, uint8_t cmd,
|
/system/libhidl/transport/allocator/1.0/default/ |
AshmemAllocator.cpp | 37 native_handle_t* handle = native_handle_create(1, 0); local 38 handle->data[0] = fd; 39 LOG(WARNING) << "ashmem_create_region(" << size << ") returning hidl_memory(" << handle 41 return hidl_memory("ashmem", handle, size); 45 if (memory.handle() == nullptr) { 49 native_handle_close(const_cast<native_handle_t *>(memory.handle())); 50 native_handle_delete(const_cast<native_handle_t *>(memory.handle())); 55 _hidl_cb(memory.handle() != nullptr /* success */, memory); 75 if (batch[allocated].handle() == nullptr) { 81 // batch[i].handle() != nullptr for i in [0, allocated - 1] [all...] |
/bionic/libdl/ |
libdl_static.c | 31 void* dlsym(void* handle __unused, const char* symbol __unused) { 35 void* dlvsym(void* handle __unused, 45 int dlclose(void* handle __unused) {
|
/external/capstone/arch/AArch64/ |
AArch64Mapping.h | 10 const char *AArch64_reg_name(csh handle, unsigned int reg); 15 const char *AArch64_insn_name(csh handle, unsigned int id); 17 const char *AArch64_group_name(csh handle, unsigned int id);
|
/external/compiler-rt/test/lsan/TestCases/ |
use_tls_dynamic.cc | 19 void *handle = dlopen(path.c_str(), RTLD_LAZY); local 20 assert(handle != 0); 22 store_t StoreToTLS = (store_t)dlsym(handle, "StoreToTLS");
|
/external/deqp/framework/delibs/dethread/win32/ |
deThreadLocalWin32.c | 36 DWORD handle = TlsAlloc(); local 37 if (handle == TLS_OUT_OF_INDEXES) 39 return (deThreadLocal)handle;
|
/external/libdrm/freedreno/ |
freedreno_bo.c | 43 /* add ourself into the handle table: */ 63 uint32_t size, uint32_t handle) 67 bo = dev->funcs->bo_from_handle(dev, size, handle); 70 .handle = handle, 77 bo->handle = handle; 80 /* add ourself into the handle table: */ 81 drmHashInsert(dev->handle_table, handle, bo); 89 uint32_t handle; local 131 uint32_t handle; local [all...] |
/external/libdrm/freedreno/msm/ |
msm_bo.c | 40 .handle = bo->handle, 74 .handle = bo->handle, 86 .handle = bo->handle, 95 .handle = bo->handle, 126 /* allocate a buffer handle: */ 128 uint32_t size, uint32_t flags, uint32_t *handle) [all...] |
/external/libmojo/mojo/edk/test/ |
test_utils.h | 23 bool BlockingWrite(const PlatformHandle& handle, 30 bool BlockingRead(const PlatformHandle& handle, 38 // |handle| must already be in non-blocking mode. 39 bool NonBlockingRead(const PlatformHandle& handle,
|
/external/selinux/libsemanage/src/ |
database_activedb.c | 16 #include "handle.h" 32 static int dbase_activedb_cache(semanage_handle_t * handle, 44 if (!dbase_llist_needs_resync(handle, &dbase->llist)) 49 if (dbase_llist_set_serial(handle, &dbase->llist) < 0) 53 if (ratable->read_list(handle, &records, &rcount) < 0) 58 if (dbase_llist_cache_prepend(handle, &dbase->llist, records[i]) 68 ERR(handle, "could not cache active database"); 76 static int dbase_activedb_flush(semanage_handle_t * handle, 92 if (dbase_llist_list(handle, &dbase->llist, &records, &rcount) < 0) 96 if (ratable->commit_list(handle, records, rcount) < 0 [all...] |
database_join.h | 7 #include "handle.h" 23 int (*join) (semanage_handle_t * handle, 28 int (*split) (semanage_handle_t * handle, 35 extern int dbase_join_init(semanage_handle_t * handle,
|
users_join.c | 19 #include <semanage/handle.h> 30 int user_join_dbase_init(semanage_handle_t * handle, 35 if (dbase_join_init(handle,
|