Searched defs:data (Results 1 - 25 of 92) sorted by path

1234

/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h1110 uint8_t data[240]; member in struct:__anon100
1117 uint8_t data[240]; member in struct:__anon101
1539 uint8_t data[31]; member in struct:__anon153
1546 uint8_t data[31]; member in struct:__anon154
1670 uint8_t data[16]; member in struct:__anon168
2089 uint8_t data[240]; member in struct:__anon215
2184 uint8_t data[0]; member in struct:__anon228
2211 uint8_t data[0]; member in struct:__anon230
2309 uint8_t data[0]; member in struct:__anon241
H A Dl2cap.h124 uint8_t data[0]; member in struct:__anon253
132 uint8_t data[0]; member in struct:__anon254
184 uint8_t data[0]; member in struct:__anon259
/system/bluetooth/brfpatch/
H A Dbrfpatch.c55 unsigned char *data) {
60 fwrite(&len, 1, 1, fpo); // data length
61 fwrite(data, len, 1, fpo); // data
88 unsigned char data[1024]; local
89 unsigned char *dp = data;
96 FAILIF(dp > data + sizeof(data),
97 "Too much data: %s\n", buffer);
111 // find length of this piece of data
54 dump_record(FILE *fpo, unsigned short opcode, unsigned char len, unsigned char *data) argument
[all...]
/system/core/adb/
H A Dadb.h55 unsigned data_check; /* checksum of data payload */
67 unsigned char data[MAX_PAYLOAD]; member in struct:apacket
112 /* enqueue is called by our peer when it has data
114 ** data or 1 if not. If we return 1, we must call
116 ** receive data.
121 ** us to send data via enqueue again
448 int usb_write(usb_handle *h, const void *data, int len);
449 int usb_read(usb_handle *h, void *data, int len);
H A Dadb_auth.h34 int adb_auth_get_userkey(unsigned char *data, size_t len);
38 static inline void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t) { } argument
45 static inline int adb_auth_get_userkey(unsigned char *data, size_t len) { return 0; } argument
49 void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t);
H A Dadb_auth_client.c41 "/data/misc/adb/adb_keys",
64 /* Allocate 4 extra bytes to decode the base64 data in-place */
77 D("%s: Invalid base64 data ret=%d\n", file, ret);
155 static void adb_auth_event(int fd, unsigned events, void *data) argument
157 atransport *t = data;
207 static void adb_auth_listener(int fd, unsigned events, void *data) argument
H A Dadb_auth_host.c381 int adb_auth_get_userkey(unsigned char *data, size_t len) argument
405 memcpy(data, file, ret);
406 data[ret] = '\0';
H A Dcommandline.c127 " ('-r' means reinstall the app, keeping its data)\n"
131 " ('-k' means keep the data and cache directories)\n"
136 " - write an archive of the device's data to <file>.\n"
137 " If no -f option is supplied then the data is written\n"
181 " - If <directory> is not specified, both /system and /data partitions will be updated.\n"
183 " - If it is \"system\" or \"data\", only the corresponding partition\n"
374 int adb_download_buffer(const char *service, const void* data, int sz, argument
393 ptr = data;
404 fprintf(stderr,"* failed to write data '%s' *\n", adb_error());
437 void *data; local
[all...]
H A Dfile_sync_client.c121 char data[SYNC_DATA_MAX]; member in struct:syncsendbuf
224 ret = adb_read(lfd, sbuf->data, SYNC_DATA_MAX);
259 memcpy(sbuf->data, &file_buffer[total], count);
277 len = readlink(path, sbuf->data, SYNC_DATA_MAX-1);
282 sbuf->data[len] = '\0';
391 msg.data.id = ID_DONE;
392 msg.data.size = htoll(mtime);
393 if(writex(fd, &msg.data, sizeof(msg.data)))
403 if(readx(fd, sbuf->data, le
[all...]
H A Dfile_sync_service.h71 } data; member in union:__anon274
H A Dsysdeps_win32.c24 char *data; local
39 data = NULL;
42 data = (char*) malloc( file_size + 1 );
43 if (data == NULL) {
49 if ( !ReadFile( file, data, file_size, &out_bytes, NULL ) ||
53 free(data);
54 data = NULL;
62 return data;
801 * - it avoids copying data from/to the Nt kernel
815 * a_start is the pointer where we start reading data
[all...]
H A Dtransport.c132 dump_hex(p->data, len);
221 x = (unsigned char *) p->data;
273 D("%s: data pump started\n", t->serial);
445 memcpy(p->data, buffer, len);
566 static void transport_registration_func(int _fd, unsigned ev, void *data) argument
1175 x = p->data;
H A Dusb_libusb.c86 D("Device offered more data\n");
100 usb_bulk_write(usb_handle *uh, const void *data, int len) argument
105 r = libusb_bulk_transfer(uh->devh, uh->end_point_address[1], (void *)data, len,
118 usb_bulk_read(usb_handle *uh, void *data, int len) argument
123 r = libusb_bulk_transfer(uh->devh, uh->end_point_address[0], data, len,
138 unsigned char *data = (unsigned char*) _data; local
153 n = usb_bulk_write(uh, data, xfer);
161 data += xfer;
179 unsigned char *data = (unsigned char*) _data; local
187 n = usb_bulk_read(uh, data, xfe
[all...]
H A Dusb_linux.c311 static int usb_bulk_write(usb_handle *h, const void *data, int len) argument
322 urb->buffer = (void*) data;
364 static int usb_bulk_read(usb_handle *h, void *data, int len) argument
374 urb->buffer = data;
438 unsigned char *data = (unsigned char*) _data; local
455 n = usb_bulk_write(h, data, xfer);
463 data += xfer;
476 unsigned char *data = (unsigned char*) _data; local
484 n = usb_bulk_read(h, data, xfer);
490 data
[all...]
H A Dusb_linux_client.c45 int (*write)(usb_handle *h, const void *data, int len);
46 int (*read)(usb_handle *h, void *data, int len);
186 static int usb_adb_write(usb_handle *h, const void *data, int len) argument
191 n = adb_write(h->fd, data, len);
201 static int usb_adb_read(usb_handle *h, void *data, int len) argument
206 n = adb_read(h->fd, data, len);
363 static int usb_ffs_write(usb_handle *h, const void *data, int len) argument
368 n = bulk_write(h->bulk_in, data, len);
399 static int usb_ffs_read(usb_handle *h, void *data, int len) argument
404 n = bulk_read(h->bulk_out, data, le
475 usb_write(usb_handle *h, const void *data, int len) argument
480 usb_read(usb_handle *h, void *data, int len) argument
[all...]
H A Dusb_windows.c98 /// Writes data to the opened usb handle
99 int usb_write(usb_handle* handle, const void* data, int len);
101 /// Reads data using the opened usb handle
102 int usb_read(usb_handle *handle, void* data, int len);
257 int usb_write(usb_handle* handle, const void* data, int len) { argument
266 (void*)data,
279 (void*)data,
302 int usb_read(usb_handle *handle, void* data, int len) { argument
313 (void*)data,
320 data
[all...]
H A Dutils.c48 buff_addb (char* buff, char* buffEnd, const void* data, int len) argument
58 memcpy(buff, data, len);
/system/core/charger/
H A Dcharger.c515 static int uevent_callback(int fd, short revents, void *data) argument
517 struct charger *charger = data;
758 static int set_key_callback(int code, int value, void *data) argument
760 struct charger *charger = data;
894 static int input_callback(int fd, short revents, void *data) argument
896 struct charger *charger = data;
/system/core/cpio/
H A Dmkbootfs.c85 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument
130 fwrite(data, datasize, 1, stdout);
/system/core/debuggerd/arm/
H A Dmachine.c75 * If we see (data == -1 && errno != 0), we know that the ptrace
82 long data = ptrace(PTRACE_PEEKTEXT, tid, (void*)p, NULL); local
83 sprintf(code_buffer + strlen(code_buffer), "%08lx ", data);
94 char val = (data >> (j*8)) & 0xff;
/system/core/debuggerd/mips/
H A Dmachine.c68 * If we see (data == -1 && errno != 0), we know that the ptrace
75 long data = ptrace(PTRACE_PEEKTEXT, tid, (void*)p, NULL); local
76 sprintf(code_buffer + strlen(code_buffer), "%08lx ", data);
85 char val = (data >> (j*8)) & 0xff;
/system/core/fastboot/
H A Dengine.c92 void *data; member in struct:Action
401 a->data = (void*)skip_if_not_supported;
405 void fb_queue_flash(const char *ptn, void *data, unsigned sz) argument
410 a->data = data;
423 a->data = s;
459 const char **value = a->data;
516 a->data = value;
520 if (a->data == 0) die("out of memory");
529 fprintf(stderr, "%s: %s\n", (char*) a->data, res
580 fb_queue_download(const char *name, void *data, unsigned size) argument
[all...]
H A Dfastboot.c157 char *data; local
162 data = 0;
171 data = (char*) malloc(sz);
172 if(data == 0) goto oops;
174 if(read(fd, data, sz) != sz) goto oops;
178 return data;
183 if(data != 0) free(data);
362 void *data; local
375 data
462 setup_requirements(char *data, unsigned sz) argument
583 void *data; local
607 void *data; local
619 void *data; local
678 void *data; local
697 void *data; local
807 void *data; local
[all...]
H A Dprotocol.c94 strcpy(ERROR, "data size too large");
133 static int _command_data(usb_handle *usb, const void *data, unsigned size) argument
137 r = usb_write(usb, data, size);
139 sprintf(ERROR, "data transfer failure (%s)", strerror(errno));
144 sprintf(ERROR, "data transfer failure (short transfer)");
163 const void *data, unsigned size,
176 r = _command_data(usb, data, size);
207 int fb_download_data(usb_handle *usb, const void *data, unsigned size) argument
213 r = _command_send(usb, cmd, data, size, 0);
226 static int fb_download_data_sparse_write(void *priv, const void *data, in argument
162 _command_send(usb_handle *usb, const char *cmd, const void *data, unsigned size, char *response) argument
[all...]
H A Dusb_linux.c150 ctrl.data = buffer;
313 unsigned char *data = (unsigned char*) _data; local
325 bulk.data = data;
343 bulk.data = data;
355 data += xfer;
363 unsigned char *data = (unsigned char*) _data; local
377 bulk.data = data;
[all...]

Completed in 157 milliseconds

1234