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

/system/core/adb/
H A Dusb_libusb.c30 #include <strings.h>
H A Dusb_linux_client.c134 } __attribute__((packed)) strings = { variable in typeref:struct:__anon18
137 .length = cpu_to_le32(sizeof(strings)),
281 ret = adb_write(h->control, &strings, sizeof(strings));
283 D("[ %s: writing strings failed: errno=%d]\n", USB_FFS_ADB_EP0, errno);
/system/core/fastbootd/
H A Dusb_linux_client.c148 } __attribute__((packed)) strings = { variable in typeref:struct:__anon26
151 .length = cpu_to_le32(sizeof(strings)),
178 ret = write(usb_transport->control, &strings, sizeof(strings));
180 D(ERR, "[ %s: writing strings failed: errno=%d]", USB_FFS_FASTBOOT_EP0, errno);
/system/core/include/cutils/
H A Dbitops.h22 #include <strings.h>
/system/core/libcutils/
H A Dsched_policy.c332 static const char * const strings[SP_CNT] = { local
339 if ((policy < SP_CNT) && (strings[policy] != NULL))
340 return strings[policy];
H A Duevent.c22 #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], "%zu", i);
197 EXPECT_EQ(strings[index], val);
200 cache.put(key, strings[index]);
209 free((void *)strings[i]);
/system/core/toolbox/
H A Dsetenforce.c6 #include <strings.h>

Completed in 244 milliseconds