/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
EncodedValue.java | 43 int size = 0; local 47 size = 1; 51 size = 0; // So we don't read into value. 55 size = 0; // So we don't read into value. 60 size = 0; 63 // All others encode value_arg as (size - 1), so... 64 size = valueArg + 1; 68 if (size != 0) { 69 value = new byte[size]; 70 for (int i = 0; i < size; i++) [all...] |
/bionic/libc/bionic/ |
scandir.cpp | 41 size_t size() { function in class:ScandirResult 87 size_t size = ((original->d_reclen + 3) & ~3); local 88 dirent* copy = reinterpret_cast<dirent*>(malloc(size)); 126 size_t size = names.size(); local 128 return size;
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
e820.h | 41 __u64 size; member in struct:e820entry
|
/bionic/libc/kernel/uapi/drm/ |
sis_drm.h | 42 unsigned long size; member in struct:__anon321 47 unsigned long offset, size; member in struct:__anon322 51 unsigned long offset, size; member in struct:__anon323
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_hashlimit.h | 41 __u32 size; member in struct:hashlimit_cfg 64 __u32 size; member in struct:hashlimit_cfg1
|
/bionic/tests/ |
stubs_test.cpp | 352 long size = sysconf(_SC_GETGR_R_SIZE_MAX); local 353 ASSERT_GT(size, 0); 354 char buf[size]; 357 ASSERT_EQ(0, getgrnam_r("root", &grp_storage, buf, size, &grp));
|
/bootable/recovery/edify/ |
expr.h | 56 #define VAL_STRING 1 // data will be NULL-terminated; size doesn't count null 61 ssize_t size; member in struct:__anon1243
|
/bootable/recovery/minzip/ |
SysUtil.c | 56 size_t size; local 73 if (fscanf(mapf, "%zu %u\n%u\n", &size, &blksize, &range_count) != 3) { 78 blocks = ((size-1) / blksize) + 1; 80 if (size == 0 || blksize == 0 || blocks > SIZE_MAX / blksize || range_count == 0) { 81 LOGE("invalid data in block map file: size %zu, blksize %u, range_count %u\n", 82 size, blksize, range_count); 152 pMap->length = size;
|
/bootable/recovery/update_verifier/ |
update_verifier.cpp | 72 (range_count != ranges.size()-1)) { 78 for (size_t i = 1; i < ranges.size(); i += 2) { 92 size_t size = (range_end - range_start) * BLOCKSIZE; local 93 std::vector<uint8_t> buf(size); 94 if (!android::base::ReadFully(fd.get(), buf.data(), size)) { 127 if (lines.size() != 2 && lines.size() != 4) { 129 lines.size()); 133 for (size_t i = 0; i < lines.size(); i += 2) {
|
/build/tools/releasetools/ |
rangelib.py | 204 def size(self): member in class:RangeSet 205 """Returns the total size of the RangeSet (ie, how many integers 208 >>> RangeSet("10-19 30-34").size() 290 if self.size() <= n:
|
/cts/common/host-side/util/tests/src/com/android/compatibility/common/util/ |
DynamicConfigHandlerTest.java | 106 assertTrue(configMap.get("override-config-list-3").size() == 0); method 112 assertEquals(1, configMap.get("override-config-list-2").size());
|
/cts/tests/aslr/src/ |
AslrMallocTest.cpp | 49 /* when started using this argument followed by the allocation size, 50 * performs malloc(size) and prints out the address */ 66 auto size = readlink("/proc/self/exe", path, sizeof(path)); local 67 ASSERT_TRUE(size > 0 && size < PATH_MAX); 68 path[size] = '\0'; 113 for (auto size : allocSizes) { 114 ALOGV("running %zu iterations for allocation size %zu", 115 iterations, size); 122 GetAddress(size, address) 154 size_t size; local [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
AssertHelpers.java | 39 int size = data.length; local 42 for (i = 0; i < size; ++i) { 48 assertTrue(message, i < size);
|
/cts/tests/tests/tv/src/android/tv/settings/cts/ |
SettingsLeanbackTest.java | 90 assertTrue(resolveInfoList.size() > 0);
|
/cts/tools/dasm/src/java_cup/ |
symbol_set.java | 43 /** size of the set */ 44 public int size() {return _all.size();}; method in class:symbol_set 164 if (other == null || other.size() != size()) return false; 166 /* once we know they are the same size, then improper subset does test */
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationSetItem.java | 31 /** the size of an entry int the set: one {@code uint} */ 53 this.items = new AnnotationItem[annotations.size()]; 63 * Gets the write size for the given set. 66 * @return {@code > 0;} the write size 69 // This includes an int size at the start of the list. 72 return (annotations.size() * ENTRY_WRITE_SIZE) + 4; 117 int size = items.length; local 119 for (int i = 0; i < size; i++) { 135 int size = items.length; local 139 out.annotate(4, " size: " + Hex.u4(size)) [all...] |
StringDataItem.java | 44 * Gets the write size for a given value. 47 * @return {@code >= 2}; the write size, in bytes 78 out.annotate(bytes.size() + 1, value.toQuoted());
|
UniformListItem.java | 27 * item in the list, in particular, must have the same write size and 33 * output list size (which is four bytes) and before the first item.</p> 39 /** the size of the list header */ 80 throw new IllegalArgumentException("items.size() == 0"); 88 * Calculates the write size for the given list. 91 * @return {@code >= 0;} the write size 95 * This class assumes all included items are the same size, 99 return (items.size() * first.writeSize()) + getAlignment(items); 167 int size = i.writeSize(); local 169 theSize = size; 190 int size = items.size(); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/annotation/ |
AnnotationsList.java | 41 int size = list1.size(); local 43 if (size != list2.size()) { 44 throw new IllegalArgumentException("list1.size() != list2.size()"); 47 AnnotationsList result = new AnnotationsList(size); 49 for (int i = 0; i < size; i++) { 62 * @param size the size of the lis [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
Bits.java | 37 int size = (max + 0x1f) >> 5; local 38 return new int[size];
|
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationSetItem.java | 31 /** the size of an entry int the set: one {@code uint} */ 54 this.items = new AnnotationItem[annotations.size()]; 64 * Gets the write size for the given set. 67 * @return {@code > 0;} the write size 70 // This includes an int size at the start of the list. 73 return (annotations.size() * ENTRY_WRITE_SIZE) + 4; 118 int size = items.length; local 120 for (int i = 0; i < size; i++) { 136 int size = items.length; local 140 out.annotate(4, " size: " + Hex.u4(size)) [all...] |
ProtoIdItem.java | 57 this.parameterTypes = (parameters.size() == 0) ? null 69 int size = parameters.size(); local 70 StringBuilder sb = new StringBuilder(size + 1); 74 for (int i = 0; i < size; i++) { 137 int size = params.size(); local 139 for (int i = 0; i < size; i++) {
|
StringDataItem.java | 44 * Gets the write size for a given value. 47 * @return {@code >= 2}; the write size, in bytes 78 out.annotate(bytes.size() + 1, value.toQuoted());
|
UniformListItem.java | 25 * item in the list, in particular, must have the same write size and 31 * output list size (which is four bytes) and before the first item.</p> 37 /** the size of the list header */ 78 throw new IllegalArgumentException("items.size() == 0"); 86 * Calculates the write size for the given list. 89 * @return {@code >= 0;} the write size 93 * This class assumes all included items are the same size, 97 return (items.size() * first.writeSize()) + getAlignment(items); 165 int size = i.writeSize(); local 167 theSize = size; 188 int size = items.size(); local [all...] |
/dalvik/dx/src/com/android/dx/io/ |
CodeReader.java | 81 int size = decodedInstructions.length; local 83 for (int i = 0; i < size; i++) {
|