Home
last modified time | relevance | path

Searched refs:count (Results 1 - 25 of 8185) sorted by relevance

12345678910>>...328

/third_party/rust/crates/memchr/bench/src/memmem/
H A Dinputs.rs25 pub count: usize,
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
[all...]
/third_party/ffmpeg/libavcodec/
H A Dtiff_common.c73 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, cons argument
144 ff_tadd_doubles_metadata(int count, const char *name, const char *sep, GetByteContext *gb, int le, AVDictionary **metadata) ff_tadd_doubles_metadata() argument
165 ff_tadd_shorts_metadata(int count, const char *name, const char *sep, GetByteContext *gb, int le, int is_signed, AVDictionary **metadata) ff_tadd_shorts_metadata() argument
187 ff_tadd_bytes_metadata(int count, const char *name, const char *sep, GetByteContext *gb, int le, int is_signed, AVDictionary **metadata) ff_tadd_bytes_metadata() argument
208 ff_tadd_string_metadata(int count, const char *name, GetByteContext *gb, int le, AVDictionary **metadata) ff_tadd_string_metadata() argument
253 ff_tread_tag(GetByteContext *gb, int le, unsigned *tag, unsigned *type, unsigned *count, int *next) ff_tread_tag() argument
[all...]
/third_party/backends/sanei/
H A Dsanei_directio.c46 sanei_insb (unsigned int port, unsigned char *addr, unsigned long count) in sanei_insb() argument
48 _inps8 (port, (unsigned char *) addr, count); in sanei_insb()
52 sanei_insl (unsigned int port, unsigned char *addr, unsigned long count) in sanei_insl() argument
54 _inps32 (port, (unsigned long *) addr, count); in sanei_insl()
59 unsigned long count) in sanei_outsb()
61 _outps8 (port, (unsigned char *) addr, count); in sanei_outsb()
66 unsigned long count) in sanei_outsl()
68 _outps32 (port, (unsigned long *) addr, count); in sanei_outsl()
105 sanei_insb (unsigned int port, unsigned char *addr, unsigned long count) in sanei_insb() argument
107 insb (port, addr, count); in sanei_insb()
58 sanei_outsb(unsigned int port, const unsigned char *addr, unsigned long count) sanei_outsb() argument
65 sanei_outsl(unsigned int port, const unsigned char *addr, unsigned long count) sanei_outsl() argument
111 sanei_insl(unsigned int port, unsigned char *addr, unsigned long count) sanei_insl() argument
117 sanei_outsb(unsigned int port, const unsigned char *addr, unsigned long count) sanei_outsb() argument
124 sanei_outsl(unsigned int port, const unsigned char *addr, unsigned long count) sanei_outsl() argument
161 sanei_insb(unsigned int port, unsigned char *addr, unsigned long count) sanei_insb() argument
167 sanei_insl(unsigned int port, unsigned char *addr, unsigned long count) sanei_insl() argument
173 sanei_outsb(unsigned int port, const unsigned char *addr, unsigned long count) sanei_outsb() argument
180 sanei_outsl(unsigned int port, const unsigned char *addr, unsigned long count) sanei_outsl() argument
217 sanei_insb(unsigned int port, unsigned char *addr, unsigned long count) sanei_insb() argument
226 sanei_insl(unsigned int port, unsigned char *addr, unsigned long count) sanei_insl() argument
235 sanei_outsb(unsigned int port, const unsigned char *addr, unsigned long count) sanei_outsb() argument
245 sanei_outsl(unsigned int port, const unsigned char *addr, unsigned long count) sanei_outsl() argument
286 sanei_insb(unsigned int port, void *addr, unsigned long count) sanei_insb() argument
293 sanei_insl(unsigned int port, void *addr, unsigned long count) sanei_insl() argument
300 sanei_outsb(unsigned int port, const void *addr, unsigned long count) sanei_outsb() argument
307 sanei_outsl(unsigned int port, const void *addr, unsigned long count) sanei_outsl() argument
341 sanei_insb(__sane_unused__ unsigned int port, __sane_unused__ unsigned char *addr, __sane_unused__ unsigned long count) sanei_insb() argument
348 sanei_insl(__sane_unused__ unsigned int port, __sane_unused__ unsigned char *addr, __sane_unused__ unsigned long count) sanei_insl() argument
355 sanei_outsb(__sane_unused__ unsigned int port, __sane_unused__ const unsigned char *addr, __sane_unused__ unsigned long count) sanei_outsb() argument
362 sanei_outsl(__sane_unused__ unsigned int port, __sane_unused__ const unsigned char *addr, __sane_unused__ unsigned long count) sanei_outsl() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-ot-layout.c38 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()
100 unsigned int count = STATIC_ARRAY_SIZE; test_ot_layout_table_get_feature_tags() local
141 unsigned int count = STATIC_ARRAY_SIZE; test_ot_layout_script_get_language_tags() local
180 unsigned int count = STATIC_ARRAY_SIZE; test_ot_layout_language_get_feature_tags() local
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dtsdtfmsy.cpp132 UBool IntlTestDateFormatSymbols::UnicodeStringsArePrefixes(int32_t count, int32_t prefixLen, const UnicodeString *prefixArray, const UnicodeString *baseArray) 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()
[all...]
/third_party/rust/crates/memchr/bench/src/memchr/
H A Dimp.rs6 Memchr::new(b1, haystack).count() in memchr1_count()
10 let mut count = 0; in memchr1_libc_count() variables
13 count += 1; in memchr1_libc_count()
16 count in memchr1_libc_count()
20 let mut count = 0; in fallback1_count() variables
23 count += 1; in fallback1_count()
26 count in fallback1_count()
30 let mut count = 0; in naive1_count() variables
33 count += 1; in naive1_count()
36 count in naive1_count()
44 let mut count = 0; fallback2_count() variables
54 let mut count = 0; naive2_count() variables
68 let mut count = 0; fallback3_count() variables
78 let mut count = 0; naive3_count() variables
88 let mut count = 0; memrchr1_count() variables
99 let mut count = 0; memrchr1_libc_count() variables
109 let mut count = 0; memrchr2_count() variables
119 let mut count = 0; memrchr3_count() variables
[all...]
H A Dmod.rs29 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...]
/third_party/node/deps/npm/node_modules/promise-retry/test/
H A Dtest.js9 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
[all...]
/third_party/node/test/parallel/
H A Dtest-whatwg-events-add-event-listener-options-signal.js14 let count = 0;
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
[all...]
/third_party/skia/tests/
H A DGrFinishedFlushTest.cpp20 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()
34 ERRORF(reporter, "Expected count failed to reach %d within 1 second of busy waiting.", 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 in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all...]
/third_party/skia/third_party/externals/freetype/src/pshinter/
H A Dpshglob.c46 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
234 psh_blues_set_zones( PSH_Blues target, FT_UInt count, FT_Short* blues, FT_UInt count_others, FT_Short* other_blues, FT_Int fuzz, FT_Int family ) psh_blues_set_zones() argument
370 FT_UInt count; psh_blues_scale_zones() local
531 FT_UInt count; psh_calc_max_height() local
554 FT_UInt count; psh_blues_snap_stem() local
655 FT_UInt count; psh_globals_new() local
[all...]
/third_party/skia/src/opts/
H A DSkSwizzler_opts.h23 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; in grayA_to_rgbA_portable()
93 inverted_CMYK_to_RGB1_portable(uint32_t* dst, const uint32_t* src, int count) inverted_CMYK_to_RGB1_portable() argument
110 inverted_CMYK_to_BGR1_portable(uint32_t* dst, const uint32_t* src, int count) inverted_CMYK_to_BGR1_portable() argument
157 premul_should_swapRB(bool kSwapRB, uint32_t* dst, const uint32_t* src, int count) premul_should_swapRB() argument
193 RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_rgbA() argument
197 RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_bgrA() argument
201 RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_BGRA() argument
234 expand_grayA(bool kPremul, uint32_t dst[], const uint8_t* src, int count) expand_grayA() argument
287 grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) grayA_to_RGBA() argument
291 grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) grayA_to_rgbA() argument
296 inverted_cmyk_to(Format format, uint32_t* dst, const uint32_t* src, int count) inverted_cmyk_to() argument
333 inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_RGB1() argument
337 inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_BGR1() argument
352 premul_should_swapRB(bool kSwapRB, uint32_t* dst, const uint32_t* src, int count) premul_should_swapRB() argument
426 RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_rgbA() argument
430 RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_bgrA() argument
434 RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_BGRA() argument
458 grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) grayA_to_RGBA() argument
504 grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) grayA_to_rgbA() argument
542 inverted_cmyk_to(Format format, uint32_t* dst, const uint32_t* src, int count) inverted_cmyk_to() argument
614 inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_RGB1() argument
618 inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_BGR1() argument
634 premul_should_swapRB(bool kSwapRB, uint32_t* dst, const uint32_t* src, int count) premul_should_swapRB() argument
703 RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_rgbA() argument
707 RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_bgrA() argument
711 RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_BGRA() argument
728 grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) grayA_to_RGBA() argument
761 grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) grayA_to_rgbA() argument
793 inverted_cmyk_to(Format format, uint32_t* dst, const uint32_t* src, int count) inverted_cmyk_to() argument
862 inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_RGB1() argument
866 inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_BGR1() argument
882 premul_should_swapRB(bool kSwapRB, uint32_t* dst, const uint32_t* src, int count) premul_should_swapRB() argument
949 RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_rgbA() argument
953 RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_bgrA() argument
957 RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_BGRA() argument
973 grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) grayA_to_RGBA() argument
994 grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) grayA_to_rgbA() argument
1023 inverted_cmyk_to(Format format, uint32_t* dst, const uint32_t* src, int count) inverted_cmyk_to() argument
1088 inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_RGB1() argument
1092 inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_BGR1() argument
1098 RGBA_to_rgbA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_rgbA() argument
1102 RGBA_to_bgrA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_bgrA() argument
1106 RGBA_to_BGRA(uint32_t* dst, const uint32_t* src, int count) RGBA_to_BGRA() argument
1110 grayA_to_RGBA(uint32_t dst[], const uint8_t* src, int count) grayA_to_RGBA() argument
1114 grayA_to_rgbA(uint32_t dst[], const uint8_t* src, int count) grayA_to_rgbA() argument
1118 inverted_CMYK_to_RGB1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_RGB1() argument
1122 inverted_CMYK_to_BGR1(uint32_t dst[], const uint32_t* src, int count) inverted_CMYK_to_BGR1() argument
1129 gray_to_RGB1_portable(uint32_t dst[], const uint8_t* src, int count) gray_to_RGB1_portable() argument
1138 gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) gray_to_RGB1() argument
1176 gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) gray_to_RGB1() argument
1221 gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) gray_to_RGB1() argument
1248 gray_to_RGB1(uint32_t dst[], const uint8_t* src, int count) gray_to_RGB1() argument
1254 RGB_to_RGB1_portable(uint32_t dst[], const uint8_t* src, int count) RGB_to_RGB1_portable() argument
1266 RGB_to_BGR1_portable(uint32_t dst[], const uint8_t* src, int count) RGB_to_BGR1_portable() argument
1279 insert_alpha_should_swaprb(bool kSwapRB, uint32_t dst[], const uint8_t* src, int count) insert_alpha_should_swaprb() argument
1332 RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) RGB_to_RGB1() argument
1335 RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) RGB_to_BGR1() argument
1339 insert_alpha_should_swaprb(bool kSwapRB, uint32_t dst[], const uint8_t* src, int count) insert_alpha_should_swaprb() argument
1372 RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) RGB_to_RGB1() argument
1375 RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) RGB_to_BGR1() argument
1379 RGB_to_RGB1(uint32_t dst[], const uint8_t* src, int count) RGB_to_RGB1() argument
1382 RGB_to_BGR1(uint32_t dst[], const uint8_t* src, int count) RGB_to_BGR1() argument
[all...]
/third_party/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_impl_lite.cc79 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()
172 BackUp(int count) BackUp() argument
186 Skip(int count) Skip() argument
251 BackUp(int count) BackUp() argument
262 Skip(int count) Skip() argument
334 BackUp(int count) BackUp() argument
404 BackUp(int count) BackUp() argument
414 Skip(int count) Skip() argument
[all...]
/third_party/nghttp2/src/
H A Dbuffer.h42 // Writes up to min(wleft(), |count|) bytes from buffer pointed by
44 size_t write(const void *src, size_t count) { in write()
45 count = std::min(count, wleft()); in write()
47 last = std::copy_n(p, count, last); in write()
48 return count; in write()
50 size_t write(size_t count) { in write()
51 count = std::min(count, wleft()); in write()
52 last += count; in write()
[all...]
/third_party/protobuf/objectivec/
H A DGPBArray.h52 @property(nonatomic, readonly) NSUInteger count; variable
81 * @param count The capacity needed for the array.
83 * @return A newly instanced GPBInt32Array with a capacity of count.
85 + (instancetype)arrayWithCapacity:(NSUInteger)count;
96 * @param count The number of elements to copy into the array.
101 count:(NSUInteger)count;
115 * @param count The capacity needed for the array.
117 * @return A newly initialized GPBInt32Array with a capacity of count.
119 - (instancetype)initWithCapacity:(NSUInteger)count;
224 @property(nonatomic, readonly) NSUInteger count; global() variable
396 @property(nonatomic, readonly) NSUInteger count; global() variable
568 @property(nonatomic, readonly) NSUInteger count; global() variable
740 @property(nonatomic, readonly) NSUInteger count; global() variable
912 @property(nonatomic, readonly) NSUInteger count; global() variable
1084 @property(nonatomic, readonly) NSUInteger count; global() variable
1256 @property(nonatomic, readonly) NSUInteger count; global() variable
[all...]
/third_party/skia/src/core/
H A DSkBitmapProcState_matrixProcs.cpp17 * 2. [fx, fx+dx, fx+2dx, fx+3dx, ... fx+(count-1)dx] are all <= maxX
26 int count, unsigned max) { in can_truncate_to_fixed_for_decal()
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
58 // can_truncate_to_fixed_for_decal() checked only that stepping fx+=dx count-1 in decal_nofilter_scale()
59 // times doesn't overflow fx, so we take unusual care not to step count times. in decal_nofilter_scale()
60 for (; count > 2; count -= 2) { in decal_nofilter_scale()
66 SkASSERT(count < in decal_nofilter_scale()
24 can_truncate_to_fixed_for_decal(SkFixed fx, SkFixed dx, int count, unsigned max) can_truncate_to_fixed_for_decal() argument
75 nofilter_scale(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) nofilter_scale() argument
121 nofilter_affine(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) nofilter_affine() argument
166 filter_scale(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) filter_scale() argument
203 filter_affine(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) filter_affine() argument
[all...]
/third_party/protobuf/php/tests/
H A DMapFieldTest.php24 $this->assertEquals(2, count($arr));
29 $this->assertEquals(0, count($arr));
40 $this->assertEquals(4, count($arr));
45 $this->assertEquals(0, count($arr));
54 $this->assertEquals(3, count($arr));
58 $this->assertEquals(0, count($arr));
88 $this->assertEquals(1, count($arr));
90 $this->assertEquals(0, count($arr));
96 $this->assertEquals(2, count($arr));
99 $this->assertEquals(0, count(
[all...]
/third_party/ltp/testcases/kernel/syscalls/pwrite/
H A Dpwrite01.c46 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; setup() local
98 int count; cleanup() local
[all...]
/third_party/ltp/utils/sctp/func_tests/
H A Dtest_1_to_1_recvmsg.c76 int count; in main() local
129 count = recvmsg(-1, &inmessage, flag); in main()
130 if (count != -1 || errno != EBADF) in main()
132 "descriptor count:%d, errno:%d", count, errno); in main()
142 count = recvmsg(fd, &inmessage, flag); in main()
143 if (count == -1) in main()
147 if (count != -1 || err_no != ENOTSOCK) in main()
149 "count:%d, errno:%d", count, err_n in main()
[all...]
H A Dtest_1_to_1_sendmsg.c81 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_n in main()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dglthread_draw.c63 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()
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 in upload_vertices()
80 upload_multi_indices(struct gl_context *ctx, unsigned total_count, unsigned index_size, unsigned draw_count, const GLsizei *count, const GLvoid *const *indices, const GLvoid **out_indices) upload_multi_indices() argument
230 unsigned count = num_instances / instance_div; upload_vertices() local
262 GLsizei count; global() member
279 const GLsizei count = cmd->count; _mesa_unmarshal_DrawArrays() local
290 draw_arrays_async(struct gl_context *ctx, GLenum mode, GLint first, GLsizei count, GLsizei instance_count, GLuint baseinstance) draw_arrays_async() argument
310 GLsizei count; global() member
328 const GLsizei count = cmd->count; _mesa_unmarshal_DrawArraysInstancedBaseInstance() local
354 draw_arrays_async_user(struct gl_context *ctx, GLenum mode, GLint first, GLsizei count, GLsizei instance_count, GLuint baseinstance, unsigned user_buffer_mask, const struct glthread_attrib_binding *buffers) draw_arrays_async_user() argument
378 draw_arrays(GLenum mode, GLint first, GLsizei count, GLsizei instance_count, GLuint baseinstance, bool compiled_into_dlist) draw_arrays() argument
440 const GLsizei *count = (GLsizei *)variable_data; _mesa_unmarshal_MultiDrawArrays() local
463 multi_draw_arrays_async(struct gl_context *ctx, GLenum mode, const GLint *first, const GLsizei *count, GLsizei draw_count, unsigned user_buffer_mask, const struct glthread_attrib_binding *buffers) multi_draw_arrays_async() argument
500 _mesa_marshal_MultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei draw_count) _mesa_marshal_MultiDrawArrays() argument
571 GLsizei count; global() member
590 const GLsizei count = cmd->count; _mesa_unmarshal_DrawElementsInstancedARB() local
609 GLsizei count; global() member
622 const GLsizei count = cmd->count; _mesa_unmarshal_DrawRangeElementsBaseVertex() local
636 draw_elements_async(struct gl_context *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLint basevertex, GLuint baseinstance, bool index_bounds_valid, GLuint min_index, GLuint max_index) draw_elements_async() argument
674 GLsizei count; global() member
697 const GLsizei count = cmd->count; _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() local
743 draw_elements_async_user(struct gl_context *ctx, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLint basevertex, GLuint baseinstance, bool index_bounds_valid, GLuint min_index, GLuint max_index, struct gl_buffer_object *index_buffer, unsigned user_buffer_mask, const struct glthread_attrib_binding *buffers) draw_elements_async_user() argument
775 draw_elements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLint basevertex, GLuint baseinstance, bool index_bounds_valid, GLuint min_index, GLuint max_index, bool compiled_into_dlist) draw_elements() argument
906 const GLsizei *count = (GLsizei *)variable_data; _mesa_unmarshal_MultiDrawElementsBaseVertex() local
949 multi_draw_elements_async(struct gl_context *ctx, GLenum mode, const GLsizei *count, GLenum type, const GLvoid *const *indices, GLsizei draw_count, const GLsizei *basevertex, struct gl_buffer_object *index_buffer, unsigned user_buffer_mask, const struct glthread_attrib_binding *buffers) multi_draw_elements_async() argument
996 _mesa_marshal_MultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid *const *indices, GLsizei draw_count, const GLsizei *basevertex) _mesa_marshal_MultiDrawElementsBaseVertex() argument
1147 _mesa_marshal_DrawArrays(GLenum mode, GLint first, GLsizei count) _mesa_marshal_DrawArrays() argument
1153 _mesa_marshal_DrawArraysInstancedARB(GLenum mode, GLint first, GLsizei count, GLsizei instance_count) _mesa_marshal_DrawArraysInstancedARB() argument
1160 _mesa_marshal_DrawArraysInstancedBaseInstance(GLenum mode, GLint first, GLsizei count, GLsizei instance_count, GLuint baseinstance) _mesa_marshal_DrawArraysInstancedBaseInstance() argument
1168 _mesa_marshal_DrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) _mesa_marshal_DrawElements() argument
1175 _mesa_marshal_DrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) _mesa_marshal_DrawRangeElements() argument
1183 _mesa_marshal_DrawElementsInstancedARB(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count) _mesa_marshal_DrawElementsInstancedARB() argument
1190 _mesa_marshal_DrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) _mesa_marshal_DrawElementsBaseVertex() argument
1197 _mesa_marshal_DrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) _mesa_marshal_DrawRangeElementsBaseVertex() argument
1205 _mesa_marshal_DrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLint basevertex) _mesa_marshal_DrawElementsInstancedBaseVertex() argument
1213 _mesa_marshal_DrawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLuint baseinstance) _mesa_marshal_DrawElementsInstancedBaseInstance() argument
1221 _mesa_marshal_DrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instance_count, GLint basevertex, GLuint baseinstance) _mesa_marshal_DrawElementsInstancedBaseVertexBaseInstance() argument
1230 _mesa_marshal_MultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid *const *indices, GLsizei draw_count) _mesa_marshal_MultiDrawElementsEXT() argument
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_EXT_CTRLS.c36 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()
78 ("\t%s:%u: VIDIOC_G_EXT_CTRLS, count=0%x, ret_get=%i, errno_get=%i\n", 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 in test_VIDIOC_G_EXT_CTRLS_zero_invalid_count()
379 __u32 count; test_VIDIOC_S_EXT_CTRLS_zero_invalid_count() local
566 __u32 count; test_VIDIOC_TRY_EXT_CTRLS_zero_invalid_count() local
[all...]
/third_party/skia/bench/
H A DInterpBench.cpp37 virtual void performTest(int16_t dst[], float x, float dx, int count) = 0;
62 void performTest(int16_t dst[], float fx, float dx, int count) override {
65 for (int i = 0; i < count; i += 4) {
66 dst[i + 0] = TILE(curr, count); curr += step;
67 dst[i + 1] = TILE(curr, count); curr += step;
68 dst[i + 2] = TILE(curr, count); curr += step;
69 dst[i + 3] = TILE(curr, count); curr += step;
81 void performTest(int16_t dst[], float fx, float dx, int count) override {
85 for (int i = 0; i < count; i += 4) {
87 dst[i + 0] = TILE(tmp, count);
[all...]
/third_party/bounds_checking_function/src/
H A Dstrncpy_s.c23 #define SECUREC_STRNCPY_PARAM_OK(strDest, destMax, strSrc, count) \
25 ((count) <= SECUREC_STRING_MAX_LEN || (count) == ((size_t)(-1))) && (count) > 0))
27 #define SECUREC_STRNCPY_PARAM_OK(strDest, destMax, strSrc, count) \
29 (count) <= SECUREC_STRING_MAX_LEN && (count) > 0))
35 SECUREC_INLINE errno_t CheckSrcCountRange(char *strDest, size_t destMax, const char *strSrc, size_t count) in CheckSrcCountRange() argument
38 size_t tmpCount = count; in CheckSrcCountRange()
41 /* Use destMax and count a in CheckSrcCountRange()
58 strncpy_error(char *strDest, size_t destMax, const char *strSrc, size_t count) strncpy_error() argument
108 strncpy_s(char *strDest, size_t destMax, const char *strSrc, size_t count) strncpy_s() argument
[all...]
/third_party/cups-filters/cupsfilters/
H A Dimage-colorspace.c134 int count) /* I - Number of pixels */ in cupsImageCMYKToBlack()
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()
183 while (count > 0) in cupsImageCMYKToCMY()
221 count --; in cupsImageCMYKToCMY()
224 while (count > 0) in cupsImageCMYKToCMY()
250 count in cupsImageCMYKToCMY()
131 cupsImageCMYKToBlack( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageCMYKToBlack() argument
173 cupsImageCMYKToCMY( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageCMYKToCMY() argument
260 cupsImageCMYKToCMYK( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageCMYKToCMYK() argument
332 cupsImageCMYKToRGB( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageCMYKToRGB() argument
429 cupsImageCMYKToWhite( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageCMYKToWhite() argument
475 cupsImageLut(cups_ib_t *pixels, int count, const cups_ib_t *lut) cupsImageLut() argument
493 cupsImageRGBAdjust(cups_ib_t *pixels, int count, int saturation, int hue) cupsImageRGBAdjust() argument
589 cupsImageRGBToBlack( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageRGBToBlack() argument
616 cupsImageRGBToCMY( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageRGBToCMY() argument
691 cupsImageRGBToCMYK( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageRGBToCMYK() argument
781 cupsImageRGBToRGB( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageRGBToRGB() argument
871 cupsImageRGBToWhite( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageRGBToWhite() argument
973 cupsImageWhiteToBlack( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageWhiteToBlack() argument
998 cupsImageWhiteToCMY( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageWhiteToCMY() argument
1028 cupsImageWhiteToCMYK( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageWhiteToCMYK() argument
1059 cupsImageWhiteToRGB( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageWhiteToRGB() argument
1101 cupsImageWhiteToWhite( const cups_ib_t *in, cups_ib_t *out, int count) cupsImageWhiteToWhite() argument
[all...]

Completed in 19 milliseconds

12345678910>>...328