Searched refs:strings (Results 1 - 8 of 8) sorted by relevance

/system/core/toolbox/
H A Dsetenforce.c6 #include <strings.h>
/system/core/libutils/tests/
H A DLruCache_test.cpp183 char* strings[kNumKeys]; local
186 strings[i] = (char *)malloc(16);
187 sprintf(strings[i], "%d", i);
197 EXPECT_EQ(strings[index], val);
200 cache.put(key, strings[index]);
209 free((void *)strings[i]);
/system/core/include/cutils/
H A Dbitops.h22 #include <strings.h>
/system/core/fastbootd/
H A Dusb_linux_client.c149 } __attribute__((packed)) strings = { variable in typeref:struct:__anon28
152 .length = cpu_to_le32(sizeof(strings)),
179 ret = write(usb_transport->control, &strings, sizeof(strings));
181 D(ERR, "[ %s: writing strings failed: errno=%d]", USB_FFS_FASTBOOT_EP0, errno);
/system/core/libcutils/
H A Duevent.c22 #include <strings.h>
H A Dsched_policy.c350 static const char * const strings[SP_CNT] = { local
357 if ((policy < SP_CNT) && (strings[policy] != NULL))
358 return strings[policy];
/system/core/adb/
H A Dusb_linux_client.c134 } __attribute__((packed)) strings = { variable in typeref:struct:__anon19
137 .length = cpu_to_le32(sizeof(strings)),
280 ret = adb_write(h->control, &strings, sizeof(strings));
282 D("[ %s: writing strings failed: errno=%d]\n", USB_FFS_ADB_EP0, errno);
H A Dusb_libusb.c30 #include <strings.h>

Completed in 143 milliseconds