/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/forwardlist/forwardlist.ops/ |
splice_after_one.pass.cpp | 88 C c2(std::begin(t2), std::end(t2)); 90 c1.splice_after(next(c1.cbefore_begin(), p), std::move(c2), 91 next(c2.cbefore_begin(), f)); 118 C c2(std::begin(t2), std::end(t2)); 120 c1.splice_after(next(c1.cbefore_begin(), p), std::move(c2), 121 next(c2.cbefore_begin(), f));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
base64.py | 149 # c1 and c2 are 16 bits wide, c3 is 8 bits wide. The intent of this 151 # leftover bit of c1 and tack it onto c2. Then we take the 2 leftover 152 # bits of c2 and tack them onto c3. The shifts and masks are intended 154 c1, c2, c3 = struct.unpack('!HHB', s[i*5:(i+1)*5]) 155 c2 += (c1 & 1) << 16 # 17 bits wide 156 c3 += (c2 & 3) << 8 # 10 bits wide 160 _b32tab[c2 >> 12], # bits 16 - 20 (1 - 5) 161 _b32tab[(c2 >> 7) & 0x1f], # bits 21 - 25 (6 - 10) 162 _b32tab[(c2 >> 2) & 0x1f], # bits 26 - 30 (11 - 15)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
base64.py | 149 # c1 and c2 are 16 bits wide, c3 is 8 bits wide. The intent of this 151 # leftover bit of c1 and tack it onto c2. Then we take the 2 leftover 152 # bits of c2 and tack them onto c3. The shifts and masks are intended 154 c1, c2, c3 = struct.unpack('!HHB', s[i*5:(i+1)*5]) 155 c2 += (c1 & 1) << 16 # 17 bits wide 156 c3 += (c2 & 3) << 8 # 10 bits wide 160 _b32tab[c2 >> 12], # bits 16 - 20 (1 - 5) 161 _b32tab[(c2 >> 7) & 0x1f], # bits 21 - 25 (6 - 10) 162 _b32tab[(c2 >> 2) & 0x1f], # bits 26 - 30 (11 - 15)
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
custrtst.c | 1195 UChar32 c1, c2; local 1549 UChar32 c1, c2; local [all...] |
/external/icu4c/test/cintltst/ |
custrtst.c | 1195 UChar32 c1, c2; local 1549 UChar32 c1, c2; local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
itercoll.cpp | 113 RuleBasedCollator *c2 = NULL; local 114 c2 = new RuleBasedCollator((UnicodeString)"&a < b < c/abd < d", status); 116 if (c2 == NULL || U_FAILURE(status)) 119 delete c2; 124 iter = c2->createCollationElementIterator(source); 127 delete c2; 601 int32_t c1, c2, count = 0; local 607 c2 = i2.next(status); 609 if (c1 != c2) 611 errln(" %d: strength(0x%X) != strength(0x%X)", count, c1, c2); [all...] |
/external/icu4c/test/intltest/ |
itercoll.cpp | 113 RuleBasedCollator *c2 = NULL; local 114 c2 = new RuleBasedCollator((UnicodeString)"&a < b < c/abd < d", status); 116 if (c2 == NULL || U_FAILURE(status)) 119 delete c2; 124 iter = c2->createCollationElementIterator(source); 127 delete c2; 601 int32_t c1, c2, count = 0; local 607 c2 = i2.next(status); 609 if (c1 != c2) 611 errln(" %d: strength(0x%X) != strength(0x%X)", count, c1, c2); [all...] |
/external/chromium_org/third_party/icu/source/common/ |
bmpset.cpp | 300 UChar c, c2; local 329 } else if(c>=0xdc00 || (s+1)==limit || (c2=s[1])<0xdc00 || c2>=0xe000) { 336 if(!containsSlow(U16_GET_SUPPLEMENTARY(c, c2), list4kStarts[0x10], list4kStarts[0x11])) { 369 } else if(c>=0xdc00 || (s+1)==limit || (c2=s[1])<0xdc00 || c2>=0xe000) { 376 if(containsSlow(U16_GET_SUPPLEMENTARY(c, c2), list4kStarts[0x10], list4kStarts[0x11])) { 389 UChar c, c2; local 418 } else if(c<0xdc00 || s==limit || (c2=*(limit-1))<0xd800 || c2>=0xdc00) [all...] |
normalizer2impl.cpp | 220 UChar c2; local 221 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(c2=*(codePointStart-1))) { 223 c=U16_GET_SUPPLEMENTARY(c2, c); 434 UChar c2; local 436 if((src+1)!=limit && U16_IS_TRAIL(c2=src[1])) { 437 c=U16_GET_SUPPLEMENTARY(c, c2); 440 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) { 442 c=U16_GET_SUPPLEMENTARY(c2, c); 952 UChar c2; local 1199 UChar c2; local 1556 UChar c2; local 1815 UChar32 c2=c; local [all...] |
/external/icu4c/common/ |
bmpset.cpp | 309 UChar c, c2; 338 } else if(c>=0xdc00 || (s+1)==limit || (c2=s[1])<0xdc00 || c2>=0xe000) { 345 if(!containsSlow(U16_GET_SUPPLEMENTARY(c, c2), list4kStarts[0x10], list4kStarts[0x11])) { 378 } else if(c>=0xdc00 || (s+1)==limit || (c2=s[1])<0xdc00 || c2>=0xe000) { 385 if(containsSlow(U16_GET_SUPPLEMENTARY(c, c2), list4kStarts[0x10], list4kStarts[0x11])) { 398 UChar c, c2; 427 } else if(c<0xdc00 || s==limit || (c2=*(limit-1))<0xd800 || c2>=0xdc00) [all...] |
normalizer2impl.h | 78 UChar32 c2=c%JAMO_T_COUNT; local 82 if(c2==0) { 85 buffer[2]=(UChar)(JAMO_T_BASE+c2); 97 UChar32 c2=c%JAMO_T_COUNT; local 98 if(c2==0) { 103 buffer[0]=orig-c2; // LV syllable 104 buffer[1]=(UChar)(JAMO_T_BASE+c2); 291 UChar c2; local 292 if(U16_IS_LEAD(c) && s!=limit && U16_IS_TRAIL(c2=*s)) { 293 c=U16_GET_SUPPLEMENTARY(c, c2); 314 UChar c2; local [all...] |
normalizer2impl.cpp | 221 UChar c2; local 222 if(U16_IS_TRAIL(c) && start<codePointStart && U16_IS_LEAD(c2=*(codePointStart-1))) { 224 c=U16_GET_SUPPLEMENTARY(c2, c); 457 UChar c2; local 459 if((src+1)!=limit && U16_IS_TRAIL(c2=src[1])) { 460 c=U16_GET_SUPPLEMENTARY(c, c2); 463 if(prevSrc<src && U16_IS_LEAD(c2=*(src-1))) { 465 c=U16_GET_SUPPLEMENTARY(c2, c); 1076 UChar c2; local 1323 UChar c2; local 1610 UChar c2; local 1873 UChar32 c2=c; local [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/ |
ShaderUtils.java | 74 public static final float[] mix(final float[] c1, final float[] c2, final float f) {
75 return new float[] { ShaderUtils.mix(c1[0], c2[0], f), ShaderUtils.mix(c1[1], c2[1], f), ShaderUtils.mix(c1[2], c2[2], f) };
153 float c0, c1, c2, c3; /* coefficients of the cubic. */
local 166 c2 = CR10 * knot[span + 0] + CR11 * knot[span + 1] + CR12 * knot[span + 2] + CR13 * knot[span + 3];
169 return ((c3 * x + c2) * x + c1) * x + c0;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 44 inline void db_SProjImagePointPointConstraints(double c1[9],double c2[9],double xp[3],double x[3]) 58 db_SProjImagePointPointConstraint(c2,2,0,1,xp,x); 62 db_SProjImagePointPointConstraint(c2,2,1,0,xp,x); 66 db_SProjImagePointPointConstraint(c2,1,2,0,xp,x); 70 inline void db_SAffineImagePointPointConstraints(double c1[7],double c2[7],double xp[3],double x[3]) 76 db_Copy6(c2,ct2); c2[6]=ct2[8];
|
/packages/apps/Camera2/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 44 inline void db_SProjImagePointPointConstraints(double c1[9],double c2[9],double xp[3],double x[3]) 58 db_SProjImagePointPointConstraint(c2,2,0,1,xp,x); 62 db_SProjImagePointPointConstraint(c2,2,1,0,xp,x); 66 db_SProjImagePointPointConstraint(c2,1,2,0,xp,x); 70 inline void db_SAffineImagePointPointConstraints(double c1[7],double c2[7],double xp[3],double x[3]) 76 db_Copy6(c2,ct2); c2[6]=ct2[8];
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
db_image_homography.cpp | 44 inline void db_SProjImagePointPointConstraints(double c1[9],double c2[9],double xp[3],double x[3]) 58 db_SProjImagePointPointConstraint(c2,2,0,1,xp,x); 62 db_SProjImagePointPointConstraint(c2,2,1,0,xp,x); 66 db_SProjImagePointPointConstraint(c2,1,2,0,xp,x); 70 inline void db_SAffineImagePointPointConstraints(double c1[7],double c2[7],double xp[3],double x[3]) 76 db_Copy6(c2,ct2); c2[6]=ct2[8];
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkDCubicIntersection.cpp | 80 SkDCubic c2 = cubic2.subDivide(t2s, t2e); local 82 // OPTIMIZE: if c1 == c2, call once (happens when detecting self-intersection) 85 c2.toQuadraticTs(c2.calcPrecision() * precisionScale, &ts2); 366 static bool only_end_pts_in_common(const SkDCubic& c1, const SkDCubic& c2) { 391 double test = (c2[n].fY - origY) * adj - (c2[n].fX - origX) * opp; 404 int SkIntersections::intersect(const SkDCubic& c1, const SkDCubic& c2) { 405 bool selfIntersect = &c1 == &c2; 413 if (c1[i1].approximatelyEqualHalf(c2[i2])) [all...] |
/external/skia/src/pathops/ |
SkDCubicIntersection.cpp | 80 SkDCubic c2 = cubic2.subDivide(t2s, t2e); local 82 // OPTIMIZE: if c1 == c2, call once (happens when detecting self-intersection) 85 c2.toQuadraticTs(c2.calcPrecision() * precisionScale, &ts2); 366 static bool only_end_pts_in_common(const SkDCubic& c1, const SkDCubic& c2) { 391 double test = (c2[n].fY - origY) * adj - (c2[n].fX - origX) * opp; 404 int SkIntersections::intersect(const SkDCubic& c1, const SkDCubic& c2) { 405 bool selfIntersect = &c1 == &c2; 413 if (c1[i1].approximatelyEqualHalf(c2[i2])) [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_NdefReg.c | 51 int8_t c1, c2; local 59 c2 = *s2; 61 if (c2 >=97) 62 c2 = (c2 - 32); 65 while ( (c1 == c2) && (c1 != '\0') && (c2 != '\0') && (count > 0) ); 67 if ( (count == 0) || (c1 == c2) ) 70 else if ( (c1 > c2) )
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleRareInheritedData.cpp | 161 static bool cursorDataEquivalent(const CursorList* c1, const CursorList* c2) 163 if (c1 == c2) 165 if ((!c1 && c2) || (c1 && !c2)) 167 return (*c1 == *c2);
|
/external/v8/src/ |
regexp-macro-assembler.cc | 233 unibrow::uchar c2 = substring2[i]; local 234 if (c1 != c2) { 237 if (s1[0] != c2) { 238 unibrow::uchar s2[1] = { c2 }; 239 canonicalize->get(c2, '\0', s2);
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
UnicodeEscaper.java | 402 char c2 = seq.charAt(index); local 403 if (Character.isLowSurrogate(c2)) { 404 return Character.toCodePoint(c1, c2); 407 "Expected low surrogate but got char '" + c2 + 408 "' with value " + (int) c2 + " at index " + index);
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
UnicodeEscaper.java | 402 char c2 = seq.charAt(index); local 403 if (Character.isLowSurrogate(c2)) { 404 return Character.toCodePoint(c1, c2); 407 "Expected low surrogate but got char '" + c2 + 408 "' with value " + (int) c2 + " at index " + index);
|
/external/chromium_org/third_party/sqlite/src/src/ |
test_quota.c | 196 int c, c2; local 213 while( (c2 = (*(z++)))!=0 ){ 214 while( c2!=c ){ 215 c2 = *(z++); 216 if( c2==0 ) return 0; 229 c2 = *(zGlob++); 230 if( c2=='^' ){ 232 c2 = *(zGlob++); 234 if( c2==']' ){ 236 c2 = *(zGlob++) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CameraTest.java | 134 Canvas c2 = new Canvas(); local 137 c2.concat(m); 139 assertTrue(c1.getMatrix().equals(c2.getMatrix()));
|