/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
H A D | proc_stat.c | 61 int len=0; local 68 len += (len<count)?sprintf(page+len,"-------------- STA Health Configuration ---------------\n"):0; 69 len += (len<count)?sprintf(page+len,"Full recovery enabled = %d\n",pHealthMonitor->bFullRecoveryEnable):0; 70 len += (len<count)?sprintf(page+len,"Time [all...] |
/system/core/libcutils/ |
H A D | uio.c | 28 int len = vecs->iov_len; local 30 while (len > 0) { 31 int ret = read( fd, buf, len ); 42 len -= ret; 55 int len = (int)vecs->iov_len; local 57 while (len > 0) { 58 int ret = write( fd, buf, len ); 69 len -= ret;
|
H A D | strdup16to8.c | 29 extern size_t strnlen16to8(const char16_t* utf16Str, size_t len) argument 34 * potentially be as big as 3*len, which will overflow 35 * for len > SIZE_MAX/3. 43 * dst = malloc(strnlen16to8(utf16,len)+1) 55 /* Fast path for the usual case where 3*len is < SIZE_MAX-1. 57 if (len < (SIZE_MAX-1)/3) { 58 while (len--) { 72 while (len--) { 102 * not just "len". 107 extern char* strncpy16to8(char* utf8Str, const char16_t* utf16Str, size_t len) argument 146 size_t len; local [all...] |
H A D | properties.c | 79 int len; local 81 len = __system_property_get(key, value); 82 if(len > 0) { 83 return len; 87 len = strlen(default_value); 88 memcpy(value, default_value, len + 1); 90 return len; 179 int len = -1; local 188 len = strlen(value); 190 return len; 302 int len; local 336 int len; local [all...] |
H A D | process_name.c | 42 int len = strlen(new_name); local 43 char* copy = (char*) malloc(len + 1); 48 if (len < 16) { 51 prctl(PR_SET_NAME, (unsigned long) new_name + len - 15, 0, 0, 0);
|
/system/core/adb/ |
H A D | test_track_devices.c | 17 unix_write( int fd, const char* buf, int len ) 20 while (len > 0) { 21 int len2 = write(fd, buf, len); 28 len -= len2; 35 unix_read( int fd, char* buf, int len ) 38 while (len > 0) { 39 int len2 = read(fd, buf, len); 46 len -= len2; 59 int len; local 71 len [all...] |
H A D | test_track_jdwp.c | 17 unix_write( int fd, const char* buf, int len ) 20 while (len > 0) { 21 int len2 = write(fd, buf, len); 28 len -= len2; 35 unix_read( int fd, char* buf, int len ) 38 while (len > 0) { 39 int len2 = read(fd, buf, len); 46 len -= len2; 59 int len; local 71 len [all...] |
H A D | usb_linux_client.c | 82 int usb_write(usb_handle *h, const void *data, int len) argument 86 D("[ write %d ]\n", len); 87 n = adb_write(h->fd, data, len); 88 if(n != len) { 97 int usb_read(usb_handle *h, void *data, int len) argument 101 D("[ read %d ]\n", len); 102 n = adb_read(h->fd, data, len); 103 if(n != len) {
|
H A D | utils.c | 48 buff_addb (char* buff, char* buffEnd, const void* data, int len) argument 52 if (avail <= 0 || len <= 0) /* already overflowing */ 55 if (len > avail) 56 len = avail; 58 memcpy(buff, data, len); 60 buff += len;
|
/system/core/nexus/ |
H A D | SupplicantEventFactory.cpp | 48 SupplicantEvent *SupplicantEventFactory::createEvent(char *event, size_t len) { argument 75 len); 80 return new SupplicantAssociatedEvent(level, event + 16, len); 82 return new SupplicantAssociatingEvent(level, event + 25, len); 86 len); 90 len); 94 len); 97 return new SupplicantDisconnectedEvent(level, event, len); 100 return new SupplicantTerminatingEvent(event, len); 102 return new SupplicantPasswordChangedEvent(event, len); [all...] |
H A D | Supplicant.cpp | 141 size_t len = 4096; local 143 if (!(reply = (char *) malloc(len))) { 148 if (sendCommand("STATUS", reply, &len)) { 153 SupplicantStatus *ss = SupplicantStatus::createStatus(reply, len); 165 size_t len = 4096; local 167 if (!(reply = (char *) malloc(len))) { 172 if (sendCommand("LIST_NETWORKS", reply, &len)) { 279 size_t len = sizeof(reply); local 282 reply, &len)) { 292 size_t len local 303 size_t len = sizeof(reply); local 325 size_t len = sizeof(reply); local 351 size_t len = sizeof(reply); local 364 size_t len = sizeof(reply); local 376 size_t len = sizeof(reply) -1; local 400 size_t len = sizeof(reply) -1; local 497 size_t len = sizeof(reply) -1; local 518 size_t len = max - 1; local 539 size_t len = sizeof(reply) -1; local 549 size_t len; local 568 size_t len; local 587 size_t len; local 599 size_t len; local 614 size_t len = sizeof(reply) -1; local 628 size_t len = sizeof(reply) -1; local 638 size_t len = sizeof(reply) -1; local 651 size_t len; local 663 size_t len; local [all...] |
H A D | SupplicantAssociatedEvent.h | 28 SupplicantAssociatedEvent(int level, char *event, size_t len);
|
H A D | SupplicantConnectionTimeoutEvent.h | 28 SupplicantConnectionTimeoutEvent(int level, char *event, size_t len);
|
H A D | SupplicantDisconnectedEvent.h | 25 SupplicantDisconnectedEvent(int level, char *event, size_t len);
|
H A D | SupplicantEventFactory.h | 28 SupplicantEvent *createEvent(char *event, size_t len);
|
H A D | SupplicantScanResultsEvent.h | 25 SupplicantScanResultsEvent(int level, char *event, size_t len);
|
H A D | SupplicantStateChangeEvent.h | 27 SupplicantStateChangeEvent(int level, char *event, size_t len);
|
/system/core/toolbox/ |
H A D | sendevent.c | 25 #define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */ 26 #define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */ 27 #define EVIOCGUNIQ(len) _IOC(_IOC_READ, 'E', 0x08, len) /* get unique identifier */ 29 #define EVIOCGKEY(len) _IOC(_IOC_READ, 'E', 0x18, len) /* get global keystate */ 30 #define EVIOCGLED(len) _IOC(_IOC_READ, 'E', 0x19, len) /* ge [all...] |
H A D | smd.c | 9 int fd, len, r, port = 0; local 28 len = strlen(argv[0]); 29 r = write(fd, argv[0], len); 30 if(r != len) {
|
/system/core/include/mincrypt/ |
H A D | rsa.h | 41 int len; /* Length of n[] in number of uint32_t */ member in struct:RSAPublicKey 49 const int len,
|
H A D | sha.h | 51 void SHA_update(SHA_CTX* ctx, const void* data, int len); 55 const uint8_t* SHA(const void* data, int len, uint8_t* digest);
|
/system/core/fastboot/ |
H A D | usb.h | 62 int usb_read(usb_handle *h, void *_data, int len); 63 int usb_write(usb_handle *h, const void *_data, int len);
|
/system/core/include/cutils/ |
H A D | ashmem.h | 21 int ashmem_pin_region(int fd, size_t offset, size_t len); 22 int ashmem_unpin_region(int fd, size_t offset, size_t len);
|
H A D | logd.h | 41 int __android_log_bwrite(int32_t tag, const void *payload, size_t len); 43 size_t len);
|
/system/vold/ |
H A D | Loop.h | 29 static int lookupActive(const char *id, char *buffer, size_t len); 30 static int create(const char *id, const char *loopFile, char *loopDeviceBuffer, size_t len);
|