/external/skia/gm/ |
pictureimagegenerator.cpp | 79 const SkScalar pos2[] = { 0, .01f, 1.0f/3, 1.0f/3, 2.0f/3, 2.0f/3, .99f, 1 }; local 90 SkASSERT(SK_ARRAY_COUNT(pos2) == SK_ARRAY_COUNT(colors2)); 91 SkAutoTUnref<SkShader> gradient2(SkGradientShader::CreateLinear(pts2, colors2, pos2, 92 SK_ARRAY_COUNT(pos2),
|
/external/lzma/CPP/Windows/ |
FileFind.cpp | 412 int pos2 = FindCharPosInString(path + pos, FTEXT('\\'));
local 413 if (pos2 < 0 || pos2 == (int)len - 1)
416 if (pos2 < 0)
418 pos2 = len;
425 Name.SetFrom(s.Ptr(pos), pos2);
|
FileName.cpp | 111 int pos2 = FindCharPosInString(s + pos + 1, '\\');
local 112 if (pos2 < 0)
114 return pos + pos2 + 2;
158 int pos2 = FindCharPosInString(s + pos + 1, L'\\');
local 159 if (pos2 < 0)
161 return pos + pos2 + 2;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathMeasureTest.java | 59 float[] pos2 = { 1f, 2f }; local 61 assertFalse(mPathMeasure.getPosTan(distance, pos2, tan2));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
lpc_analysis.c | 212 int k, n, j, pos1, pos2; local 259 pos2 = k * UPDATE/2; 261 maskdata->DataBufferLo[pos1] = inLo[QLOOKAHEAD + pos2]; 262 maskdata->DataBufferHi[pos1] = inHi[pos2++]; 393 int frameCntr, activeFrameCntr, n, pos1, pos2; local 428 pos2 = frameCntr * UPDATE/2; 429 for(n = 0; n < UPDATE/2; n++, pos1++, pos2++) 431 maskdata->DataBufferLo[pos1] = inSignal[pos2];
|
/external/skia/src/gpu/glsl/ |
GrGLSLGeometryProcessor.cpp | 130 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); 141 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); 150 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2");
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_aifc.py | 51 pos2 = f.tell() 52 self.assertEqual(pos2, 2) 54 f.setpos(pos2)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_aifc.py | 51 pos2 = f.tell() 52 self.assertEqual(pos2, 2) 54 f.setpos(pos2)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_aifc.py | 51 pos2 = f.tell() 52 self.assertEqual(pos2, 2) 54 f.setpos(pos2)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_aifc.py | 51 pos2 = f.tell() 52 self.assertEqual(pos2, 2) 54 f.setpos(pos2)
|
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 278 char buf[200], *pos, *pos2; local 315 pos2 = NULL; 316 pos = str_token(buf, ":", &pos2); 325 pos = str_token(buf, ":", &pos2); 333 pos = str_token(buf, ":", &pos2); 342 pos = str_token(buf, ":", &pos2); 390 char buf[200], *pos, *pos2; local 427 pos2 = NULL; 428 pos = str_token(buf, " ", &pos2); 437 pos = str_token(buf, " ", &pos2); [all...] |
/external/pdfium/xfa/src/fgas/src/font/ |
fx_stdfontmgr.cpp | [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
BitSetTest.java | 170 // pos1 and pos2 are in the same bitset element 201 // pos1 and pos2 is in the same bitset element, boundary testing 239 // pos1 and pos2 are in two sequential bitset elements 267 // pos1 and pos2 are in two non-sequential bitset elements 407 // pos1 and pos2 are in the same bitset element, at index0 413 // pos1 and pos2 are in the same bitset element, at index 1 419 // pos1 in bitset element at index 0, and pos2 in bitset element at 428 // pos1 in bitset element at index 1, and pos2 in bitset element at 437 // pos1 in bitset element at index 0, and pos2 in bitset element at 448 // pos1 in bitset element at index 0, and pos2 in bitset element a [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
PacketReflector.java | 64 private static void swapBytes(byte[] buf, int pos1, int pos2, int len) { 67 buf[pos1 + i] = buf[pos2 + i]; 68 buf[pos2 + i] = b;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
config_file.c | 166 char buf[2000], *pos, *pos2; local 184 pos2 = os_strchr(pos, '='); 185 if (pos2 == NULL) { 192 *pos2++ = '\0'; 193 if (*pos2 == '"') { 194 if (os_strchr(pos2 + 1, '"') == NULL) { 196 "quotation '%s'.", *line, pos2); 202 if (wpa_config_set(ssid, pos, pos2, *line) < 0) 227 char buf[256], *pos, *pos2; local 242 pos2 = os_strchr(pos, '=') [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
d1035pf.cpp | 134 Word16 i, j, pos1, pos2, sign, tmp; 172 pos2 = add (i, j); // position of pulse "j+5" 174 if (sub (pos2, pos1) < 0) 178 cod[pos2] = add (cod[pos2], sign); 212 Word16 i, j, pos1, pos2; local 252 pos2 = i + j; /* position of pulse "j+5" */ 255 if (pos2 < pos1) 259 *(cod + pos2) += sign;
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
Demo.java | 475 int pos2 = fileName.indexOf('_', pos+1); local 476 if (pos2 < 0) { 479 id += fileName.substring(pos+1, pos2) + "/" + fileName.substring(pos2 + 1); 698 int pos2 = coreSentence.indexOf('\u3002', oldPos); local 699 if (pos2 < 0) pos2 = coreSentence.length(); else pos2 = pos2 + 1; 700 if (pos > pos2) pos = pos2 1155 int pos2 = id.indexOf("\/", pos); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestSimpleDateFormatAPI.java | 84 FieldPosition pos2 = new FieldPosition(0); local 89 res2 = cust1.format(d, res2, pos2);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestNumberFormatAPI.java | 89 FieldPosition pos2 = new FieldPosition(0); local 102 res4 = cur_fr.format(l, res4, pos2);
|
IntlTestSimpleDateFormatAPI.java | 80 FieldPosition pos2 = new FieldPosition(0); local 85 res2 = cust1.format(d, res2, pos2);
|
/external/v8/src/debug/ |
liveedit.cc | 67 int pos2 = 0; local 70 if (pos2 < len2_) { 71 Direction dir = get_direction(pos1, pos2); 76 pos2++; 85 pos2++; 95 if (len2_ != pos2) { 96 writer.skip2(len2_ - pos2); 121 int CompareUpToTail(int pos1, int pos2) { 123 if (pos2 < len2_) { 124 int cached_res = get_value4(pos1, pos2); [all...] |
/packages/apps/Nfc/nci/jni/ |
RouteDataSet.cpp | 47 std::string::size_type pos2 = aid.find_first_of (delimiter); local 54 if (pos2 == std::string::npos) 63 sscanf (aid.substr(pos1, pos2-pos1+1).c_str(), "%x", &num); 66 pos1 = pos2 + 1; 67 pos2 = aid.find_first_of (delimiter, pos1);
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
dec_alg_codebook.cpp | 147 int16 pos1, pos2, tmp; local 158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ 160 if (pos2 < pos1) /* ((pos2 - pos1) < 0) */ 168 pos2 += NB_POS; /* pos2 += NB_POS; */ 176 pos2 += NB_POS; /* pos2 += NB_POS; */ 181 pos[1] = pos2; [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
wpagui.cpp | 274 char buf[2048], *pos, *pos2; local 422 pos2 = strchr(pos, '\n'); 423 if (pos2) 424 *pos2 = '\0'; 427 if (pos2) 428 pos = pos2 + 1; 921 char *pos = msg, *pos2; local 946 pos2 = strchr(pos, str_match(pos, WPA_CTRL_REQ) ? ':' : ' '); 947 if (pos2) 948 pos2++ [all...] |
/toolchain/binutils/binutils-2.25/gas/ |
listing.c | 566 long pos2; local 599 pos2 = pos = ftell (last_open_file); 614 while (pos2 > 0 && ! found) 619 pos2 = (long) size > pos2 ? 0 : pos2 - size; 620 fseek (last_open_file, pos2, SEEK_SET); 644 /* Advance pos2 to the newline character we have just located. */ 645 pos2 += (ptr - buffer); 650 ++pos2; [all...] |