Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 2670) sorted by relevance

12345678910>>...107

/external/libxml2/
Dxmlwriter.c518 int count; in xmlTextWriterStartDocument() local
558 count = xmlOutputBufferWriteString(writer->out, "<?xml version="); in xmlTextWriterStartDocument()
559 if (count < 0) in xmlTextWriterStartDocument()
561 sum += count; in xmlTextWriterStartDocument()
562 count = xmlOutputBufferWrite(writer->out, 1, &writer->qchar); in xmlTextWriterStartDocument()
563 if (count < 0) in xmlTextWriterStartDocument()
565 sum += count; in xmlTextWriterStartDocument()
567 count = xmlOutputBufferWriteString(writer->out, version); in xmlTextWriterStartDocument()
569 count = xmlOutputBufferWriteString(writer->out, "1.0"); in xmlTextWriterStartDocument()
570 if (count < 0) in xmlTextWriterStartDocument()
[all …]
/external/chromium/third_party/icu/source/test/intltest/
Dtsdtfmsy.cpp162 int32_t count = 0; in TestSymbols() local
163 const UnicodeString *eras = en.getEras(count); in TestSymbols()
164 if(count == 0) { in TestSymbols()
185 fr.setEras(eras, count); in TestSymbols()
186 if( *en.getEras(count) != *fr.getEras(count)) { in TestSymbols()
190 const UnicodeString *months = en.getMonths(count); in TestSymbols()
191 fr.setMonths(months, count); in TestSymbols()
192 if( *en.getMonths(count) != *fr.getMonths(count)) { in TestSymbols()
196 const UnicodeString *shortMonths = en.getShortMonths(count); in TestSymbols()
197 fr.setShortMonths(shortMonths, count); in TestSymbols()
[all …]
Dsrchtest.cpp216 int count = 0; in toCharString() local
219 for (; count < length; count ++) { in toCharString()
220 UChar ch = text[count]; in toCharString()
253 int count = 0; in assertEqualWithStringSearch() local
255 int32_t matchindex = search->offset[count]; in assertEqualWithStringSearch()
264 int32_t matchlength = search->size[count]; in assertEqualWithStringSearch()
276 count ++; in assertEqualWithStringSearch()
288 matchindex = search->offset[count]; in assertEqualWithStringSearch()
302 count = count == 0 ? 0 : count - 1; in assertEqualWithStringSearch()
303 matchindex = search->offset[count]; in assertEqualWithStringSearch()
[all …]
/external/icu4c/test/intltest/
Dtsdtfmsy.cpp162 int32_t count = 0; in TestSymbols() local
163 const UnicodeString *eras = en.getEras(count); in TestSymbols()
164 if(count == 0) { in TestSymbols()
185 fr.setEras(eras, count); in TestSymbols()
186 if( *en.getEras(count) != *fr.getEras(count)) { in TestSymbols()
190 const UnicodeString *months = en.getMonths(count); in TestSymbols()
191 fr.setMonths(months, count); in TestSymbols()
192 if( *en.getMonths(count) != *fr.getMonths(count)) { in TestSymbols()
196 const UnicodeString *shortMonths = en.getShortMonths(count); in TestSymbols()
197 fr.setShortMonths(shortMonths, count); in TestSymbols()
[all …]
Dsrchtest.cpp218 int count = 0; in toCharString() local
221 for (; count < length; count ++) { in toCharString()
222 UChar ch = text[count]; in toCharString()
255 int count = 0; in assertEqualWithStringSearch() local
257 int32_t matchindex = search->offset[count]; in assertEqualWithStringSearch()
272 int32_t matchlength = search->size[count]; in assertEqualWithStringSearch()
285 count ++; in assertEqualWithStringSearch()
297 matchindex = search->offset[count]; in assertEqualWithStringSearch()
311 count = count == 0 ? 0 : count - 1; in assertEqualWithStringSearch()
312 matchindex = search->offset[count]; in assertEqualWithStringSearch()
[all …]
/external/e2fsprogs/tests/f_expand/
Dexpect.1.gz
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/regexp/
Dspecial_characters.js38 var count = 0; variable
42 …testcases[count++] = new TestCase ( SECTION, "'^abcdefghi'.match(/\^abc/)", String(["^abc"]), Stri…
45 …testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/^abc/)", String(["abc"]), String(…
48 …testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/fghi$/)", String(["ghi"]), String…
51 …testcases[count++] = new TestCase ( SECTION, "'eeeefghi'.match(/e*/)", String(["eeee"]), String('e…
54 …testcases[count++] = new TestCase ( SECTION, "'abcdeeeefghi'.match(/e+/)", String(["eeee"]), Strin…
57 …testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/abc?de/)", String(["abcde"]), Str…
60 …testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/c.e/)", String(["cde"]), String('…
63 testcases[count++] = new TestCase ( SECTION, "'abcewirjskjdabciewjsdf'.match(/(abc).+\\1'/)",
67 …testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/xyz|def/)", String(["def"]), Stri…
[all …]
/external/chromium/base/
Dpe_image_unittest.cc19 int* count = reinterpret_cast<int*>(cookie); in ExportsCallback() local
20 (*count)++; in ExportsCallback()
32 int* count = reinterpret_cast<int*>(cookie); in ImportsCallback() local
33 (*count)++; in ImportsCallback()
43 int* count = reinterpret_cast<int*>(cookie); in SectionsCallback() local
44 (*count)++; in SectionsCallback()
53 int* count = reinterpret_cast<int*>(cookie); in RelocsCallback() local
54 (*count)++; in RelocsCallback()
64 int* count = reinterpret_cast<int*>(cookie); in ImportChunksCallback() local
65 (*count)++; in ImportChunksCallback()
[all …]
/external/freetype/src/pshinter/
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
169 count = count_bot; in psh_blues_set_zones_0()
178 count = count_top; in psh_blues_set_zones_0()
[all …]
/external/webkit/WebKit/win/
DWebCoreStatistics.cpp95 /* [retval][out] */ UINT* count) in javaScriptObjectsCount() argument
97 if (!count) in javaScriptObjectsCount()
101 *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.objectCount(); in javaScriptObjectsCount()
106 /* [retval][out] */ UINT* count) in javaScriptGlobalObjectsCount() argument
108 if (!count) in javaScriptGlobalObjectsCount()
112 *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.globalObjectCount(); in javaScriptGlobalObjectsCount()
117 /* [retval][out] */ UINT* count) in javaScriptProtectedObjectsCount() argument
119 if (!count) in javaScriptProtectedObjectsCount()
123 *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.protectedObjectCount(); in javaScriptProtectedObjectsCount()
128 /* [retval][out] */ UINT* count) in javaScriptProtectedGlobalObjectsCount() argument
[all …]
/external/expat/tests/
Dchardata.c38 storage->count = -1; in CharData_Init()
49 if (storage->count < 0) in CharData_AppendString()
50 storage->count = 0; in CharData_AppendString()
51 if ((len + storage->count) > maxchars) { in CharData_AppendString()
52 len = (maxchars - storage->count); in CharData_AppendString()
54 if (len + storage->count < sizeof(storage->data)) { in CharData_AppendString()
55 memcpy(storage->data + storage->count, s, len); in CharData_AppendString()
56 storage->count += len; in CharData_AppendString()
68 if (storage->count < 0) in CharData_AppendXMLChars()
69 storage->count = 0; in CharData_AppendXMLChars()
[all …]
/external/skia/src/core/
DSkColorTable.cpp22 SkColorTable::SkColorTable(int count) in SkColorTable() argument
25 if (count < 0) in SkColorTable()
26 count = 0; in SkColorTable()
27 else if (count > 256) in SkColorTable()
28 count = 256; in SkColorTable()
30 fCount = SkToU16(count); in SkColorTable()
31 fColors = (SkPMColor*)sk_malloc_throw(count * sizeof(SkPMColor)); in SkColorTable()
32 memset(fColors, 0, count * sizeof(SkPMColor)); in SkColorTable()
42 int count = src.count(); in SkColorTable() local
43 fCount = SkToU16(count); in SkColorTable()
[all …]
DSkBitmapProcState_matrixProcs.cpp27 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
28 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count);
156 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) in decal_nofilter_scale() argument
161 if (count >= 8) { in decal_nofilter_scale()
200 count -= 8; in decal_nofilter_scale()
202 } while (count >= 8); in decal_nofilter_scale()
206 for (i = (count >> 2); i > 0; --i) in decal_nofilter_scale()
213 count &= 3; in decal_nofilter_scale()
217 for (i = count; i > 0; --i) { in decal_nofilter_scale()
222 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) in decal_filter_scale() argument
[all …]
DSkPackBits.cpp55 #define PB_MEMSET(addr, value, count) \ argument
57 if ((count) > 15) { \
58 memset(addr, value, count); \
60 small_memset(addr, value, count); \
64 #define PB_MEMCPY(dst, src, count) \ argument
66 if ((count) > 15) { \
67 memcpy(dst, src, count); \
69 small_memcpy(dst, src, count); \
116 size_t SkPackBits::ComputeMaxSize16(int count) { in ComputeMaxSize16() argument
119 return ((count + 127) >> 7) + (count << 1); in ComputeMaxSize16()
[all …]
DSkUtils.cpp48 void sk_memset16_portable(uint16_t dst[], uint16_t value, int count) in sk_memset16_portable() argument
50 SkASSERT(dst != NULL && count >= 0); in sk_memset16_portable()
52 if (count <= 0) in sk_memset16_portable()
56 if (count < 8) in sk_memset16_portable()
60 } while (--count != 0); in sk_memset16_portable()
68 count -= 1; in sk_memset16_portable()
75 int sixteenlongs = count >> 5; in sk_memset16_portable()
83 count &= 31; in sk_memset16_portable()
89 int longs = count >> 1; in sk_memset16_portable()
100 if (count & 1) in sk_memset16_portable()
[all …]
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc78 void ArrayInputStream::BackUp(int count) { in BackUp() argument
81 GOOGLE_CHECK_LE(count, last_returned_size_); in BackUp()
82 GOOGLE_CHECK_GE(count, 0); in BackUp()
83 position_ -= count; in BackUp()
87 bool ArrayInputStream::Skip(int count) { in Skip() argument
88 GOOGLE_CHECK_GE(count, 0); in Skip()
90 if (count > size_ - position_) { in Skip()
94 position_ += count; in Skip()
131 void ArrayOutputStream::BackUp(int count) { in BackUp() argument
134 GOOGLE_CHECK_LE(count, last_returned_size_); in BackUp()
[all …]
/external/icu4c/i18n/
Ddtfmtsym.cpp203 static inline UnicodeString* newUnicodeStringArray(size_t count) { in newUnicodeStringArray() argument
204 return new UnicodeString[count ? count : 1]; in newUnicodeStringArray()
433 int32_t count) in arrayCompare() argument
436 while (count>0) in arrayCompare()
438 --count; in arrayCompare()
439 if (array1[count] != array2[count]) return FALSE; in arrayCompare()
521 DateFormatSymbols::getEras(int32_t &count) const in getEras()
523 count = fErasCount; in getEras()
528 DateFormatSymbols::getEraNames(int32_t &count) const in getEraNames()
530 count = fEraNamesCount; in getEraNames()
[all …]
/external/chromium/third_party/icu/source/i18n/
Ddtfmtsym.cpp201 static inline UnicodeString* newUnicodeStringArray(size_t count) { in newUnicodeStringArray() argument
202 return new UnicodeString[count ? count : 1]; in newUnicodeStringArray()
431 int32_t count) in arrayCompare() argument
434 while (count>0) in arrayCompare()
436 --count; in arrayCompare()
437 if (array1[count] != array2[count]) return FALSE; in arrayCompare()
519 DateFormatSymbols::getEras(int32_t &count) const in getEras()
521 count = fErasCount; in getEras()
526 DateFormatSymbols::getEraNames(int32_t &count) const in getEraNames()
528 count = fEraNamesCount; in getEraNames()
[all …]
/external/skia/src/animator/
DSkAnimateActive.cpp36 int animators = fAnimators.count(); in init()
46 SkASSERT(fInterpolators.count() == fAnimators.count()); in init()
51 for (index = 0; index < fSaveRestore.count(); index++) in ~SkActive()
53 for (index = 0; index < fSaveInterpolators.count(); index++) in ~SkActive()
55 for (index = 0; index < fInterpolators.count(); index++) in ~SkActive()
62 fDrawIndex += fAnimators.count(); in advance()
66 int oldCount = fAnimators.count(); in append()
68 int newCount = animates.count(); in append()
102 int saveIndex = fSaveRestore.count(); in append()
103 SkASSERT(fSaveInterpolators.count() == saveIndex); in append()
[all …]
/external/qemu/fpu/
Dsoftfloat-macros.h42 INLINE void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr ) in shift32RightJamming() argument
46 if ( count == 0 ) { in shift32RightJamming()
49 else if ( count < 32 ) { in shift32RightJamming()
50 z = ( a>>count ) | ( ( a<<( ( - count ) & 31 ) ) != 0 ); in shift32RightJamming()
68 INLINE void shift64RightJamming( bits64 a, int16 count, bits64 *zPtr ) in shift64RightJamming() argument
72 if ( count == 0 ) { in shift64RightJamming()
75 else if ( count < 64 ) { in shift64RightJamming()
76 z = ( a>>count ) | ( ( a<<( ( - count ) & 63 ) ) != 0 ); in shift64RightJamming()
104 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) in shift64ExtraRightJamming() argument
107 int8 negCount = ( - count ) & 63; in shift64ExtraRightJamming()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dusrchtst.c138 int count = 0; in toCharString() local
141 for (; count < length; count ++) { in toCharString()
142 UChar ch = unichars[count]; in toCharString()
339 int count = 0; in assertEqualWithUStringSearch() local
342 int32_t matchindex = search.offset[count]; in assertEqualWithUStringSearch()
352 uint32_t matchlength = search.size[count]; in assertEqualWithUStringSearch()
365 count ++; in assertEqualWithUStringSearch()
375 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
390 count = count == 0 ? 0 : count - 1; in assertEqualWithUStringSearch()
391 matchlimit = count; in assertEqualWithUStringSearch()
[all …]
/external/icu4c/test/cintltst/
Dusrchtst.c138 int count = 0; in toCharString() local
141 for (; count < length; count ++) { in toCharString()
142 UChar ch = unichars[count]; in toCharString()
339 int count = 0; in assertEqualWithUStringSearch() local
342 int32_t matchindex = search.offset[count]; in assertEqualWithUStringSearch()
358 uint32_t matchlength = search.size[count]; in assertEqualWithUStringSearch()
371 count ++; in assertEqualWithUStringSearch()
381 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
396 count = count == 0 ? 0 : count - 1; in assertEqualWithUStringSearch()
397 matchlimit = count; in assertEqualWithUStringSearch()
[all …]
/external/chromium/third_party/icu/source/common/
Dcpputils.h26 inline void uprv_arrayCopy(const double* src, double* dst, int32_t count) in uprv_arrayCopy() argument
27 { uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
31 double* dst, int32_t dstStart, int32_t count) in uprv_arrayCopy() argument
32 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
35 inline void uprv_arrayCopy(const int8_t* src, int8_t* dst, int32_t count) in uprv_arrayCopy() argument
36 { uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
40 int8_t* dst, int32_t dstStart, int32_t count) in uprv_arrayCopy() argument
41 { uprv_memcpy(dst+dstStart, src+srcStart, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
44 inline void uprv_arrayCopy(const int16_t* src, int16_t* dst, int32_t count) in uprv_arrayCopy() argument
45 { uprv_memcpy(dst, src, (size_t)(count * sizeof(*src))); } in uprv_arrayCopy()
[all …]
Duvector.cpp30 count(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
40 count(0), in UVector()
50 count(0), in UVector()
60 count(0), in UVector()
96 if (ensureCapacity(other.count, ec)) { in assign()
97 setSize(other.count, ec); in assign()
99 for (int32_t i=0; i<other.count; ++i) { in assign()
112 if (count != other.count) return FALSE; in operator ==()
115 for (i=0; i<count; ++i) { in operator ==()
125 if (ensureCapacity(count + 1, status)) { in addElement()
[all …]
/external/icu4c/common/
Duvector.cpp30 count(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
40 count(0), in UVector()
50 count(0), in UVector()
60 count(0), in UVector()
96 if (ensureCapacity(other.count, ec)) { in assign()
97 setSize(other.count, ec); in assign()
99 for (int32_t i=0; i<other.count; ++i) { in assign()
112 if (count != other.count) return FALSE; in operator ==()
115 for (i=0; i<count; ++i) { in operator ==()
125 if (ensureCapacity(count + 1, status)) { in addElement()
[all …]

12345678910>>...107