Searched defs:len (Results 1 - 14 of 14) sorted by relevance

/hardware/ril/mock-ril/src/cpp/
H A Dnode_util.cpp51 v8::Local<v8::Value> Encode(const void *buf, size_t len, enum encoding encoding) { argument
54 if (!len) return scope.Close(v8::String::Empty());
58 uint16_t * twobytebuf = new uint16_t[len];
59 for (size_t i = 0; i < len; i++) {
63 v8::Local<v8::String> chunk = v8::String::New(twobytebuf, len);
69 v8::Local<v8::String> chunk = v8::String::New((const char*)buf, len);
H A Dexperiments.cpp169 int len = ss->ByteSize(); local
170 ALOGD("create buffer len=%d", len);
171 char *buffer = new char[len];
173 bool ok = ss->SerializeToArray(buffer, len);
180 ok = newSs->ParseFromArray(buffer, len);
208 int len = hu->ByteSize(); local
209 char *buffer = new char[len];
211 bool ok = hu->SerializeToArray(buffer, len);
218 ok = newHu->ParseFromArray(buffer, len);
[all...]
H A Dril.h733 char len; member in struct:__anon308
/hardware/libhardware/include/hardware/
H A Dqemud.h44 qemud_fd_write(int fd, const void* buff, int len) argument
48 len2 = write(fd, buff, len);
54 qemud_fd_read(int fd, void* buff, int len) argument
58 len2 = read(fd, buff, len);
H A Dbluetooth.h200 int len; member in struct:__anon13
300 typedef void (*dut_mode_recv_callback)(uint16_t opcode, uint8_t *buf, uint8_t len);
426 int (*dut_mode_send)(uint16_t opcode, uint8_t *buf, uint8_t len);
/hardware/ril/rild/
H A Dradiooptions.c107 int len = strlen(argv[1 + i]); local
108 ret = send(fd, &len, sizeof(int), 0);
114 ret = send(fd, argv[1 + i], sizeof(char) * len, 0);
115 if (ret != len * sizeof(char)) {
H A Drild.c147 int len; local
156 len = read(fd,buffer,sizeof(buffer)); }
157 while (len == -1 && errno == EINTR);
159 if (len < 0) {
/hardware/libhardware_legacy/qemu/
H A Dqemu.c55 qemu_fd_write( int fd, const char* cmd, int len )
59 len2 = write(fd, cmd, len);
65 qemu_fd_read( int fd, char* buff, int len )
69 len2 = read(fd, buff, len);
257 int len; local
262 len = vsnprintf(buffer+4, buffer_size-4, format, args);
263 if (len >= buffer_size-4)
266 snprintf(header, sizeof header, "%04x", len);
268 return len + 4;
302 qemu_control_send(const char* cmd, int len) argument
331 int len, fd; local
353 int ret, fd, len, result = -1; local
[all...]
/hardware/ril/reference-ril/
H A Datchannel.c68 void AT_DUMP(const char* prefix, const char* buff, int len) argument
70 if (len < 0)
71 len = strlen(buff);
72 ALOGD("%.*s", len, buff);
360 size_t len; local
362 len = strlen(s_ATBufferCur);
364 memmove(s_ATBuffer, s_ATBufferCur, len + 1);
365 p_read = s_ATBuffer + len;
495 size_t len = strlen(s); local
507 while (cur < len) {
534 size_t len = strlen(s); local
[all...]
H A Dreference-ril.c1554 size_t len; local
1567 len = strlen(cmd);
1569 while (cur < len) {
1571 written = write (fd, cmd + cur, len - cur);
H A Dril.h733 char len; member in struct:__anon370
/hardware/libhardware_legacy/wifi/
H A Dwifi.c894 int len; local
905 len = strlen(fwpath) + 1;
906 if (TEMP_FAILURE_RETRY(write(fd, fwpath, len)) != len) {
/hardware/ril/libril/
H A Dril.cpp322 issueLocalRequest(int request, void *data, int len) { argument
343 s_callbacks.onRequest(request, data, len, pRI);
631 int32_t len; local
641 status = p.readInt32(&len);
647 if (((int) len) == -1) {
649 len = 0;
651 uusInfo.uusData = (char*) p.readInplace(len);
654 uusInfo.uusLength = len;
848 int32_t len; local
852 status = p.readInt32(&len);
1307 blockingWrite(int fd, const void *buffer, size_t len) argument
[all...]
/hardware/ril/include/telephony/
H A Dril.h733 char len; member in struct:__anon183

Completed in 224 milliseconds