/system/core/include/cutils/ |
D | atomic-arm.h | 52 extern inline int32_t android_atomic_acquire_load(volatile const int32_t *ptr) in android_atomic_acquire_load() argument 54 int32_t value = *ptr; in android_atomic_acquire_load() 59 extern inline int32_t android_atomic_release_load(volatile const int32_t *ptr) in android_atomic_release_load() argument 62 return *ptr; in android_atomic_release_load() 66 volatile int32_t *ptr) in android_atomic_acquire_store() argument 68 *ptr = value; in android_atomic_acquire_store() 73 volatile int32_t *ptr) in android_atomic_release_store() argument 76 *ptr = value; in android_atomic_release_store() 81 volatile int32_t *ptr); 84 volatile int32_t *ptr) in android_atomic_cas() argument [all …]
|
D | atomic-x86.h | 39 extern inline int32_t android_atomic_acquire_load(volatile const int32_t *ptr) in android_atomic_acquire_load() argument 41 int32_t value = *ptr; in android_atomic_acquire_load() 46 extern inline int32_t android_atomic_release_load(volatile const int32_t *ptr) in android_atomic_release_load() argument 49 return *ptr; in android_atomic_release_load() 53 volatile int32_t *ptr) in android_atomic_acquire_store() argument 55 *ptr = value; in android_atomic_acquire_store() 60 volatile int32_t *ptr) in android_atomic_release_store() argument 63 *ptr = value; in android_atomic_release_store() 67 volatile int32_t *ptr) in android_atomic_cas() argument 72 : "q" (new_value), "m" (*ptr), "0" (old_value) in android_atomic_cas() [all …]
|
/system/core/toolbox/ |
D | ps.c | 40 char *ptr, *name, *state; in ps_line() local 74 ptr = statline; in ps_line() 75 nexttok(&ptr); // skip pid in ps_line() 76 ptr++; // skip "(" in ps_line() 78 name = ptr; in ps_line() 79 ptr = strrchr(ptr, ')'); // Skip to *last* occurence of ')', in ps_line() 80 *ptr++ = '\0'; // and null-terminate name. in ps_line() 82 ptr++; // skip " " in ps_line() 83 state = nexttok(&ptr); in ps_line() 84 ppid = atoi(nexttok(&ptr)); in ps_line() [all …]
|
D | insmod.c | 73 char *ptr = opts; in insmod_main() local 75 for (i = 2; (i < argc) && (ptr < end); i++) { in insmod_main() 76 len = min(strlen(argv[i]), end - ptr); in insmod_main() 77 memcpy(ptr, argv[i], len); in insmod_main() 78 ptr += len; in insmod_main() 79 *ptr++ = ' '; in insmod_main() 80 *ptr++ = '\0'; in insmod_main() 82 *(ptr - 1) = '\0'; in insmod_main()
|
D | nandread.c | 147 oobbuf.ptr = (uint8_t *)oob_data + spare_size; in nandread_main() 231 if (oob_fixed + len > oobbuf.ptr) in nandread_main() 232 len = oobbuf.ptr - oob_fixed; in nandread_main() 234 memcpy(oob_fixed, oobbuf.ptr + ecclayout.oobfree[i].offset, len); in nandread_main()
|
/system/extras/tests/framebuffer/ |
D | mdp_test.c | 142 char *ptr; in parse_geometry() local 146 if (!(ptr = strchr(geom, 'x'))) in parse_geometry() 148 *ptr = '\0'; in parse_geometry() 150 geom = ptr + 1; in parse_geometry() 152 ptr = strchr(geom, '+'); in parse_geometry() 153 if (ptr) in parse_geometry() 154 *ptr = '\0'; in parse_geometry() 156 if (!ptr) in parse_geometry() 159 geom = ptr + 1; in parse_geometry() 161 if (!x || !y || !(ptr = strchr(geom, '+'))) in parse_geometry() [all …]
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
D | bluetooth.h | 54 #define bt_get_unaligned(ptr) ({ struct __attribute__((packed)) { typeof(*(ptr)) __v; } *__p… argument 55 #define bt_put_unaligned(val, ptr) do { struct __attribute__((packed)) { typeof(*(ptr)) __v; … argument
|
/system/wlan/ti/wilink_6_1/utils/ |
D | mem.c | 152 void *ptr; in mem_Calloc() local 161 ptr = mem_Alloc (hMem, total); in mem_Calloc() 163 if (ptr != NULL) in mem_Calloc() 165 os_memorySet (pMemMng->hOs, ptr, 0, total); in mem_Calloc() 168 return ptr; in mem_Calloc() 191 void mem_Free (TI_HANDLE hMem, void* ptr, TI_UINT32 size) in mem_Free() argument 194 TMemBlock *pMemBlock = (TMemBlock *)((TI_UINT8 *)ptr - sizeof(TMemBlock)); in mem_Free() 197 os_printf ("os_memoryFree(%p, %u)\n", ptr, size); in mem_Free()
|
/system/core/fastboot/ |
D | usb_linux.c | 92 static int filter_usb_device(int fd, char *ptr, int len, int writable, in filter_usb_device() argument 106 if(check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE)) in filter_usb_device() 108 dev = (void*) ptr; in filter_usb_device() 110 ptr += dev->bLength; in filter_usb_device() 112 if(check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE)) in filter_usb_device() 114 cfg = (void*) ptr; in filter_usb_device() 116 ptr += cfg->bLength; in filter_usb_device() 154 if(check(ptr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE)) in filter_usb_device() 156 ifc = (void*) ptr; in filter_usb_device() 158 ptr += ifc->bLength; in filter_usb_device() [all …]
|
/system/core/init/ |
D | logo.c | 35 unsigned short *ptr = _ptr; in android_memset16() local 38 *ptr++ = val; in android_memset16() 109 unsigned short *data, *bits, *ptr; in load_565rle_image() local 134 ptr = data; in load_565rle_image() 138 unsigned n = ptr[0]; in load_565rle_image() 141 android_memset16(bits, ptr[1], n << 1); in load_565rle_image() 144 ptr += 2; in load_565rle_image()
|
D | parser.c | 71 char *x = state->ptr; in next_token() 83 state->ptr = x; in next_token() 88 state->ptr = x; in next_token() 98 state->ptr = x; in next_token() 106 state->ptr = x; in next_token() 131 state->ptr = x; in next_token()
|
D | init.c | 434 char *ptr; in import_kernel_cmdline() local 451 ptr = cmdline; in import_kernel_cmdline() 452 while (ptr && *ptr) { in import_kernel_cmdline() 453 char *x = strchr(ptr, ' '); in import_kernel_cmdline() 455 import_kernel_nv(ptr, in_qemu); in import_kernel_cmdline() 456 ptr = x; in import_kernel_cmdline()
|
D | parser.h | 26 char *ptr; member
|
/system/core/libcutils/ |
D | sched_policy.c | 75 char *ptr = end; in add_tid_to_cgroup() local 76 *ptr = '\0'; in add_tid_to_cgroup() 78 *--ptr = '0' + (tid % 10); in add_tid_to_cgroup() 82 if (write(fd, ptr, end - ptr) < 0) { in add_tid_to_cgroup() 90 ptr, strerror(errno), policy == SP_BACKGROUND ? 1 : 0); in add_tid_to_cgroup()
|
/system/bluetooth/tools/ |
D | bttest.c | 50 int (*ptr)(); member 77 return (*function_table[i].ptr)(); in main()
|
/system/wlan/ti/wilink_6_1/platforms/os/common/inc/ |
D | osApi.h | 570 int os_SignalObjectWait (TI_HANDLE OsContext, void *ptr); 583 int os_SignalObjectSet (TI_HANDLE OsContext, void *ptr); 596 int os_SignalObjectFree (TI_HANDLE OsContext, void *ptr);
|
/system/core/adb/ |
D | transport.c | 38 static void dump_hex( const unsigned char* ptr, size_t len ) in dump_hex() argument 45 D("%02x", ptr[nn]); in dump_hex() 49 int c = ptr[nn]; in dump_hex() 957 int readx(int fd, void *ptr, size_t len) in readx() argument 959 char *p = ptr; in readx() 964 D("readx: %d %p %d\n", fd, ptr, (int)len); in readx() 979 dump_hex( ptr, len0 ); in readx() 984 int writex(int fd, const void *ptr, size_t len) in writex() argument 986 char *p = (char*) ptr; in writex() 990 D("writex: %d %p %d: ", fd, ptr, (int)len); in writex() [all …]
|
D | adb.h | 61 unsigned char *ptr; member 322 int readx(int fd, void *ptr, size_t len); 323 int writex(int fd, const void *ptr, size_t len);
|
/system/wlan/ti/wilink_6_1/CUDK/os/linux/src/ |
D | osapi.c | 488 inline S32 os_fread (PVOID ptr, S32 size, S32 nmemb, PVOID stream) in os_fread() argument 490 return fread (ptr, size, nmemb, stream); in os_fread() 500 S32 os_fwrite (PVOID ptr, S32 size, S32 nmemb, PVOID stream) in os_fwrite() argument 502 return fwrite (ptr, size, nmemb, stream); in os_fwrite()
|
/system/extras/ext4_utils/ |
D | extent.c | 36 u8 *ptr = data; in extent_create_backing() local 45 queue_data_block(ptr, len, region_block); in extent_create_backing() 46 ptr += len; in extent_create_backing()
|
/system/media/opensles/tools/permute/ |
D | permute.c | 241 void *ptr = malloc(sfinfo_in.frames * frameSizeRead); in permute() local 242 assert(NULL != ptr); in permute() 244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames); in permute() 270 count = sf_writef_short(sf_out, &((short *) ptr)[sfinfo_in.channels * s.mSegmentArray[i] in permute()
|
/system/core/libnetutils/ |
D | ifc_utils.h | 23 int ifc_get_hwaddr(const char *name, void *ptr);
|
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/ |
D | templates.c | 85 nullDataTemplate_t *pBuffer = (nullDataTemplate_t *)pTemplate->ptr; in buildNullTemplate() 139 disconnTemplate_t *pBuffer = (disconnTemplate_t *)pTemplate->ptr; in buildDisconnTemplate() 196 tTemplateStruct.ptr = (TI_UINT8 *)&tProbeReqTemplate; in setDefaultProbeReqTemplate() 230 probeReqTemplate_t *pBuffer = (probeReqTemplate_t *)pTemplate->ptr; in buildProbeReqTemplate() 386 probeRspTemplate_t *pBuffer = (probeRspTemplate_t *)pTemplate->ptr; in buildProbeRspTemplate() 605 psPollTemplate_t *pBuffer = (psPollTemplate_t *)pTemplate->ptr; in buildPsPollTemplate() 674 QosNullDataTemplate_t *pBuffer = (QosNullDataTemplate_t *)pTemplate->ptr; in buildQosNullDataTemplate()
|
/system/core/debuggerd/ |
D | unwind-arm.c | 193 _uw *ptr; in unwind_VRS_Pop_with_ptrace() local 201 ptr = (_uw *) vrs->core.r[R_SP]; in unwind_VRS_Pop_with_ptrace() 206 vrs->core.r[i] = get_remote_word(pid, ptr); in unwind_VRS_Pop_with_ptrace() 207 ptr++; in unwind_VRS_Pop_with_ptrace() 212 vrs->core.r[R_SP] = (_uw) ptr; in unwind_VRS_Pop_with_ptrace()
|
/system/vold/ |
D | Devmapper.h | 34 static void *_align(void *ptr, unsigned int a);
|