Searched defs:size (Results 1 - 25 of 141) sorted by relevance

123456

/system/core/libcutils/arch-mips/
H A Dandroid_memset.c20 void _memset16(uint16_t* dst, uint16_t value, size_t size);
21 void _memset32(uint32_t* dst, uint32_t value, size_t size);
23 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument
25 _memset16(dst, value, size);
28 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument
30 _memset32(dst, value, size);
/system/core/include/utils/
H A DCallStack.h64 size_t size() const { return mFrameLines.size(); } function in class:android::CallStack
H A DSharedBuffer.h36 /*! allocate a buffer of size 'size' and acquire() it.
39 static SharedBuffer* alloc(size_t size);
54 //! get size of the buffer
55 inline size_t size() const;
63 //! get the size of a SharedBuffer object from its data
70 SharedBuffer* editResize(size_t size) const;
76 SharedBuffer* reset(size_t size) const;
113 size_t SharedBuffer::size() const { function in class:android::SharedBuffer
H A DKeyedVector.h54 inline size_t size() const { return mVector.size(); } function in class:android::KeyedVector
59 //! sets the capacity. capacity can never be reduced less than size()
60 inline ssize_t setCapacity(size_t size) { return mVector.setCapacity(size); } argument
189 if (index<size()) {
H A DVectorImpl.h34 * reduces code size.
63 inline size_t size() const { return mCount; } function in class:android::VectorImpl
66 ssize_t setCapacity(size_t size);
67 ssize_t resize(size_t size);
/system/core/libsparse/
H A Dsparse_crc32.c101 uint32_t sparse_crc32(uint32_t crc_in, const void *buf, int size) argument
107 while (size--)
/system/extras/ext4_utils/
H A Dcrc16.c49 u16 ext4_crc16(u16 crc_in, const void *buf, int size) argument
54 while (size--)
H A Dcontents.h25 unsigned long size; member in struct:dentry
/system/core/fastbootd/commands/
H A Dflash.h51 int flash_write(int partition, int data, ssize_t size, ssize_t skip);
53 static inline ssize_t read_data_once(int fd, char *buffer, ssize_t size) { argument
57 while ((len = TEMP_FAILURE_RETRY(read(fd, (void *) &buffer[readcount], size - readcount))) > 0) {
/system/core/libutils/
H A DJenkinsHash.cpp18 * optimized for code size and portability, rather than raw speed. But speed
33 uint32_t JenkinsHashMixBytes(uint32_t hash, const uint8_t* bytes, size_t size) { argument
34 hash = JenkinsHashMix(hash, (uint32_t)size);
36 for (i = 0; i < (size & -4); i += 4) {
40 if (size & 3) {
42 data |= ((size & 3) > 1) ? (bytes[i+1] << 8) : 0;
43 data |= ((size & 3) > 2) ? (bytes[i+2] << 16) : 0;
49 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size) { argument
50 hash = JenkinsHashMix(hash, (uint32_t)size);
52 for (i = 0; i < (size
[all...]
H A DSharedBuffer.cpp27 SharedBuffer* SharedBuffer::alloc(size_t size) argument
29 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size));
32 sb->mSize = size;
52 memcpy(sb->data(), data(), size());
/system/extras/tests/bionic/libstdc++/
H A Dtest_cstring.cpp69 volatile std::size_t size; member in namespace:android
H A Dtest_cstdio.cpp155 volatile std::size_t size; local
/system/core/init/
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;
/system/core/libcutils/
H A Dashmem-dev.c40 * `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 Dashmem-host.c46 int ashmem_create_region(const char *ignored __unused, size_t size) argument
80 if (ftruncate(fd, size) != -1 && unlink(name) != -1) {
H A Dmemory.c20 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
/system/core/libion/kernel-headers/linux/
H A Dion_test.h27 __u64 size; member in struct:ion_test_rw_data
/system/core/libion/original-kernel-headers/linux/
H A Dion_test.h25 * @ptr: a pointer to an area at least as large as size
27 * @size: size to read or write
33 __u64 size; member in struct:ion_test_rw_data
/system/core/libzipfile/
H A Dtest_zipfile.c12 size_t size, unsize; local
41 size = ftell(f);
44 buf = malloc(size);
45 fread(buf, 1, size, f);
47 zip = init_zipfile(buf, size);
76 size = unsize * 1.001;
77 scratch = malloc(size);
79 err = decompress_zipentry(entry, scratch, size);
/system/keymaster/
H A Dgoogle_keymaster_utils.cpp21 uint8_t* dup_buffer(const void* buf, size_t size) { argument
22 uint8_t* retval = new uint8_t[size];
24 memcpy(retval, buf, size);
/system/core/include/mincrypt/
H A Dhash-internal.h43 int size; member in struct:HASH_VTAB
57 #define HASH_size(ctx) (ctx)->f->size
/system/core/libpixelflinger/codeflinger/tinyutils/
H A DSharedBuffer.cpp29 SharedBuffer* SharedBuffer::alloc(size_t size) argument
31 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size));
34 sb->mSize = size;
54 memcpy(sb->data(), data(), size());
H A DSharedBuffer.h37 /*! allocate a buffer of size 'size' and acquire() it.
40 static SharedBuffer* alloc(size_t size);
58 //! get size of the buffer
59 inline size_t size() const;
67 //! get the size of a SharedBuffer object from its data
74 SharedBuffer* editResize(size_t size) const;
80 SharedBuffer* reset(size_t size) const;
120 size_t SharedBuffer::size() const { function in class:android::tinyutils::SharedBuffer
H A DVectorImpl.h34 * reduces code size.
64 inline size_t size() const { return mCount; } function in class:android::tinyutils::VectorImpl
67 ssize_t setCapacity(size_t size);

Completed in 619 milliseconds

123456