/external/v8/test/mjsunit/ |
H A D | debug-liveedit-diff.js | 36 var pos1 = 0; 44 var similar_length = diff_array[i] - pos1; 45 assertEquals(s1.substring(pos1, pos1 + similar_length), 48 print(s1.substring(pos1, pos1 + similar_length)); 49 pos1 += similar_length; 51 print("<<< " + pos1 + " " + diff_array[i + 1]); 52 print(s1.substring(pos1, diff_array[i + 1])); 56 pos1 [all...] |
/external/google-breakpad/src/common/linux/ |
H A D | linux_libc_support.cc | 199 size_t pos1 = 0; local 203 if (pos1 + 1 < len) { 204 s1[pos1] = s2[pos2]; 205 pos1++; 210 s1[pos1] = '\0'; 216 size_t pos1 = 0; local 218 while (pos1 < len && s1[pos1] != '\0') 219 pos1++; 221 if (pos1 [all...] |
/external/bison/examples/calc++/ |
H A D | position.hh | 139 operator== (const position& pos1, const position& pos2) argument 141 return (pos1.line == pos2.line 142 && pos1.column == pos2.column 143 && (pos1.filename == pos2.filename 144 || (pos1.filename && pos2.filename 145 && *pos1.filename == *pos2.filename))); 150 operator!= (const position& pos1, const position& pos2) argument 152 return !(pos1 == pos2);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
H A D | lpc_analysis.c | 212 int k, n, j, pos1, pos2; local 247 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) 248 maskdata->DataBufferLo[pos1 + WINLEN - QLOOKAHEAD] = inLo[pos1]; 253 for (pos1 = 0; pos1 < WINLEN - UPDATE/2; pos1++) { 254 maskdata->DataBufferLo[pos1] 393 int frameCntr, activeFrameCntr, n, pos1, pos2; local [all...] |
/external/v8/test/cctest/ |
H A D | test-liveedit.cc | 65 : pos1(pos1_param), pos2(pos2_param), 67 int pos1; member in class:__anon14954::DiffChunkStruct 82 void AddChunk(int pos1, int pos2, int len1, int len2) { argument 83 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2); 108 int pos1 = 0; local 116 int diff_pos1 = chunk->pos1; 117 int similar_part_length = diff_pos1 - pos1; 123 DCHECK(pos1 + j < len1); 125 DCHECK_EQ(s1[pos1 + j], s2[pos2 + j]); 128 pos1 [all...] |
/external/icu/icu4c/source/samples/uciter8/ |
H A D | uciter8.c | 45 int32_t i, pos1, pos2, middle, length; local 59 pos1=iter1->move(iter1, middle, UITER_ZERO); 60 if(pos1!=middle) { 61 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); 100 pos1=iter1->move(iter1, 0, UITER_START); 101 if(pos1<0) { 139 pos1=iter1->move(iter1, middle, UITER_ZERO); 140 if(pos1!=middle) { 141 log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); 152 pos1 [all...] |
/external/freetype/src/truetype/ |
H A D | ttpload.c | 177 FT_ULong pos1, pos2; local 182 pos1 = pos2 = 0; 191 pos1 = FT_NEXT_ULONG( p ); 192 pos2 = pos1; 202 pos1 = FT_NEXT_USHORT( p ); 203 pos2 = pos1; 208 pos1 <<= 1; 214 if ( pos1 > face->glyf_len ) 219 pos1, gindex, face->glyf_len )); 241 if ( pos2 >= pos1 ) [all...] |
/external/pdfium/third_party/freetype/src/truetype/ |
H A D | ttpload.c | 177 FT_ULong pos1, pos2; local 182 pos1 = pos2 = 0; 191 pos1 = FT_NEXT_ULONG( p ); 192 pos2 = pos1; 202 pos1 = FT_NEXT_USHORT( p ); 203 pos2 = pos1; 208 pos1 <<= 1; 214 if ( pos1 > face->glyf_len ) 219 pos1, gindex, face->glyf_len )); 241 if ( pos2 >= pos1 ) [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_wide_line.c | 73 float *pos1 = v1->data[pos]; local 95 pos1[1] = pos1[1] + half_width - bias; 102 pos1[0] -= 0.5f; 109 pos1[0] += 0.5f; 118 pos1[0] = pos1[0] + half_width + bias; 125 pos1[1] -= 0.5f; 132 pos1[1] += 0.5f;
|
H A D | draw_pipe_stipple.c | 127 const float *pos1 = v1->data[pos]; local 132 float x1 = pos1[0]; 134 float y1 = pos1[1];
|
H A D | draw_pipe_wide_point.c | 138 float *pos1 = v1->data[pos]; local 159 pos1[0] += left_adj; 160 pos1[1] += bot_adj;
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | lpc_masking_model.c | 551 int pos1, pos2; local 620 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) { 621 maskdata->DataBufferLoQ0[pos1 + WINLEN - QLOOKAHEAD] = inLoQ0[pos1]; 627 for (pos1 = 0; pos1 < WINLEN - UPDATE/2; pos1++) { 628 maskdata->DataBufferLoQ0[pos1] [all...] |
/external/bison/data/ |
H A D | location.cc | 119 operator== (const position& pos1, const position& pos2) 121 return (pos1.line == pos2.line 122 && pos1.column == pos2.column 123 && (pos1.filename == pos2.filename 124 || (pos1.filename && pos2.filename 125 && *pos1.filename == *pos2.filename))); 130 operator!= (const position& pos1, const position& pos2) 132 return !(pos1 == pos2);
|
/external/libcxx/test/std/experimental/string.view/string.view.ops/ |
H A D | compare.size_size_sv.pass.cpp | 13 // constexpr int compare(size_type pos1, size_type n1, basic_string_view str) const; 23 void test1 ( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, argument 28 assert ( sign( sv1.compare(pos1, n1, sv2)) == sign(expected)); 29 assert(pos1 <= sv1.size()); 31 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } 36 void test ( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected ) { argument 41 test1(sv1, pos1, n1, sv2, expected);
|
H A D | compare.pointer_size.pass.cpp | 12 // constexpr int compare(size_type pos1, size_type n1, const charT* s) const; 23 size_t pos1, size_t n1, const CharT *s, int expected ) { 25 assert(sign(sv1.compare(pos1, n1, s)) == sign(expected)); 26 assert(pos1 <= sv1.size()); 28 catch (const std::out_of_range&) { assert(pos1 > sv1.size()); } 33 test( const CharT *s1, size_t pos1, size_t n1, const CharT *s2, int expected) argument 37 test1 ( sv1, pos1, n1, s2, expected ); 22 test1( std::experimental::basic_string_view<CharT> sv1, size_t pos1, size_t n1, const CharT *s, int expected ) argument
|
/external/pdfium/core/src/reflow/ |
H A D | autoreflow.cpp | 66 FX_POSITION pos1 = pAppraceOrderObjs->GetLastObjectPosition(); local 67 while(pos1) { 68 CPDF_PageObject* pTempObj = pAppraceOrderObjs->GetPrevObject(pos1); 70 if(!pos1) { 71 pos1 = pAppraceOrderObjs->GetFirstObjectPosition(); 73 pAppraceOrderObjs->GetNextObject(pos1); 78 pAppraceOrderObjs->InsertObject(pos1, pObj); 86 FX_POSITION pos1 = pAppraceOrderObjs->GetLastObjectPosition(); local 87 while(pos1) { 88 CPDF_PageObject* pTempObj = pAppraceOrderObjs->GetPrevObject(pos1); 293 FX_POSITION pos1 = plastCell->m_ObjList.GetTailPosition(); local [all...] |
/external/v8/src/ |
H A D | liveedit-debugger.js | 440 function DiffChunk(pos1, pos2, len1, len2) { 441 this.pos1 = pos1; 467 if (array.length == 0 || pos < array[0].pos1) { 475 if (pos < array[middle_index + 1].pos1) { 482 if (pos >= chunk.pos1 + chunk.len1) { 483 return pos + chunk.pos2 + chunk.len2 - chunk.pos1 - chunk.len1; 500 return pos - diff_chunk.pos1 + diff_chunk.pos2; 586 pos_diff = chunk.pos2 + chunk.len2 - (chunk.pos1 + chunk.len1); 604 chunk_it.current().pos1 < info_nod [all...] |
H A D | liveedit.cc | 65 int pos1 = 0; local 68 if (pos1 < len1_) { 70 Direction dir = get_direction(pos1, pos2); 74 pos1++; 79 pos1++; 90 writer.skip1(len1_ - pos1); 120 int CompareUpToTail(int pos1, int pos2) { argument 121 if (pos1 < len1_) { 123 int cached_res = get_value4(pos1, pos2); 127 if (input_->Equals(pos1, pos 391 AddChunk(int pos1, int pos2, int len1, int len2) argument [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | IntlTestSimpleDateFormatAPI.java | 79 FieldPosition pos1 = new FieldPosition(0); 82 res1 = def.format(d, res1, pos1);
|
H A D | IntlTestDateFormatAPI.java | 102 FieldPosition pos1 = new FieldPosition(0); 105 res1 = fr.format(d, res1, pos1);
|
H A D | IntlTestNumberFormatAPI.java | 88 FieldPosition pos1 = new FieldPosition(0); 99 res3 = cur_fr.format(d, res3, pos1);
|
/external/libcxx/test/std/strings/basic.string/string.ops/string_compare/ |
H A D | size_size_pointer.pass.cpp | 31 test(const S& s, typename S::size_type pos1, typename S::size_type n1, argument 36 assert(sign(s.compare(pos1, n1, str)) == sign(x)); 37 assert(pos1 <= s.size()); 41 assert(pos1 > s.size());
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cnumtst.c | 159 UFieldPosition pos1; local 256 pos1.field = UNUM_INTEGER_FIELD; 257 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); 265 unum_format(cur_def, l, result, resultlength, &pos1, &status); 277 if(pos1.beginIndex == 1 && pos1.endIndex == 12) 281 pos1.beginIndex, pos1.endIndex); 315 pos1.beginIndex, pos1 1267 UFieldPosition pos1; local [all...] |
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/ |
H A D | gUnit.g | 85 int pos1, pos2; 86 if ( (pos1=$ACTION.text.indexOf("package"))!=-1 && (pos2=$ACTION.text.indexOf(';'))!=-1 ) { 87 grammarInfo.setGrammarPackage($ACTION.text.substring(pos1+8, pos2).trim()); // substring the package path
|
/external/icu/icu4c/source/test/intltest/ |
H A D | sdtfmtts.cpp | 145 FieldPosition pos1(0), pos2(0); 147 res1 = def.format(d, res1, pos1);
|