Searched defs:size (Results 1 - 25 of 93) sorted by path

1234

/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h1600 uint8_t size; member in struct:__anon159
/system/core/adb/
H A Dfile_sync_client.c75 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 Dfile_sync_service.h58 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 Dframebuffer_service.c42 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 Djdwp_service.c243 int size = 4 - proc->in_len; local
245 while (size > 0) {
246 int len = recv( socket, p, size, 0 );
264 size -= len;
H A Dlog_service.c89 size_t size = sizeof(struct logger_entry) + buf->len; local
91 writex(fd, buf, size);
H A Dremount_service.c38 int size; local
48 size = adb_read(fd, buf, sizeof(buf) - 1);
H A Dtransport_usb.c84 unsigned size = p->msg.data_length; local
93 if(usb_write(t->usb, &p->data, size)) {
/system/core/cpio/
H A Dmkbootfs.c167 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 Dengine.c93 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 Dfastboot.c301 " -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 Dprotocol.c50 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 Dusb_linux.c65 /* 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 Dfs_mgr.c176 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/include/pixelflinger/
H A Dformat.h105 uint8_t size; // bytes per pixel member in struct:__anon313
/system/core/include/system/
H A Daudio.h536 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 DList.h185 size_t size() const { function in class:android::sysutils::List
/system/core/init/
H A Dbuiltins.c140 unsigned size; local
143 module = read_file(filename, &size);
147 ret = init_module(module, size, options);
284 int size = 0; local
288 size += strlen(args[i]) + 1;
291 return do_insmod_inner(nargs, args, size);
H A Ddevices.c421 unsigned int size; local
H A Dkeychords.c38 int i, size; local
42 size = sizeof(*keychord) + svc->nkeycodes * sizeof(keychord->keycodes[0]);
43 keychords = realloc(keychords, keychords_length + size);
61 keychords_length += size;
H A Dlogo.c44 unsigned size; member in struct:FB
H A Dproperty_service.c116 size_t size; member in struct:__anon374
120 static int init_workspace(workspace *w, size_t size) argument
132 if (ftruncate(fd, size) < 0)
135 data = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
148 w->size = size;
434 ERROR("sys_prop: mis-match msg size recieved: %d expected: %d errno: %d\n",
487 *sz = pa_workspace.size;
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c91 /* Get the EXIDX section start and size for the module that contains a
281 size_t size; local
284 size = 3;
292 size = (uint32_t)size_byte * sizeof(uint32_t) + 2;
300 while (size--) {
313 if (!(size--) || !try_next_byte(memory, stream, &op2)) {
355 if (!(size--) || !try_next_byte(memory, stream, &op2)) {
373 if (!(size--) || !try_next_byte(memory, stream, &op2)) {
383 if (!(size--) || !try_next_byte(memory, stream, &op2)) {
396 if (!(size
[all...]
/system/core/libctest/
H A Dctest.c34 int size; member in struct:__anon387
60 assert(testSuite->size <= MAX_TESTS);
62 int index = testSuite->size;
66 testSuite->size++;
74 failures, suite->size);
117 for (suite->currentTest = 0; suite->currentTest < suite->size;
146 printf("SUCCESS! %d tests ran successfully.\n", suite->size);
/system/core/libcutils/
H A Darray.c28 int size; member in struct:Array
94 int size = array->size; local
95 int result = ensureCapacity(array, size + 1);
99 array->contents[size] = pointer;
100 array->size++;
106 assert(index < array->size);
120 int newSize = array->size - 1;
128 array->size = newSize;
144 int oldSize = array->size;
[all...]

Completed in 147 milliseconds

1234