/bionic/tests/ |
pthread_dlfcn_test.cpp | 48 void* handle = dlopen("libtest_pthread_atfork.so", RTLD_NOW | RTLD_LOCAL); local 49 ASSERT_TRUE(handle != nullptr) << dlerror(); 51 fn_t fn = reinterpret_cast<fn_t>(dlsym(handle, "proxy_pthread_atfork")); 71 EXPECT_EQ(0, dlclose(handle));
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
test_aaudio_mmap.cpp | 85 void *handle; local 86 handle = dlopen("libaaudio.so", RTLD_NOW); 87 EXPECT_NE(nullptr, handle); 88 s_setMMapPolicy = (int (*)(int)) dlsym(handle, "AAudio_setMMapPolicy"); 90 s_getMMapPolicy = (int (*)()) dlsym(handle, "AAudio_getMMapPolicy");
|
/device/google/marlin/camera/QCamera2/HAL3/ |
QCamera3Mem.h | 86 ion_user_handle_t handle; member in struct:qcamera::QCamera3Memory::QCamera3MemInfo
|
/device/google/marlin/camera/mm-image-codec/qomx_core/ |
qomx_core.h | 61 * @handle: array of number of instances of the component 66 * @lib_handle: Library handle after dlopen 69 * OMX handle to its respective function implementation in 73 OMX_HANDLETYPE *handle[OMX_COMP_MAX_INSTANCES]; //Instance handle member in struct:_omx_core_component_t
|
/device/google/marlin/dataservices/rmnetctl/cli/ |
rmnetcli.c | 63 rmnetctl_cleanup(handle); \ 197 printf(_2TABS" <mdm_flow_hndl> handle - tc flow handle"); 201 printf(_2TABS" <mdm_flow_hndl> handle - tc flow handle"); 258 struct rmnetctl_hndl_s *handle = NULL; local 271 return_code = rmnetctl_init(&handle, &error_number); 279 return_code = rmnet_associate_network_device(handle, 282 return_code = rmnet_associate_network_device(handle, 286 return_code = rmnet_get_network_device_associated(handle, [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
cgitb.py | 271 self.handle((etype, evalue, etb))
273 def handle(self, info=None):
member in class:Hook 310 handler = Hook().handle
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/ |
simple_server.py | 113 def handle(self):
member in class:WSGIRequestHandler 114 """Handle a single HTTP request"""
|
/external/adhd/cras/src/tests/ |
hfp_slc_unittest.cc | 17 static struct hfp_slc_handle *handle; variable in typeref:struct:hfp_slc_handle 29 int slc_initialized_cb(struct hfp_slc_handle *handle); 30 int slc_disconnected_cb(struct hfp_slc_handle *handle); 45 handle = hfp_slc_create(0, 0, device, slc_initialized_cb, 48 ASSERT_EQ(handle, slc_cb_data); 50 hfp_slc_destroy(handle); 61 handle = hfp_slc_create(sock[0], 0, device, slc_initialized_cb, 108 hfp_slc_destroy(handle); 116 handle = hfp_slc_create(sock[0], 0, device, slc_initialized_cb, 127 hfp_slc_destroy(handle); [all...] |
/external/autotest/client/tests/aio_dio_bugs/src/ |
aio-dio-extend-stat.c | 48 int handle = 0; variable 70 handle = open(argv[1], O_CREAT | O_TRUNC | O_DIRECT | O_RDWR, 0600); 71 if (handle == -1) 87 iocbs[i]->aio_fildes = handle; 102 close(handle); 132 fstat(handle, &filestat);
|
/external/brotli/java/org/brotli/wrapper/enc/ |
encoder_jni.cc | 23 /* Obtain handle from opaque pointer. */ 47 EncoderHandle* handle = nullptr; local 52 handle = new (std::nothrow) EncoderHandle(); 53 ok = !!handle; 56 handle->input_offset = 0; 57 handle->input_last = 0; 58 handle->input_start = nullptr; 63 handle->input_start = new (std::nothrow) uint8_t[input_size]; 64 ok = !!handle->input_start; 69 handle->state = BrotliEncoderCreateInstance(nullptr, nullptr, nullptr) 115 EncoderHandle* handle = getHandle(reinterpret_cast<void*>(context[0])); local 166 EncoderHandle* handle = getHandle(reinterpret_cast<void*>(context[0])); local 187 EncoderHandle* handle = getHandle(reinterpret_cast<void*>(context[0])); local [all...] |
/external/capstone/arch/AArch64/ |
AArch64Mapping.c | 283 const char *AArch64_reg_name(csh handle, unsigned int reg) 14283 cs_struct handle; local [all...] |
/external/capstone/cstool/ |
cstool.c | 10 void print_insn_detail_arm(csh handle, cs_insn *ins); 11 void print_insn_detail_arm64(csh handle, cs_insn *ins); 12 void print_insn_detail_mips(csh handle, cs_insn *ins); 13 void print_insn_detail_ppc(csh handle, cs_insn *ins); 14 void print_insn_detail_sparc(csh handle, cs_insn *ins); 15 void print_insn_detail_sysz(csh handle, cs_insn *ins); 16 void print_insn_detail_xcore(csh handle, cs_insn *ins); 127 csh handle; local 185 err = cs_open(CS_ARCH_ARM, CS_MODE_ARM, &handle); 190 err = cs_open(CS_ARCH_ARM, CS_MODE_ARM | CS_MODE_BIG_ENDIAN, &handle); [all...] |
/external/capstone/suite/fuzz/ |
fuzz_harness.c | 136 csh handle; local 151 err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 157 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); 160 size_t count = cs_disasm(handle, buf_ptr, buf_ptr_size, address, 0, &all_insn); 172 i->id, cs_insn_name(handle, i->id)); 179 printf("%s ", cs_reg_name(handle, detail->regs_read[n])); 187 printf("%s ", cs_reg_name(handle, detail->regs_write[n])); 195 printf("%s ", cs_group_name(handle, detail->groups[n])); 209 cs_close(&handle);
|
/external/capstone/tests/ |
test_arm.c | 10 static csh handle; variable 53 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg)); 70 i, cs_reg_name(handle, op->mem.base)); 73 i, cs_reg_name(handle, op->mem.index)); 101 cs_reg_name(handle, op->shift.value)); 257 cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 263 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); 266 cs_option(handle, CS_OPT_SYNTAX, platforms[i].syntax); 268 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); 293 cs_close(&handle); [all...] |
test_arm64.c | 10 static csh handle; variable 51 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg)); 67 printf("\t\t\toperands[%u].mem.base: REG = %s\n", i, cs_reg_name(handle, op->mem.base)); 69 printf("\t\t\toperands[%u].mem.index: REG = %s\n", i, cs_reg_name(handle, op->mem.index)); 145 //#define ARM64_CODE "\x20\x74\x0b\xd5" // dc zva, x0: FIXME: handle as "sys" insn 201 cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 207 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); 209 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); 235 cs_close(&handle);
|
test_mips.c | 18 static csh handle; variable 51 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg)); 60 i, cs_reg_name(handle, op->mem.base)); 123 cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 129 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); 131 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); 157 cs_close(&handle);
|
test_ppc.c | 17 static csh handle; variable 79 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg)); 88 i, cs_reg_name(handle, op->mem.base)); 96 printf("\t\t\toperands[%u].crx.reg: %s\n", i, cs_reg_name(handle, op->crx.reg)); 134 cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 140 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); 142 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); 168 cs_close(&handle);
|
test_skipdata.c | 93 csh handle; local 103 err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 110 cs_option(handle, platforms[i].opt_type, platforms[i].opt_value); 113 cs_option(handle, CS_OPT_SKIPDATA, CS_OPT_ON); 114 cs_option(handle, platforms[i].opt_skipdata, platforms[i].skipdata); 116 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); 142 cs_close(&handle);
|
test_sparc.c | 17 static csh handle; variable 50 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg)); 59 i, cs_reg_name(handle, op->mem.base)); 62 i, cs_reg_name(handle, op->mem.index)); 108 cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 114 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); 116 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); 142 cs_close(&handle);
|
test_systemz.c | 17 static csh handle; variable 50 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg)); 62 i, cs_reg_name(handle, op->mem.base)); 65 i, cs_reg_name(handle, op->mem.index)); 101 cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 107 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); 109 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); 135 cs_close(&handle);
|
test_x86.c | 10 static csh handle; variable 59 printf("\t\tsib_base: %s\n", cs_reg_name(handle, x86->sib_base)); 61 printf("\t\tsib_index: %s\n", cs_reg_name(handle, x86->sib_index)); 102 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg)); 110 printf("\t\t\toperands[%u].mem.segment: REG = %s\n", i, cs_reg_name(handle, op->mem.segment)); 112 printf("\t\t\toperands[%u].mem.base: REG = %s\n", i, cs_reg_name(handle, op->mem.base)); 114 printf("\t\t\toperands[%u].mem.index: REG = %s\n", i, cs_reg_name(handle, op->mem.index)); 205 cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 212 cs_option(handle, platforms[i].opt_type, platforms[i].opt_value); 214 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON) [all...] |
test_xcore.c | 17 static csh handle; variable 50 printf("\t\toperands[%u].type: REG = %s\n", i, cs_reg_name(handle, op->reg)); 59 i, cs_reg_name(handle, op->mem.base)); 62 i, cs_reg_name(handle, op->mem.index)); 96 cs_err err = cs_open(platforms[i].arch, platforms[i].mode, &handle); 102 cs_option(handle, CS_OPT_DETAIL, CS_OPT_ON); 104 count = cs_disasm(handle, platforms[i].code, platforms[i].size, address, 0, &insn); 130 cs_close(&handle);
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
libmemtrack_wrapper.cc | 41 bool ImportLibmemtrackSymbols(void* handle) { 42 Import(&memtrack_init, handle, "memtrack_init"); 43 Import(&memtrack_proc_new, handle, "memtrack_proc_new"); 44 Import(&memtrack_proc_destroy, handle, "memtrack_proc_destroy"); 45 Import(&memtrack_proc_get, handle, "memtrack_proc_get"); 46 Import(&memtrack_proc_graphics_total, handle, "memtrack_proc_graphics_total"); 47 Import(&memtrack_proc_graphics_pss, handle, "memtrack_proc_graphics_pss"); 48 Import(&memtrack_proc_gl_total, handle, "memtrack_proc_gl_total"); 49 Import(&memtrack_proc_gl_pss, handle, "memtrack_proc_gl_pss"); 50 Import(&memtrack_proc_other_total, handle, "memtrack_proc_other_total") 72 void *handle = dlopen("libmemtrack.so", RTLD_GLOBAL | RTLD_NOW); local [all...] |
/external/drm_gralloc/ |
gralloc.cpp | 82 buffer_handle_t handle) 91 return gralloc_drm_handle_register(handle, dmod->drm); 95 buffer_handle_t handle) 97 return gralloc_drm_handle_unregister(handle); 100 static int drm_mod_lock(const gralloc_module_t *mod, buffer_handle_t handle, 106 bo = gralloc_drm_bo_from_handle(handle); 116 struct gralloc_drm_handle_t *handle; local 124 handle = bo->handle; 126 switch(handle->format) [all...] |
gralloc_drm_handle.h | 68 struct gralloc_drm_handle_t *handle = local 71 if (handle && (handle->base.version != sizeof(handle->base) || 72 handle->base.numInts != GRALLOC_DRM_HANDLE_NUM_INTS || 73 handle->base.numFds != GRALLOC_DRM_HANDLE_NUM_FDS || 74 handle->magic != GRALLOC_DRM_HANDLE_MAGIC)) { 75 ALOGE("invalid handle: version=%d, numInts=%d, numFds=%d, magic=%x", 76 handle->base.version, handle->base.numInts [all...] |