/third_party/gn/src/gn/ |
H A D | functions_target_rust_unittest.cc | 219 EXPECT_EQ(item_collector.back()->AsConfig()->own_values().rustflags().size(), in TEST_F() 223 EXPECT_EQ(item_collector.back()->AsConfig()->own_values().rustenv().size(), in TEST_F() 260 .size(), in TEST_F() 300 item_collector.back()->AsTarget()->rust_values().aliased_deps().size(), in TEST_F()
|
H A D | input_conversion_unittest.cc | 55 ASSERT_EQ(4u, result.list_value().size()); in TEST_F() 66 ASSERT_EQ(2u, result.list_value().size()); in TEST_F() 98 ASSERT_EQ(2u, result.list_value().size()); in TEST_F() 174 EXPECT_EQ(1u, e_value->list_value().size()); in TEST_F()
|
H A D | ninja_action_target_writer.cc | 70 target_->output_type() == Target::ACTION ? 1u : target_->sources().size(); in Run() 214 for (size_t i = 0; i < sources.size(); i++) { in WriteSourceRules() 270 size_t first_output_index = output_files->size(); in WriteOutputFilesForBuildLine() 276 for (size_t i = first_output_index; i < output_files->size(); i++) { in WriteOutputFilesForBuildLine()
|
H A D | tokenizer.cc | 167 while (cur_byte < buf.size()) { in ByteOffsetOfNthLine() 180 DCHECK(offset < buffer.size()); in IsNewline() 381 DCHECK(cur_ < input_.size()); 405 } else if (cur_char() == '/' && cur_ + 1 < input_.size() &&
|
/third_party/ffmpeg/libswscale/tests/ |
H A D | floatimg_cmp.c | 60 const char *usage = "floatimg_cmp -pixel_format <pix_fmt> -size <image_size> -ref <testfile>\n"; 77 int i, x, y, p, size, count; in main() local 99 } else if (!strcmp(argv[i], "-size")) { in main() 102 fprintf(stderr, "invalid video size %s\n", argv[i + 1]); in main() 169 size = fread(ptr, 1, w*4, fp); in main() 170 if (size != w*4) { in main() 171 fprintf(stderr, "read error: %d\n", size); in main()
|
/third_party/ffmpeg/libavutil/ |
H A D | vulkan.h | 69 size_t *size, const char *entrypoint, void **opaque); 281 int ff_vk_add_push_constant(FFVulkanPipeline *pl, int offset, int size, 297 * Writes the workgroup size for a shader. 365 size_t size, void *src); 400 int ff_vk_create_buf(FFVulkanContext *s, FFVkBuffer *buf, size_t size,
|
/third_party/fsverity-utils/lib/ |
H A D | compute_digest.c | 53 u64 size) in report_merkle_tree_size() 56 int err = cbs->merkle_tree_size(cbs->ctx, size); in report_merkle_tree_size() 59 libfsverity_error_msg("error processing Merkle tree size"); in report_merkle_tree_size() 86 const void *descriptor, size_t size) in report_descriptor() 89 int err = cbs->descriptor(cbs->ctx, descriptor, size); in report_descriptor() 101 * block size, and salt. 153 * size of the Merkle tree. These values are only needed for the in compute_root_hash() 156 * prescribe any special meaning to the total size of the Merkle tree. in compute_root_hash() 261 libfsverity_error_msg("unsupported block size (%u)", in libfsverity_compute_digest() 266 libfsverity_error_msg("unsupported salt size ( in libfsverity_compute_digest() 52 report_merkle_tree_size(const struct libfsverity_metadata_callbacks *cbs, u64 size) report_merkle_tree_size() argument 85 report_descriptor(const struct libfsverity_metadata_callbacks *cbs, const void *descriptor, size_t size) report_descriptor() argument [all...] |
/third_party/alsa-utils/axfer/test/ |
H A D | container-test.c | 143 unsigned int size; in callback() local 148 size = frame_count * samples_per_frame * in callback() 150 buf = malloc(size); in callback() 185 err = memcmp(buf, frame_buffer, size); in callback()
|
/third_party/backends/backend/ |
H A D | kvs20xx_cmd.c | 306 void *buf, unsigned max_size, unsigned *size) in kvs20xx_read_image_data() 328 *size = c.data_size; in kvs20xx_read_image_data() 329 DBG (DBG_INFO, "kvs20xx_read_image_data: read %d, status %d\n", *size, status); in kvs20xx_read_image_data() 330 memcpy (buf, c.data, *size); in kvs20xx_read_image_data() 305 kvs20xx_read_image_data(struct scanner * s, unsigned page, unsigned side, void *buf, unsigned max_size, unsigned *size) kvs20xx_read_image_data() argument
|
/third_party/curl/lib/ |
H A D | curl_ntlm_wb.c | 286 ssize_t size = in ntlm_wb_response() local 288 if(size == -1) { in ntlm_wb_response() 293 else if(size == 0) in ntlm_wb_response() 296 if(Curl_dyn_addn(&b, buf, size)) in ntlm_wb_response()
|
/third_party/benchmark/src/ |
H A D | json_reporter.cc | 35 tmp.reserve(s.size()); in StrEscape() 146 for (size_t i = 0; i < info.caches.size(); ++i) { 152 out << cache_indent << FormatKV("size", static_cast<int64_t>(CI.size)) 158 if (i != info.caches.size() - 1) out << ",";
|
/third_party/cups-filters/filter/pdftopdf/ |
H A D | nup.cc | 162 static inline float lin(Position pos,float size) // {{{ in lin() argument 165 else if (pos==0) return size/2; in lin() 166 else if (pos==1) return size; in lin() 167 return size*(pos+1)/2; in lin()
|
/third_party/gptfdisk/ |
H A D | gptpart.cc | 370 uint64_t size; local 381 size = (lastLBA - firstLBA + 1); 382 cout << "Partition size: " << size << " sectors (" 383 << BytesToIeee(size, blockSize) << ")\n";
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Relation.java | 114 // if (set == null || set.size() == 0) 155 return values.size() == 0 ? null : values.iterator().next(); in putAll() 203 if (set.size() == 0) { in remove() 212 public int size() { in size() method in Relation 213 return data.size(); in size()
|
H A D | StringRange.java | 93 lengthToArrays.put(item.size(), item); in compact() 115 private static LinkedList<Ranges> compact(int size, Set<Ranges> inputRanges) { in compact() argument 117 for (int i = size-1; i >= 0; --i) { in compact() 217 public Integer size() { in size() method in StringRange.Ranges
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | kernel.h | 453 extern void *ioremap(unsigned long phys_addr, unsigned long size); 454 extern void *ioremap_cached(unsigned long phys_addr, unsigned long size); 455 extern void *ioremap_nocache(unsigned long phys_addr, unsigned long size); 457 extern int remap_pfn_range(unsigned long addr, unsigned long pfn, unsigned long size, unsigned long prot);
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | RBTMXExporter.java | 176 for (int i=0; i < group_v.size(); i++) { in export() 180 for (int j=1; j < bundle_v.size(); j++) { in export() 184 for (int k=0; k < groups.size(); k++) { in export() 204 for (int k=0; k < all_groups_v.size(); k++) { in export()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DataDrivenNumberFormatTestUtility.java | 206 && columnNames.indexOf("breaks") != columnNames.size() - 1) { in run() 211 int columnNamesSize = columnNames.size(); in run() 213 int columnValuesSize = columnValues.size(); in run() 298 if (parts.size() < 3) { in setTupleField()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | Relation.java | 116 // if (set == null || set.size() == 0) 157 return values.size() == 0 ? null : values.iterator().next(); in putAll() 205 if (set.size() == 0) { in remove() 214 public int size() { in size() method in Relation 215 return data.size(); in size()
|
H A D | StringRange.java | 100 lengthToArrays.put(item.size(), item); in compact() 122 private static LinkedList<Ranges> compact(int size, Set<Ranges> inputRanges) { in compact() argument 124 for (int i = size-1; i >= 0; --i) { in compact() 224 public Integer size() { in size() method in StringRange.Ranges
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | DataDrivenNumberFormatTestUtility.java | 209 && columnNames.indexOf("breaks") != columnNames.size() - 1) { in run() 214 int columnNamesSize = columnNames.size(); in run() 216 int columnValuesSize = columnValues.size(); in run() 301 if (parts.size() < 3) { in setTupleField()
|
/third_party/libphonenumber/tools/java/data/src/com/google/i18n/phonenumbers/ |
H A D | CombineGeoData.java | 106 String[] sortedPrefixes = new String[phonePrefixMap.size()]; in createSortedPrefixArray() 148 int phonePrefixMapSize = phonePrefixMap.size(); in createRanges() 197 if (rangeIndex < ranges.size() - 1) { in hasConflict() 225 if (combinedPrefixes.size() == 0) { in combine()
|
/third_party/libuv/src/ |
H A D | uv-common.h | 397 void *uv__calloc(size_t count, size_t size); 400 void* uv__malloc(size_t size); 402 void* uv__realloc(void* ptr, size_t size); 403 void* uv__reallocf(void* ptr, size_t size);
|
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/ |
H A D | MetadataFilter.java | 276 && fieldMap.get(parent).size() != excludableChildFields.size()) { in parseFieldMapFromString() 302 if (otherChildren.size() != excludableChildFields.size()) { in computeComplement()
|
/third_party/libuv/test/ |
H A D | benchmark-pump.c | 44 static void buf_alloc(uv_handle_t* handle, size_t size, uv_buf_t* buf); 353 static void buf_alloc(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in buf_alloc() argument 360 ab = malloc(size + sizeof(*ab)); in buf_alloc() 361 ab->uv_buf_t.len = size; in buf_alloc()
|