/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | hci.h | 1600 uint8_t size; member in struct:__anon159
|
/system/core/adb/ |
H A D | file_sync_client.c | 75 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie); 106 ltohl(msg.dent.size), 120 unsigned size; member in struct:syncsendbuf 168 unsigned int *mode, unsigned int *size) 180 *size = ltohl(msg.stat.size); 235 sbuf->size = htoll(ret); 247 static int write_data_buffer(int fd, char* file_buffer, int size, syncsendbuf *sbuf) argument 253 while (total < size) { 254 int count = size 167 sync_finish_readtime(int fd, unsigned int *timestamp, unsigned int *mode, unsigned int *size) argument 304 int size = 0; local 535 do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument 566 unsigned int size; member in struct:copyinfo 708 unsigned int timestamp, mode, size; local 810 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument [all...] |
H A D | file_sync_service.c | 65 msg.stat.size = 0; 69 msg.stat.size = htoll(st.st_size); 107 msg.dent.size = htoll(st.st_size); 123 msg.dent.size = 0; 137 msg.data.size = htoll(len); 179 timestamp = ltohl(msg.data.size); 185 len = ltohl(msg.data.size); 241 len = ltohl(msg.data.size); 340 msg.data.size = htoll(r); 351 msg.data.size [all...] |
H A D | file_sync_service.h | 58 unsigned size; member in struct:__anon274::__anon276 64 unsigned size; member in struct:__anon274::__anon277 70 unsigned size; member in struct:__anon274::__anon278
|
H A D | framebuffer_service.c | 42 unsigned int size; member in struct:fbinfo 91 fbinfo.size = w * h * 4; 105 fbinfo.size = w * h * 4; 119 fbinfo.size = w * h * 3; 133 fbinfo.size = w * h * 2; 147 fbinfo.size = w * h * 4; 167 for(i = 0; i < fbinfo.size; i += sizeof(buf)) { 171 if(readx(fd_screencap, buf, fbinfo.size % sizeof(buf))) goto done; 172 if(writex(fd, buf, fbinfo.size % sizeof(buf))) goto done;
|
H A D | jdwp_service.c | 243 int size = 4 - proc->in_len; local 245 while (size > 0) { 246 int len = recv( socket, p, size, 0 ); 264 size -= len;
|
H A D | log_service.c | 89 size_t size = sizeof(struct logger_entry) + buf->len; local 91 writex(fd, buf, size);
|
H A D | remount_service.c | 38 int size; local 48 size = adb_read(fd, buf, sizeof(buf) - 1);
|
H A D | transport_usb.c | 84 unsigned size = p->msg.data_length; local 93 if(usb_write(t->usb, &p->data, size)) {
|
/system/core/cpio/ |
H A D | mkbootfs.c | 167 int size = 32; local 169 char** names = malloc(size * sizeof(char*)); 171 fprintf(stderr, "failed to allocate dir names array (size %d)\n", size); 182 if (entries >= size) { 183 size *= 2; 184 names = realloc(names, size * sizeof(char*)); 186 fprintf(stderr, "failed to reallocate dir names array (size %d)\n", 187 size); 258 int size; local [all...] |
/system/core/fastboot/ |
H A D | engine.c | 93 unsigned size; member in struct:Action 107 long long image_size; // real size of image file 132 * size of the buffer returned as image->image_size. 134 * image->partition_size specifies what is the size of the 207 die("Command length (%d) exceeds maximum size (%d)", cmdsize, sizeof(a->cmd)); 232 static void *load_buffer(int fd, off_t size) argument 241 buffer = malloc(size); 248 while(count < size) { 249 ssize_t actually_read = read(fd, (char*)buffer+count, size-count); 266 buffer = mmap(NULL, size, PROT_REA 580 fb_queue_download(const char *name, void *data, unsigned size) argument [all...] |
H A D | fastboot.c | 301 " -n <page size> specify the nand page size. default: 2048\n" 302 " -S <size>[K|M|G] automatically sparse files greater than\n" 303 " size. 0 to disable\n" 529 int status = fb_getvar(usb, response, "max-download-size"); 534 fprintf(stderr, "target reported max download size of %lld bytes\n", 542 static int64_t get_sparse_limit(struct usb_handle *usb, int64_t size) argument 561 if (size > limit) { 836 if (!page_size) die("invalid page size");
|
H A D | fastboot.h | 39 int fb_download_data(usb_handle *usb, const void *data, unsigned size); 59 void fb_queue_download(const char *name, void *data, unsigned size);
|
H A D | protocol.c | 50 static int check_response(usb_handle *usb, unsigned int size, char *response) argument 91 if(!memcmp(status, "DATA", 4) && size > 0){ 93 if(dsize > size) { 94 strcpy(ERROR, "data size too large"); 109 static int _command_start(usb_handle *usb, const char *cmd, unsigned size, argument 130 return check_response(usb, size, response); 133 static int _command_data(usb_handle *usb, const void *data, unsigned size) argument 137 r = usb_write(usb, data, size); 143 if(r != ((int) size)) { 163 const void *data, unsigned size, 162 _command_send(usb_handle *usb, const char *cmd, const void *data, unsigned size, char *response) argument 207 fb_download_data(usb_handle *usb, const void *data, unsigned size) argument 295 int size = sparse_file_len(s, true, false); local [all...] |
H A D | usb_linux.c | 65 /* The max bulk size for linux is 16384 which is defined 86 static int check(void *_desc, int len, unsigned type, int size) argument 90 if(len < size) return -1; 91 if(desc[0] < size) return -1;
|
/system/core/fs_mgr/ |
H A D | fs_mgr.c | 176 static char *getline(char *buf, int size, FILE *file) argument 183 if (size < 1) { 187 while (cnt < (size - 1)) { 293 /* If a non-comment entry is greater than the size we allocated, give an 603 int fs_mgr_get_crypt_info(char *fstab_file, char *key_loc, char *real_blk_dev, int size) argument 627 strlcpy(key_loc, fstab[i].key_loc, size); 630 strlcpy(real_blk_dev, fstab[i].blk_dev, size);
|
/system/core/fs_mgr/include/ |
H A D | fs_mgr.h | 24 int fs_mgr_get_crypt_info(char *fstab_file, char *key_loc, char *real_blk_dev, int size);
|
/system/core/include/cutils/ |
H A D | array.h | 51 /** Sets the array size. Sets new pointers to NULL. Returns 0 if successful, < 0 otherwise . */ 52 int arraySetSize(Array* array, int size); 54 /** Returns the size of the given array. */
|
H A D | ashmem.h | 19 int ashmem_create_region(const char *name, size_t size);
|
H A D | memory.h | 27 /* size is given in bytes and must be multiple of 2 */ 28 void android_memset16(uint16_t* dst, uint16_t value, size_t size); 30 /* size is given in bytes and must be multiple of 4 */ 31 void android_memset32(uint32_t* dst, uint32_t value, size_t size); 35 size_t strlcpy(char *dst, const char *src, size_t size);
|
H A D | partition_utils.h | 23 void erase_footer(const char *dev_path, long long size);
|
/system/core/include/pixelflinger/ |
H A D | format.h | 105 uint8_t size; // bytes per pixel member in struct:__anon313
|
/system/core/include/system/ |
H A D | audio.h | 536 size_t size = 0; local 541 size = sizeof(int32_t); 544 size = sizeof(int16_t); 547 size = sizeof(uint8_t); 552 return size;
|
/system/core/include/sysutils/ |
H A D | List.h | 185 size_t size() const { function in class:android::sysutils::List
|
H A D | NetlinkEvent.h | 41 bool decode(char *buffer, int size, int format = NetlinkListener::NETLINK_FORMAT_ASCII); 50 bool parseBinaryNetlinkMessage(char *buffer, int size); 51 bool parseAsciiNetlinkMessage(char *buffer, int size);
|