Searched refs:ptr (Results 1 - 25 of 58) sorted by relevance

123

/system/core/include/cutils/
H A Datomic-x86.h39 extern inline int32_t android_atomic_acquire_load(volatile const int32_t *ptr) argument
41 int32_t value = *ptr;
46 extern inline int32_t android_atomic_release_load(volatile const int32_t *ptr) argument
49 return *ptr;
53 volatile int32_t *ptr)
55 *ptr = value;
60 volatile int32_t *ptr)
63 *ptr = value;
67 volatile int32_t *ptr)
72 : "q" (new_value), "m" (*ptr), "
52 android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument
59 android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument
66 android_atomic_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) argument
77 android_atomic_acquire_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) argument
85 android_atomic_release_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) argument
93 android_atomic_swap(int32_t new_value, volatile int32_t *ptr) argument
104 android_atomic_add(int32_t increment, volatile int32_t *ptr) argument
124 android_atomic_and(int32_t value, volatile int32_t *ptr) argument
135 android_atomic_or(int32_t value, volatile int32_t *ptr) argument
[all...]
H A Datomic-arm.h52 extern inline int32_t android_atomic_acquire_load(volatile const int32_t *ptr) argument
54 int32_t value = *ptr;
59 extern inline int32_t android_atomic_release_load(volatile const int32_t *ptr) argument
62 return *ptr;
66 volatile int32_t *ptr)
68 *ptr = value;
73 volatile int32_t *ptr)
76 *ptr = value;
81 volatile int32_t *ptr);
84 volatile int32_t *ptr)
65 android_atomic_acquire_store(int32_t value, volatile int32_t *ptr) argument
72 android_atomic_release_store(int32_t value, volatile int32_t *ptr) argument
83 android_atomic_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) argument
99 android_atomic_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) argument
115 android_atomic_acquire_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) argument
124 android_atomic_release_cas(int32_t old_value, int32_t new_value, volatile int32_t *ptr) argument
137 android_atomic_swap(int32_t new_value, volatile int32_t *ptr) argument
152 android_atomic_swap(int32_t new_value, volatile int32_t *ptr) argument
169 android_atomic_add(int32_t increment, volatile int32_t *ptr) argument
186 android_atomic_add(int32_t increment, volatile int32_t *ptr) argument
212 android_atomic_and(int32_t value, volatile int32_t *ptr) argument
228 android_atomic_and(int32_t value, volatile int32_t *ptr) argument
243 android_atomic_or(int32_t value, volatile int32_t *ptr) argument
259 android_atomic_or(int32_t value, volatile int32_t *ptr) argument
[all...]
/system/core/toolbox/
H A Dps.c40 char *ptr, *name, *state; local
74 ptr = statline;
75 nexttok(&ptr); // skip pid
76 ptr++; // skip "("
78 name = ptr;
79 ptr = strrchr(ptr, ')'); // Skip to *last* occurence of ')',
80 *ptr++ = '\0'; // and null-terminate name.
82 ptr++; // skip " "
83 state = nexttok(&ptr);
[all...]
H A Dinsmod.c73 char *ptr = opts; local
75 for (i = 2; (i < argc) && (ptr < end); i++) {
76 len = min(strlen(argv[i]), end - ptr);
77 memcpy(ptr, argv[i], len);
78 ptr += len;
79 *ptr++ = ' ';
80 *ptr++ = '\0';
82 *(ptr - 1) = '\0';
H A Dnandread.c147 oobbuf.ptr = (uint8_t *)oob_data + spare_size;
231 if (oob_fixed + len > oobbuf.ptr)
232 len = oobbuf.ptr - oob_fixed;
234 memcpy(oob_fixed, oobbuf.ptr + ecclayout.oobfree[i].offset, len);
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dbluetooth.h54 #define bt_get_unaligned(ptr) ({ struct __attribute__((packed)) { typeof(*(ptr)) __v; } *__p = (void *) (ptr); __p->__v; })
55 #define bt_put_unaligned(val, ptr) do { struct __attribute__((packed)) { typeof(*(ptr)) __v; } *__p = (void *) (ptr); __p->__v = (val); } while(0)
/system/wlan/ti/wilink_6_1/utils/
H A Dmem.c152 void *ptr; local
161 ptr = mem_Alloc (hMem, total);
163 if (ptr != NULL)
165 os_memorySet (pMemMng->hOs, ptr, 0, total);
168 return ptr;
191 void mem_Free (TI_HANDLE hMem, void* ptr, TI_UINT32 size) argument
194 TMemBlock *pMemBlock = (TMemBlock *)((TI_UINT8 *)ptr - sizeof(TMemBlock));
197 os_printf ("os_memoryFree(%p, %u)\n", ptr, size);
/system/core/init/
H A Dparser.h26 char *ptr; member in struct:parse_state
H A Dparser.c71 char *x = state->ptr;
83 state->ptr = x;
88 state->ptr = x;
98 state->ptr = x;
106 state->ptr = x;
131 state->ptr = x;
H A Dlogo.c35 unsigned short *ptr = _ptr; local
38 *ptr++ = val;
109 unsigned short *data, *bits, *ptr; local
134 ptr = data;
138 unsigned n = ptr[0];
141 android_memset16(bits, ptr[1], n << 1);
144 ptr += 2;
H A Dueventd_parser.c38 state.ptr = s;
/system/core/libnetutils/
H A Difc_utils.h23 int ifc_get_hwaddr(const char *name, void *ptr);
/system/extras/tests/framebuffer/
H A Dmdp_test.c142 char *ptr; local
146 if (!(ptr = strchr(geom, 'x')))
148 *ptr = '\0';
150 geom = ptr + 1;
152 ptr = strchr(geom, '+');
153 if (ptr)
154 *ptr = '\0';
156 if (!ptr)
159 geom = ptr + 1;
161 if (!x || !y || !(ptr
234 void *ptr; local
[all...]
/system/bluetooth/tools/
H A Dbttest.c50 int (*ptr)(); member in struct:__anon7
77 return (*function_table[i].ptr)();
/system/core/fastboot/
H A Dusb_linux.c92 static int filter_usb_device(int fd, char *ptr, int len, int writable, argument
106 if(check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE))
108 dev = (void*) ptr;
110 ptr += dev->bLength;
112 if(check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE))
114 cfg = (void*) ptr;
116 ptr += cfg->bLength;
154 if(check(ptr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE))
156 ifc = (void*) ptr;
158 ptr
[all...]
/system/core/libcutils/
H A Dsched_policy.c75 char *ptr = end; local
76 *ptr = '\0';
78 *--ptr = '0' + (tid % 10);
82 if (write(fd, ptr, end - ptr) < 0) {
90 ptr, strerror(errno), policy == SP_BACKGROUND ? 1 : 0);
/system/vold/
H A DDevmapper.h34 static void *_align(void *ptr, unsigned int a);
/system/wlan/ti/wilink_6_1/platforms/os/common/inc/
H A DosApi.h562 * \param ptr - Pointer to Signaling Object previously created by user
570 int os_SignalObjectWait (TI_HANDLE OsContext, void *ptr);
575 * \param ptr - Pointer to Signaling Object previously created by user
583 int os_SignalObjectSet (TI_HANDLE OsContext, void *ptr);
588 * \param ptr - Pointer to Signaling Object previously created by user
596 int os_SignalObjectFree (TI_HANDLE OsContext, void *ptr);
/system/wlan/ti/wilink_6_1/CUDK/os/linux/src/
H A Dosapi.c488 inline S32 os_fread (PVOID ptr, S32 size, S32 nmemb, PVOID stream) argument
490 return fread (ptr, size, nmemb, stream);
500 S32 os_fwrite (PVOID ptr, S32 size, S32 nmemb, PVOID stream) argument
502 return fwrite (ptr, size, nmemb, stream);
/system/wlan/ti/wilink_6_1/CUDK/os/common/inc/
H A Dcu_osapi.h89 S32 os_fread (PVOID ptr, S32 size, S32 nmemb, PVOID stream);
90 S32 os_fwrite (PVOID ptr, S32 size, S32 nmemb, PVOID stream);
/system/media/opensles/tools/permute/
H A Dpermute.c241 void *ptr = malloc(sfinfo_in.frames * frameSizeRead); local
242 assert(NULL != ptr);
244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames);
270 count = sf_writef_short(sf_out, &((short *) ptr)[sfinfo_in.channels * s.mSegmentArray[i]
/system/core/adb/
H A Dadb.h61 unsigned char *ptr; member in struct:apacket
322 int readx(int fd, void *ptr, size_t len);
323 int writex(int fd, const void *ptr, size_t len);
H A Dtransport.c38 static void dump_hex( const unsigned char* ptr, size_t len ) argument
45 D("%02x", ptr[nn]);
49 int c = ptr[nn];
957 int readx(int fd, void *ptr, size_t len) argument
959 char *p = ptr;
964 D("readx: %d %p %d\n", fd, ptr, (int)len);
979 dump_hex( ptr, len0 );
984 int writex(int fd, const void *ptr, size_t len) argument
986 char *p = (char*) ptr;
990 D("writex: %d %p %d: ", fd, ptr, (in
[all...]
/system/extras/ext4_utils/
H A Dextent.c36 u8 *ptr = data; local
45 queue_data_block(ptr, len, region_block);
46 ptr += len;
/system/core/debuggerd/
H A Dunwind-arm.c193 _uw *ptr; local
201 ptr = (_uw *) vrs->core.r[R_SP];
206 vrs->core.r[i] = get_remote_word(pid, ptr);
207 ptr++;
212 vrs->core.r[R_SP] = (_uw) ptr;

Completed in 483 milliseconds

123