/third_party/rust/crates/memchr/bench/src/memmem/ |
D | inputs.rs | 25 pub count: usize, field 33 Query { name: "fn-strength", needle: "fn strength", count: 0 }, 37 count: 0, 39 Query { name: "fn-quux", needle: "fn quux(", count: 0 }, 45 count: 1, 49 Query { name: "fn-is-empty", needle: "fn is_empty(", count: 17 }, 50 Query { name: "fn", needle: "fn", count: 2985 }, 51 Query { name: "paren", needle: "(", count: 30193 }, 52 Query { name: "let", needle: "let", count: 4737 }, 59 Query { name: "john-watson", needle: "John Watson", count: 0 }, [all …]
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-ot-layout.c | 38 unsigned int count = STATIC_ARRAY_SIZE; in test_ot_layout_table_get_script_tags() local 41 while (count == STATIC_ARRAY_SIZE) in test_ot_layout_table_get_script_tags() 43 total = hb_ot_layout_table_get_script_tags (face, HB_OT_TAG_GSUB, offset, &count, tags); in test_ot_layout_table_get_script_tags() 45 offset += count; in test_ot_layout_table_get_script_tags() 46 if (count) in test_ot_layout_table_get_script_tags() 48 g_assert_cmpuint (3, ==, count); in test_ot_layout_table_get_script_tags() 54 count = STATIC_ARRAY_SIZE; in test_ot_layout_table_get_script_tags() 56 while (count == STATIC_ARRAY_SIZE) in test_ot_layout_table_get_script_tags() 58 total = hb_ot_layout_table_get_script_tags (face, HB_OT_TAG_GPOS, offset, &count, tags); in test_ot_layout_table_get_script_tags() 60 offset += count; in test_ot_layout_table_get_script_tags() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tsdtfmsy.cpp | 132 UBool IntlTestDateFormatSymbols::UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const … in UnicodeStringsArePrefixes() argument 135 for (i = 0; i < count; i++) { in UnicodeStringsArePrefixes() 201 int32_t count = 0; in TestSymbols() local 202 const UnicodeString *eras = en.getEras(count); in TestSymbols() 203 if(count == 0) { in TestSymbols() 224 fr.setEras(eras, count); in TestSymbols() 225 if( *en.getEras(count) != *fr.getEras(count)) { in TestSymbols() 229 const UnicodeString *months = en.getMonths(count); in TestSymbols() 230 fr.setMonths(months, count); in TestSymbols() 231 if( *en.getMonths(count) != *fr.getMonths(count)) { in TestSymbols() [all …]
|
D | srchtest.cpp | 223 int count = 0; in toCharString() local 226 for (; count < length; count ++) { in toCharString() 227 UChar ch = text[count]; in toCharString() 260 int32_t count = 0; in assertEqualWithStringSearch() local 262 int32_t matchindex = search->offset[count]; in assertEqualWithStringSearch() 279 matchlength = search->size[count]; in assertEqualWithStringSearch() 292 count ++; in assertEqualWithStringSearch() 304 matchindex = search->offset[count]; in assertEqualWithStringSearch() 319 count = count == 0 ? 0 : count - 1; in assertEqualWithStringSearch() 320 matchindex = search->offset[count]; in assertEqualWithStringSearch() [all …]
|
/third_party/skia/src/opts/ |
D | SkSwizzler_opts.h | 23 static void RGBA_to_rgbA_portable(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_rgbA_portable() argument 24 for (int i = 0; i < count; i++) { in RGBA_to_rgbA_portable() 39 static void RGBA_to_bgrA_portable(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_bgrA_portable() argument 40 for (int i = 0; i < count; i++) { in RGBA_to_bgrA_portable() 55 static void RGBA_to_BGRA_portable(uint32_t* dst, const uint32_t* src, int count) { in RGBA_to_BGRA_portable() argument 56 for (int i = 0; i < count; i++) { in RGBA_to_BGRA_portable() 68 static void grayA_to_RGBA_portable(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_RGBA_portable() argument 69 for (int i = 0; i < count; i++) { in grayA_to_RGBA_portable() 80 static void grayA_to_rgbA_portable(uint32_t dst[], const uint8_t* src, int count) { in grayA_to_rgbA_portable() argument 81 for (int i = 0; i < count; i++) { in grayA_to_rgbA_portable() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | tiff_common.c | 73 static const char *auto_sep(int count, const char *sep, int i, int columns) in auto_sep() argument 80 return columns < count ? "\n" : ""; in auto_sep() 99 int ff_tadd_rational_metadata(int count, const char *name, const char *sep, in ff_tadd_rational_metadata() argument 106 if (count >= INT_MAX / sizeof(int64_t) || count <= 0) in ff_tadd_rational_metadata() 108 if (bytestream2_get_bytes_left(gb) < count * sizeof(int64_t)) in ff_tadd_rational_metadata() 111 av_bprint_init(&bp, 10 * count, AV_BPRINT_SIZE_UNLIMITED); in ff_tadd_rational_metadata() 113 for (i = 0; i < count; i++) { in ff_tadd_rational_metadata() 116 av_bprintf(&bp, "%s%7"PRId32":%-7"PRId32, auto_sep(count, sep, i, 4), nom, denom); in ff_tadd_rational_metadata() 123 int ff_tadd_long_metadata(int count, const char *name, const char *sep, in ff_tadd_long_metadata() argument 129 if (count >= INT_MAX / sizeof(int32_t) || count <= 0) in ff_tadd_long_metadata() [all …]
|
/third_party/rust/crates/memchr/bench/src/memchr/ |
D | imp.rs | 6 Memchr::new(b1, haystack).count() in memchr1_count() 10 let mut count = 0; in memchr1_libc_count() localVariable 13 count += 1; in memchr1_libc_count() 16 count in memchr1_libc_count() 20 let mut count = 0; in fallback1_count() localVariable 23 count += 1; in fallback1_count() 26 count in fallback1_count() 30 let mut count = 0; in naive1_count() localVariable 33 count += 1; in naive1_count() 36 count in naive1_count() [all …]
|
D | mod.rs | 29 search.byte1.count, in all() 37 search.byte1.count, in all() 45 search.byte1.count, in all() 53 search.byte1.count, in all() 62 search.byte1.count, in all() 70 search.byte1.count, in all() 78 search.byte1.count, in all() 86 search.byte1.count, in all() 99 search.byte1.count, in all() 112 search.byte1.count, in all() [all …]
|
D | inputs.rs | 23 SearchByte { byte: b'<', count: 0 }, 24 SearchByte { byte: b'>', count: 0 }, 25 SearchByte { byte: b'=', count: 0 }, 28 SearchByte { byte: b'z', count: 151 }, 29 SearchByte { byte: b'R', count: 275 }, 30 SearchByte { byte: b'J', count: 120 }, 33 SearchByte { byte: b'b', count: 6124 }, 34 SearchByte { byte: b'p', count: 6989 }, 35 SearchByte { byte: b'.', count: 6425 }, 38 SearchByte { byte: b'a', count: 35301 }, [all …]
|
/third_party/node/deps/npm/node_modules/promise-retry/test/ |
D | test.js | 9 var count = 0; 12 count += 1; 16 if (count <= 2) { 25 expect(count).to.be(3); 32 var count = 0; 35 count += 1; 36 expect(count).to.equal(number); 40 if (count <= 2) { 49 expect(count).to.be(3); 56 var count = 0; [all …]
|
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
D | pshglob.c | 46 FT_UInt count = stdw->count; in psh_globals_scale_widths() local 52 if ( count > 0 ) in psh_globals_scale_widths() 58 count--; in psh_globals_scale_widths() 60 for ( ; count > 0; count--, width++ ) in psh_globals_scale_widths() 94 for ( n = 0; n < dimension->stdw.count; n++ ) 146 FT_UInt count_top = top_table->count; in psh_blues_set_zones_0() 147 FT_UInt count_bot = bot_table->count; in psh_blues_set_zones_0() 156 FT_UInt count; in psh_blues_set_zones_0() local 169 count = count_bot; in psh_blues_set_zones_0() 178 count = count_top; in psh_blues_set_zones_0() [all …]
|
/third_party/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_sendmsg.c | 81 int count; in main() local 152 count = sendmsg(-1, &outmessage, flag); in main() 153 if (count != -1 || errno != EBADF) in main() 155 "descriptor count:%d, errno:%d", count, errno); in main() 165 count = sendmsg(fd, &outmessage, flag); in main() 166 if (count == -1) in main() 170 if (count != -1 || err_no != ENOTSOCK) in main() 172 "count:%d, errno:%d", count, err_no); in main() 177 count = sendmsg(lstn_sk, &outmessage, flag); in main() 178 if (count != -1 || errno != EPIPE) in main() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-tag-table.hh | 1627 unsigned int *count /* IN/OUT */, in hb_ot_tags_from_complex_language() argument 1634 *count = 1; in hb_ot_tags_from_complex_language() 1641 *count = 1; in hb_ot_tags_from_complex_language() 1648 *count = 1; in hb_ot_tags_from_complex_language() 1655 *count = 1; in hb_ot_tags_from_complex_language() 1662 *count = 1; in hb_ot_tags_from_complex_language() 1669 *count = 1; in hb_ot_tags_from_complex_language() 1676 *count = 1; in hb_ot_tags_from_complex_language() 1683 *count = 1; in hb_ot_tags_from_complex_language() 1690 *count = 1; in hb_ot_tags_from_complex_language() [all …]
|
/third_party/skia/tests/ |
D | GrFinishedFlushTest.cpp | 20 int* count = (int*)ctx; in testing_finished_proc() local 21 *count += 1; in testing_finished_proc() 24 static void busy_wait_for_callback(int* count, int expectedValue, GrDirectContext* dContext, in busy_wait_for_callback() argument 32 } while (*count != expectedValue && (end - begin) < std::chrono::seconds(1)); in busy_wait_for_callback() 33 if (*count != expectedValue) { in busy_wait_for_callback() 53 int count = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 57 flushInfoFinishedProc.fFinishedContext = (void*)&count; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 61 REPORTER_ASSERT(reporter, count == 0 || count == 1); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 63 busy_wait_for_callback(&count, 1, dContext, reporter); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 80 REPORTER_ASSERT(reporter, count == 1 || count == 2); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() [all …]
|
/third_party/node/test/parallel/ |
D | test-whatwg-events-add-event-listener-options-signal.js | 14 let count = 0; variable 16 count++; 22 strictEqual(count, 1, 'Adding a signal still adds a listener'); 24 strictEqual(count, 2, 'The listener was not added with the once flag'); 27 strictEqual(count, 2, 'Aborting on the controller removes the listener'); 34 strictEqual(count, 2, 'Passing an aborted signal never adds the handler'); 39 let count = 0; 41 count++; 48 strictEqual(count, 0, 'The listener was still removed'); 53 let count = 0; [all …]
|
/third_party/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_impl_lite.cc | 79 void ArrayInputStream::BackUp(int count) { in BackUp() argument 82 GOOGLE_CHECK_LE(count, last_returned_size_); in BackUp() 83 GOOGLE_CHECK_GE(count, 0); in BackUp() 84 position_ -= count; in BackUp() 88 bool ArrayInputStream::Skip(int count) { in Skip() argument 89 GOOGLE_CHECK_GE(count, 0); in Skip() 91 if (count > size_ - position_) { in Skip() 95 position_ += count; in Skip() 126 void ArrayOutputStream::BackUp(int count) { in BackUp() argument 129 GOOGLE_CHECK_LE(count, last_returned_size_); in BackUp() [all …]
|
/third_party/node/test/fixtures/wpt/dom/events/ |
D | AddEventListenerOptions-signal.any.js | 4 let count = 0; 6 count++; 12 assert_equals(count, 1, "Adding a signal still adds a listener"); 14 assert_equals(count, 2, "The listener was not added with the once flag"); 17 assert_equals(count, 2, "Aborting on the controller removes the listener"); 20 assert_equals(count, 2, "Passing an aborted signal never adds the handler"); 24 let count = 0; 26 count++; 33 assert_equals(count, 0, "The listener was still removed"); 37 let count = 0; [all …]
|
/third_party/musl/libc-test/src/functionalext/time/ |
D | strftime_ext.c | 47 size_t count = strftime(buffer, sizeof(buffer) - 1, "%c", timeptr); in strftime_0100() local 48 EXPECT_TRUE("strftime_0100", count > 0); in strftime_0100() 75 size_t count = strftime(buffer, sizeof(buffer) - 1, "%c %Z%z", timeptr); in strftime_0200() local 76 EXPECT_TRUE("strftime_0200", count > 0); in strftime_0200() 102 size_t count = strftime(buffer, sizeof(buffer) - 1, "%k", timeptr); in strftime_0300() local 103 EXPECT_TRUE("strftime_0300", count > 0); in strftime_0300() 128 size_t count = strftime(buffer, sizeof(buffer) - 1, "%k", timeptr); in strftime_0400() local 129 EXPECT_TRUE("strftime_0400", count > 0); in strftime_0400() 154 size_t count = strftime(buffer, sizeof(buffer) - 1, "%I", timeptr); in strftime_0500() local 155 EXPECT_TRUE("strftime_0500", count > 0); in strftime_0500() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite01.c | 46 int count, err_flg = 0; in check_file_contents() local 48 for (count = 0; count < NBUFS; count++) { in check_file_contents() 49 l_seek(fildes, count * K1, SEEK_SET, count * K1); in check_file_contents() 51 SAFE_READ(1, fildes, read_buf[count], K1); in check_file_contents() 53 if (memcmp(write_buf[count], read_buf[count], K1) != 0) { in check_file_contents() 54 tst_res(TFAIL, "read/write buffer[%d] data mismatch", count); in check_file_contents() 85 int count; in setup() local 87 for (count = 0; count < NBUFS; count++) { in setup() 88 write_buf[count] = SAFE_MALLOC(K1); in setup() 89 read_buf[count] = SAFE_MALLOC(K1); in setup() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread_draw.c | 63 upload_indices(struct gl_context *ctx, unsigned count, unsigned index_size, in upload_indices() argument 69 assert(count); in upload_indices() 71 _mesa_glthread_upload(ctx, *indices, index_size * count, in upload_indices() 82 const GLsizei *count, const GLvoid *const *indices, in upload_multi_indices() argument 96 if (count[i] == 0) in upload_multi_indices() 99 unsigned size = count[i] * index_size; in upload_multi_indices() 151 unsigned count = num_instances / instance_div; in upload_vertices() local 152 if (count * instance_div != num_instances) in upload_vertices() 153 count++; in upload_vertices() 156 size = stride * (count - 1) + element_size; in upload_vertices() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
D | RepeatedField.cs | 61 private int count = 0; field in Google.Protobuf.Collections.RepeatedField 83 for (int i = 0; i < count; i++) in Clone() 89 clone.count = count; in Clone() 138 EnsureSize(count + (length / codec.FixedSize)); in AddEntriesFrom() 145 array[count++] = reader(ref ctx); in AddEntriesFrom() 178 if (count == 0) in CalculateSize() 193 int size = count * CodedOutputStream.ComputeRawVarint32Size(tag); in CalculateSize() 196 size += count * CodedOutputStream.ComputeRawVarint32Size(codec.EndTag); in CalculateSize() 198 for (int i = 0; i < count; i++) in CalculateSize() 213 for (int i = 0; i < count; i++) in CalculatePackedDataSize() [all …]
|
/third_party/protobuf/objectivec/ |
D | GPBArray.h | 52 @property(nonatomic, readonly) NSUInteger count; 85 + (instancetype)arrayWithCapacity:(NSUInteger)count; 101 count:(NSUInteger)count; 119 - (instancetype)initWithCapacity:(NSUInteger)count; 165 - (void)addValues:(const int32_t [__nullable])values count:(NSUInteger)count; 224 @property(nonatomic, readonly) NSUInteger count; 257 + (instancetype)arrayWithCapacity:(NSUInteger)count; 273 count:(NSUInteger)count; 291 - (instancetype)initWithCapacity:(NSUInteger)count; 337 - (void)addValues:(const uint32_t [__nullable])values count:(NSUInteger)count; [all …]
|
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_EXT_CTRLS.c | 36 controls.count = 0; in test_VIDIOC_G_EXT_CTRLS_zero() 49 CU_ASSERT_EQUAL(controls.count, 0); in test_VIDIOC_G_EXT_CTRLS_zero() 66 __u32 count; in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() local 68 count = 0; in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 71 controls.count = count; in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 79 __FILE__, __LINE__, count, ret_get, errno_get); in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 81 count = 1; in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 86 controls.count = count; in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 95 __FILE__, __LINE__, count, ret_get_invalid, in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() 117 count <<= 1; in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count() [all …]
|
/third_party/skia/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 26 int count, unsigned max) { in can_truncate_to_fixed_for_decal() argument 27 SkASSERT(count > 0); in can_truncate_to_fixed_for_decal() 47 const uint64_t lastFx = fx + sk_64_mul(dx, count - 1); in can_truncate_to_fixed_for_decal() 57 static void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) { in decal_nofilter_scale() argument 60 for (; count > 2; count -= 2) { in decal_nofilter_scale() 66 SkASSERT(count <= 2); in decal_nofilter_scale() 67 switch (count) { in decal_nofilter_scale() 76 uint32_t xy[], int count, int x, int y) { in nofilter_scale() argument 90 memset(xy, 0, count * sizeof(uint16_t)); in nofilter_scale() 100 if (can_truncate_to_fixed_for_decal(fixedFx, fixedDx, count, maxX)) { in nofilter_scale() [all …]
|
/third_party/cups-filters/cupsfilters/ |
D | image-colorspace.c | 134 int count) /* I - Number of pixels */ in cupsImageCMYKToBlack() argument 140 while (count > 0) in cupsImageCMYKToBlack() 150 count --; in cupsImageCMYKToBlack() 153 while (count > 0) in cupsImageCMYKToBlack() 163 count --; in cupsImageCMYKToBlack() 176 int count) /* I - Number of pixels */ in cupsImageCMYKToCMY() argument 183 while (count > 0) in cupsImageCMYKToCMY() 221 count --; in cupsImageCMYKToCMY() 224 while (count > 0) in cupsImageCMYKToCMY() 250 count --; in cupsImageCMYKToCMY() [all …]
|