/external/skia/src/core/ |
SkBitmapProcState_matrixProcs.cpp | 27 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) 161 if (count >= 8) { 200 count -= 8; 202 } while (count >= 8); 206 for (i = (count >> 2); i > 0; --i) 213 count &= 3; 217 for (i = count; i > 0; --i) { 222 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count) [all...] |
/external/chromium/base/ |
sys_info_mac.cc | 31 mach_msg_type_number_t count = HOST_BASIC_INFO_COUNT; local 35 &count); 36 DCHECK_EQ(HOST_BASIC_INFO_COUNT, count); 57 // that mirror other displays, which are not desired in the count. It's 58 // tempting to use the count returned by CGGetActiveDisplayList, but active 59 // displays exclude sleeping displays, and those are desired in the count. 79 // If this display doesn't mirror any other, include it in the count.
|
string_util_posix.h | 28 inline int strncasecmp(const char* string1, const char* string2, size_t count) { 29 return ::strncasecmp(string1, string2, count); 37 inline int strncmp16(const char16* s1, const char16* s2, size_t count) { 39 return ::wcsncmp(s1, s2, count); 41 return c16memcmp(s1, s2, count);
|
/external/chromium/chrome/browser/renderer_host/ |
gtk_key_bindings_handler.cc | 158 GtkTextView* text_view, GtkDeleteType type, gint count) { 159 if (!count) 165 commands[0] = (count > 0 ? "DeleteForward" : "DeleteBackward"); 168 commands[0] = (count > 0 ? "DeleteWordForward" : "DeleteWordBackward"); 171 if (count > 0) { 184 commands[0] = (count > 0 ? "DeleteToEndOfLine" : 188 commands[0] = (count > 0 ? "DeleteToEndOfParagraph" : 201 if (count < 0) 202 count = -count; [all...] |
/external/clang/test/CodeGen/ |
blocks-1.c | 2 // RUN: grep "_Block_object_dispose" %t | count 17 3 // RUN: grep "__copy_helper_block_" %t | count 14 4 // RUN: grep "__destroy_helper_block_" %t | count 14 5 // RUN: grep "__Block_byref_object_copy_" %t | count 2 6 // RUN: grep "__Block_byref_object_dispose_" %t | count 2 7 // RUN: grep "i32 135)" %t | count 2 8 // RUN: grep "_Block_object_assign" %t | count 10
|
/external/llvm/test/CodeGen/CellSPU/ |
int2fp.ll | 2 ; RUN: grep csflt %t1.s | count 5 3 ; RUN: grep cuflt %t1.s | count 1 4 ; RUN: grep xshw %t1.s | count 2 5 ; RUN: grep xsbh %t1.s | count 1 6 ; RUN: grep and %t1.s | count 2 7 ; RUN: grep andi %t1.s | count 1 8 ; RUN: grep ila %t1.s | count 1
|
struct_1.ll | 3 ; RUN: grep lqa %t1.s | count 5 4 ; RUN: grep lqd %t1.s | count 11 5 ; RUN: grep rotqbyi %t1.s | count 7 6 ; RUN: grep xshw %t1.s | count 1 7 ; RUN: grep andi %t1.s | count 5 8 ; RUN: grep cbd %t1.s | count 3 9 ; RUN: grep chd %t1.s | count 1 10 ; RUN: grep cwd %t1.s | count 3 11 ; RUN: grep shufb %t1.s | count 7 12 ; RUN: grep stqd %t1.s | count [all...] |
/external/llvm/test/FrontendC/ |
2007-04-11-InlineStorageClassC89.c | 2 // RUN: grep weak | count 1 4 // RUN: grep weak | count 1 6 // RUN: grep xWeaknoinline | grep weak | count 1 8 // RUN: grep xWeakextnoinline | grep weak | count 1 11 // RUN: grep -v linkonce | count 1 13 // RUN: grep xstatnoWeak | grep internal | count 1 16 // RUN: grep -v linkonce | count 1
|
2007-04-11-InlineStorageClassC99.c | 2 // RUN: grep xglobWeak | grep extern_weak | count 1 4 // RUN: grep xextWeak | grep weak | count 1 6 // RUN: grep xWeaknoinline | grep weak | count 1 8 // RUN: grep xWeakextnoinline | grep weak | count 1 11 // RUN: grep -v linkonce | count 1 13 // RUN: grep xstatnoWeak | grep internal | count 1 16 // RUN: grep -v linkonce | count 1
|
/external/llvm/test/FrontendC++/ |
2007-04-11-InlineStorageClassC++.cpp | 2 // RUN: grep xglobWeak | grep linkonce | count 1 4 // RUN: grep xextWeak | grep linkonce | count 1 6 // RUN: grep xWeaknoinline | grep weak | count 1 8 // RUN: grep xWeakextnoinline | grep weak | count 1 10 // RUN: grep xglobnoWeak | grep linkonce | count 1 12 // RUN: grep xstatnoWeak | grep internal | count 1 14 // RUN: grep xextnoWeak | grep linkonce | count 1
|
/libcore/luni/src/main/java/java/util/concurrent/ |
CountDownLatch.java | 15 * <p>A {@code CountDownLatch} is initialized with a given <em>count</em>. 16 * The {@link #await await} methods block until the current count reaches 20 * -- the count cannot be reset. If you need a version that resets the 21 * count, consider using a {@link CyclicBarrier}. 25 * {@code CountDownLatch} initialized with a count of one serves as a 34 * the count to reach zero before proceeding, it simply prevents any 88 * count down in this way, instead use a {@link CyclicBarrier}.) 122 * <p>Memory consistency effects: Until the count reaches 135 * Uses AQS state to represent count. 140 Sync(int count) { [all...] |
/external/icu4c/common/ |
uvector.cpp | 30 count(0), 40 count(0), 50 count(0), 60 count(0), 96 if (ensureCapacity(other.count, ec)) { 97 setSize(other.count, ec); 99 for (int32_t i=0; i<other.count; ++i) { 112 if (count != other.count) return FALSE; 115 for (i=0; i<count; ++i) [all...] |
/external/icu4c/io/ |
ufmt_cmn.c | 137 int32_t count; local 143 count = 0; 153 /* increment our count */ 154 ++count; 157 *len = count; 166 int32_t count, resultIdx, incVal, offset; local 174 count = 0; 179 while(buffer[count] == DIGIT_0 || u_isspace(buffer[count])) { 180 count++ [all...] |
/external/icu4c/layout/ |
ArabicLayoutEngine.cpp | 65 // Returns: output character count 66 le_int32 ArabicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, 73 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 78 outChars = LE_NEW_ARRAY(LEUnicode, count); 85 glyphStorage.allocateGlyphArray(count, rightToLeft, success); 93 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); 98 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage); 100 return count; 103 void ArabicOpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse [all...] |
ThaiLayoutEngine.cpp | 57 // Returns: the glyph count 59 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) 65 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 75 outChars = LE_NEW_ARRAY(LEUnicode, count * 2); 82 glyphStorage.allocateGlyphArray(count * 2, FALSE, success); 90 glyphCount = ThaiShaping::compose(chars, offset, count, fGlyphSet, fErrorChar, outChars, glyphStorage); 100 void ThaiLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, 107 if (chars == NULL || offset < 0 || count < 0) {
|
/external/oprofile/events/ppc64/cell-be/ |
unit_masks | 10 0x000 Count cycles [mandatory] 12 0x001 Count cycles [mandatory] 17 0x000 Count edges [mandatory] 22 0x001 Count cycles [mandatory] 27 0x000 Count edges [mandatory] 32 0x001 Count cycles [mandatory] 38 0x000 Count edges [mandatory] 44 0x000 Count edges [optional ] 45 0x001 Count cycles [default ] 51 0x001 Count cycles [mandatory [all...] |
/external/qemu/android/utils/ |
stralloc.c | 23 const char** strings, int count, 28 for (n = 0; n < count; n++) { 35 nrows = (count + ncols-1)/ncols; 41 if (index >= count) { 144 int count; local 146 for (count = 0; count < s->n; count++) { 147 if (s->s[count] != ' ' && s->s[count] != '\t' 160 int count = s->n; local 302 int count = size > max_count ? max_count : size; local [all...] |
/external/skia/include/core/ |
SkTDArray.h | 31 SkTDArray(const T src[], size_t count) { 32 SkASSERT(src || count == 0); 39 if (count) { 40 fArray = (T*)sk_malloc_throw(count * sizeof(T)); 44 memcpy(fArray, src, sizeof(T) * count); 45 fReserve = fCount = count; 101 int count() const { return fCount; } function in class:SkTDArray 127 void setCount(size_t count) { 128 if (count > fReserve) { 129 this->growBy(count - fCount) 138 size_t count = fCount; local [all...] |
/development/tools/emulator/opengl/host/libs/Translator/GLES_V2/ |
GLESv2Context.cpp | 49 void GLESv2Context::validateAtt0PreDraw(unsigned int count) 53 if(count == 0) 61 if(count > m_att0ArrayLength) 64 m_att0Array = new GLfloat[4*count]; 65 m_att0ArrayLength = count; 68 for(unsigned int i=0; i<count; i++) 85 void GLESv2Context::setupArraysPointers(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct) { 96 if(needConvert(cArrs,first,count,type,indices,direct,p,array_id)){ 114 bool GLESv2Context::needConvert(GLESConversionArrays& cArrs,GLint first,GLsizei count,GLenum type,const GLvoid* indices,bool direct,GLESpointer* p,GLenum array_id) { 126 convertDirect(cArrs,first,count,array_id,p) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
asterisk.js | 38 var count = 0; variable 42 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('d*'))", 46 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('cd*'))", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('cx*d'))", 54 testcases[count++] = new TestCase ( SECTION, "'xxxxxxx'.match(new RegExp('(x*)(x+)'))", 58 testcases[count++] = new TestCase ( SECTION, "'1234567890'.match(new RegExp('(\\d*)(\\d+)'))", 63 testcases[count++] = new TestCase ( SECTION, "'1234567890'.match(new RegExp('(\\d*)\\d(\\d+)'))", 68 testcases[count++] = new TestCase ( SECTION, "'xxxxxxx'.match(new RegExp('(x+)(x*)'))", 72 testcases[count++] = new TestCase ( SECTION, "'xxxxxxyyyyyy'.match(new RegExp('x*y+$'))", 76 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(/[\\d]*[\\s]*bc./)" [all...] |
source.js | 38 var count = 0; variable 42 testcases[count++] = new TestCase ( SECTION, "/xyz/g.source", 46 testcases[count++] = new TestCase ( SECTION, "/xyz/.source", 50 testcases[count++] = new TestCase ( SECTION, "/abc\\\\def/.source", 54 testcases[count++] = new TestCase ( SECTION, "/abc[\\b]def/.source", 58 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz')).source", 62 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz','g')).source", 66 testcases[count++] = new TestCase ( SECTION, "(new RegExp('abc\\\\\\\\def')).source", 70 testcases[count++] = new TestCase ( SECTION, "(new RegExp('abc[\\\\b]def')).source",
|
string_search.js | 38 var count = 0; variable 42 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.search(/d/)", 46 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.search(/x/)", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg123456hijklmn'.search(/\d+/)", 54 testcases[count++] = new TestCase ( SECTION, "'abcdefg123456hijklmn'.search(new RegExp())", 58 testcases[count++] = new TestCase ( SECTION, "'abc'.search(new RegExp('$'))", 62 testcases[count++] = new TestCase ( SECTION, "'abc'.search(new RegExp('^'))", 66 testcases[count++] = new TestCase ( SECTION, "'abc1'.search(/.\d/)", 70 testcases[count++] = new TestCase ( SECTION, "'abc1'.search(/\d{2}/)",
|
/external/icu4c/test/cintltst/ |
usrchtst.c | 138 int count = 0; local 141 for (; count < length; count ++) { 142 UChar ch = unichars[count]; 339 int count = 0; local 342 int32_t matchindex = search.offset[count]; 358 uint32_t matchlength = search.size[count]; 371 count ++; 381 matchindex = search.offset[count]; 396 count = count == 0 ? 0 : count - 1 551 int count = 0; local 569 int count = 0; local 607 int count = 0; local 628 int count = 0; local 730 int count = 0; local 756 int count = 0; local 1097 int count = 0; local 1144 int count = 0; local 1304 int count = 0; local 1404 int count = 0; local 1535 int count = 0; local 1558 int count = 0; local 1602 uint32_t count = 0; local 1645 uint32_t count = 0; local 1693 int count = 0; local 1711 int count = 0; local 1732 int count = 0; local 1750 int count = 0; local 1831 int count = 0; local 1857 int count = 0; local 2146 int count = 0; local 2199 int count = 0; local 2263 int count = 0; local 2286 int count = 0; local 2421 int count = 0; local [all...] |
/dalvik/tests/023-many-interfaces/ |
iface-gen.c | 11 static int createFiles(int count) 16 for (i = 0; i < count; i++) { 35 for (i = 0; i < count; i++) { 36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ","); 39 for (i = 1; i < count; i += 2) {
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/paddings/ |
ZeroBytePadding.java | 59 int count = in.length; local 61 while (count > 0) 63 if (in[count - 1] != 0) 68 count--; 71 return in.length - count;
|