/system/core/include/cutils/ |
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);
|
/system/core/include/zipfile/ |
H A D | zipfile.h | 30 zipfile_t init_zipfile(const void* data, size_t size); 40 // Return the size of the entry. 46 // The buffer must be 1.001 times the buffer size returned
|
/system/core/init/ |
H A D | builtins.c | 140 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 D | devices.c | 421 unsigned int size; local
|
H A D | keychords.c | 38 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 D | logo.c | 44 unsigned size; member in struct:FB
|
H A D | property_service.c | 116 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 D | backtrace-arm.c | 91 /* 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 D | ctest.c | 34 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/arch-x86/ |
H A D | sse2-memset16-atom.S | 60 .size name, .-name
|
H A D | sse2-memset32-atom.S | 60 .size name, .-name
|
/system/core/libcutils/ |
H A D | array.c | 28 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...] |
H A D | ashmem-dev.c | 40 * `size' is the size of the region, in page-aligned bytes 42 int ashmem_create_region(const char *name, size_t size) argument 59 ret = ioctl(fd, ASHMEM_SET_SIZE, size);
|
H A D | ashmem-host.c | 35 int ashmem_create_region(const char *ignored, size_t size) argument 69 if (ftruncate(fd, size) == -1)
|
H A D | buffer.c | 47 Buffer* bufferWrap(char* data, size_t capacity, size_t size) { argument 55 buffer->size = size; 72 buffer->size = 0; 78 assert(buffer->size < buffer->expected); 81 buffer->data + buffer->size, 82 buffer->expected - buffer->size); 85 buffer->size += bytesRead; 86 return buffer->size; 93 buffer->remaining = buffer->size; [all...] |
H A D | buffer.h | 31 * Byte buffer of known size. Keeps track of how much data has been read 47 size_t size; member in struct:__anon388 56 #define bufferReadComplete(buffer) (buffer->expected == buffer->size) 71 Buffer* bufferWrap(char* data, size_t capacity, size_t size); 87 * errno (see read()). Returns 0 for EOF. Updates buffer->size and returns 88 * the new size after a succesful read. 90 * Precondition: buffer->size < buffer->expected
|
H A D | hashmap.c | 40 size_t size; member in struct:Hashmap 67 map->size = 0; 94 return map->size; 103 if (map->size > (map->bucketCount * 3 / 4)) { 204 map->size++; 269 map->size++; 296 map->size--;
|
H A D | memory.c | 20 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument 22 size >>= 1; 23 while (size--) { 30 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument 32 size >>= 2; 33 while (size--) { 62 * Copy src to string dst of size siz. At most siz-1 characters
|
H A D | mq.c | 56 typedef void BytesListener(Credentials credentials, char* bytes, size_t size); 92 /** Packet size. Used for BYTES. */ 93 size_t size; member in union:__anon395::__anon396 282 peerProxy->outgoingHeader.size = sizeof(Header); 451 ssize_t size = bufferWrite(outgoing, peerProxy->fd->fd); local 452 if (size < 0) { 582 ALOGD("Expecting %d bytes.", header->size); 585 if (bufferPrepareForRead(peerProxy->inputBuffer, header->size) == -1) { 587 (unsigned int) header->size); 722 ssize_t size; local 944 ssize_t size = bufferRead(in, peerProxy->fd->fd); local 1133 peerSendBytes(pid_t pid, const char* bytes, size_t size) argument 1200 peerSendSharedBytes(pid_t pid, char* bytes, size_t size, void (*free)(void* context), void* context) argument [all...] |
H A D | open_memstream.c | 71 size_t allocSize; /* size of buffer */ 80 * Ensure that we have enough storage to write "size" bytes at the 88 DBUG(("+++ ensureCap off=%d size=%d\n", stream->offset, writeSize)); 105 DBUG(("+++ realloc %p->%p to size=%d\n", 123 static int write_memstream(void* cookie, const char* buf, int size) argument 127 if (ensureCapacity(stream, size) < 0) 139 memcpy(*stream->bufp + stream->offset, buf, size); 140 stream->offset += size; 156 return size;
|
H A D | private.h | 249 void * irealloc P((void * pointer, int size));
|