/external/v8/test/mjsunit/ |
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 = diff_array[i + 1]; 61 var similar_length = s1.length - pos1; 63 assertEquals(s1.substring(pos1, pos1 + similar_length), [all …]
|
/external/v8/test/cctest/ |
D | test-liveedit.cc | 67 : pos1(pos1_param), pos2(pos2_param), in DiffChunkStruct() 69 int pos1; member in __anond9be880d0111::DiffChunkStruct 83 void AddChunk(int pos1, int pos2, int len1, int len2) { in AddChunk() argument 84 current_chunk_ = new DiffChunkStruct(pos1, pos2, len1, len2); in AddChunk() 108 int pos1 = 0; in CompareStringsOneWay() local 116 int diff_pos1 = chunk->pos1; in CompareStringsOneWay() 117 int similar_part_length = diff_pos1 - pos1; in CompareStringsOneWay() 123 ASSERT(pos1 + j < len1); in CompareStringsOneWay() 125 ASSERT_EQ(s1[pos1 + j], s2[pos2 + j]); in CompareStringsOneWay() 128 pos1 = diff_pos1 + chunk->len1; in CompareStringsOneWay() [all …]
|
/external/icu4c/samples/uciter8/ |
D | uciter8.c | 47 int32_t i, pos1, pos2, middle, length; in compareIterators() local 61 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 62 if(pos1!=middle) { in compareIterators() 63 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 102 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators() 103 if(pos1<0) { in compareIterators() 141 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 142 if(pos1!=middle) { in compareIterators() 143 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 154 pos1=iter1->move(iter1, 1, UITER_ZERO); in compareIterators() [all …]
|
/external/freetype/src/truetype/ |
D | ttpload.c | 177 FT_ULong pos1, pos2; in tt_face_get_location() local 182 pos1 = pos2 = 0; in tt_face_get_location() 191 pos1 = FT_NEXT_ULONG( p ); in tt_face_get_location() 192 pos2 = pos1; in tt_face_get_location() 202 pos1 = FT_NEXT_USHORT( p ); in tt_face_get_location() 203 pos2 = pos1; in tt_face_get_location() 208 pos1 <<= 1; in tt_face_get_location() 214 if ( pos1 > face->glyf_len ) in tt_face_get_location() 219 pos1, gindex, face->glyf_len )); in tt_face_get_location() 241 if ( pos2 >= pos1 ) in tt_face_get_location() [all …]
|
/external/oprofile/libutil++/ |
D | child_reader.cpp | 30 pos1(0), end1(0), in child_reader() 172 if (pos1 >= end1) { in getline() 173 pos1 = 0; in getline() 178 ssize_t temp_pos = pos1; in getline() 186 result.append(&buf1[pos1], (temp_pos - pos1) - !ok); in getline() 197 pos1 = temp_pos; in getline()
|
D | child_reader.h | 94 ssize_t pos1; variable
|
/external/oprofile/opjitconv/ |
D | opjitconv.c | 106 struct list_head * pos1, * pos2; in delete_path_names_list() local 107 list_for_each_safe(pos1, pos2, list) { in delete_path_names_list() 108 struct pathname * pname = list_entry(pos1, struct pathname, in delete_path_names_list() 441 struct list_head * pos1, * pos2; in filter_anon_samples_list() local 442 list_for_each_safe(pos1, pos2, anon_dirs) { in filter_anon_samples_list() 443 struct pathname * pname = list_entry(pos1, struct pathname, in filter_anon_samples_list() 483 struct list_head * pos1, * pos2; in op_process_jit_dumpfiles() local 555 list_for_each_safe(pos1, pos2, &jd_fnames) { in op_process_jit_dumpfiles() 557 list_entry(pos1, struct pathname, neighbor); in op_process_jit_dumpfiles()
|
/external/v8/src/ |
D | liveedit-debugger.js | 446 function DiffChunk(pos1, pos2, len1, len2) { argument 447 this.pos1 = pos1; 473 if (array.length == 0 || pos < array[0].pos1) { 481 if (pos < array[middle_index + 1].pos1) { 488 if (pos >= chunk.pos1 + chunk.len1) { 489 return pos + chunk.pos2 + chunk.len2 - chunk.pos1 - chunk.len1; 506 return pos - diff_chunk.pos1 + diff_chunk.pos2; 592 pos_diff = chunk.pos2 + chunk.len2 - (chunk.pos1 + chunk.len1); 610 chunk_it.current().pos1 < info_node.info.end_position) { 614 if (child.info.end_position <= chunk_it.current().pos1) { [all …]
|
D | liveedit.cc | 92 int pos1 = 0; in SaveResult() local 95 if (pos1 < len1_) { in SaveResult() 97 Direction dir = get_direction(pos1, pos2); in SaveResult() 101 pos1++; in SaveResult() 106 pos1++; in SaveResult() 117 writer.skip1(len1_ - pos1); in SaveResult() 147 int CompareUpToTail(int pos1, int pos2) { in CompareUpToTail() argument 148 if (pos1 < len1_) { in CompareUpToTail() 150 int cached_res = get_value4(pos1, pos2); in CompareUpToTail() 154 if (input_->Equals(pos1, pos2)) { in CompareUpToTail() [all …]
|
D | liveedit.h | 163 virtual void AddChunk(int pos1, int pos2, int len1, int len2) = 0;
|
/external/icu4c/test/cintltst/ |
D | cnumtst.c | 162 UFieldPosition pos1; in TestNumberFormat() local 259 pos1.field = 0; /* Integer Section */ in TestNumberFormat() 260 resultlengthneeded=unum_format(cur_def, l, NULL, resultlength, &pos1, &status); in TestNumberFormat() 268 unum_format(cur_def, l, result, resultlength, &pos1, &status); in TestNumberFormat() 280 if(pos1.beginIndex == 1 && pos1.endIndex == 12) in TestNumberFormat() 284 pos1.beginIndex, pos1.endIndex); in TestNumberFormat() 316 pos1.beginIndex, pos1.endIndex); in TestNumberFormat() 370 pos1.beginIndex, pos1.endIndex); in TestNumberFormat() 439 resultlengthneeded=unum_format(per_fr, l, NULL, resultlength, &pos1, &status); in TestNumberFormat() 447 unum_format(per_fr, l, result, resultlength, &pos1, &status); in TestNumberFormat() [all …]
|
D | custrtst.c | 1194 int32_t i, pos1, pos2, middle, length; in compareIterators() local 1208 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 1209 if(pos1!=middle) { in compareIterators() 1210 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 1249 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators() 1250 if(pos1<0) { in compareIterators() 1288 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 1289 if(pos1!=middle) { in compareIterators() 1290 … log_err("%s->move(from end to middle %d)=%d does not move to the middle\n", n1, middle, pos1); in compareIterators() 1301 pos1=iter1->move(iter1, 1, UITER_ZERO); in compareIterators() [all …]
|
/external/quake/quake/src/QW/progs/ |
D | buttons.qc | 24 SUB_CalcMove (self.pos1, self.speed, button_done); 138 self.pos1 = self.origin; 139 self.pos2 = self.pos1 + self.movedir*(fabs(self.movedir*self.size) - self.lip);
|
D | plats.qc | 70 SUB_CalcMove (self.pos1, self.speed, plat_hit_top); 193 // pos1 is the top position, pos2 is the bottom 194 self.pos1 = self.origin;
|
D | doors.qc | 75 SUB_CalcMove (self.pos1, self.speed, door_hit_bottom); 515 self.pos1 = self.origin; 516 self.pos2 = self.pos1 + self.movedir*(fabs(self.movedir*self.size) - self.lip); 523 self.pos2 = self.pos1; 524 self.pos1 = self.origin;
|
/external/webp/src/enc/ |
D | syntax.c | 208 uint64_t pos1, pos2, pos3; in GeneratePartition0() local 213 pos1 = VP8BitWriterPos(bw); in GeneratePartition0() 241 enc->pic_->stats->header_bytes[0] = (int)((pos2 - pos1 + 7) >> 3); in GeneratePartition0()
|
D | frame.c | 393 uint64_t pos1, pos2, pos3; in CodeResiduals() local 399 pos1 = VP8BitWriterPos(bw); in CodeResiduals() 433 it->luma_bits_ = pos2 - pos1; in CodeResiduals()
|
/external/icu4c/test/intltest/ |
D | sdtfmtts.cpp | 145 FieldPosition pos1(0), pos2(0); in testAPI() local 147 res1 = def.format(d, res1, pos1); in testAPI()
|
D | dtfmapts.cpp | 165 FieldPosition pos1(0), pos2(0); in testAPI() local 168 res1 = fr->format(d, res1, pos1, status); in testAPI()
|
D | nmfmapts.cpp | 123 FieldPosition pos1(0), pos2(0), pos3(0), pos4(0); in testAPI() local 131 res3 = cur_fr->format(d, res3, pos1); in testAPI()
|
D | dcfmapts.cpp | 137 FieldPosition pos1(0), pos2(0), pos3(0), pos4(0); in testAPI() local 139 res1 = def.format(d, res1, pos1); in testAPI()
|
/external/skia/src/views/ |
D | SkTouchGesture.cpp | 184 static float center(float pos0, float pos1) { in center() argument 185 return (pos0 + pos1) * 0.5f; in center()
|
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/ |
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 packa…
|
/external/libvpx/mkvparser/ |
D | mkvparser.cpp | 4555 long long pos1 = start; in ParseContentEncodingEntry() local 4559 while (pos1 < stop) { in ParseContentEncodingEntry() 4561 const long long id = ReadUInt(pReader, pos1, len); in ParseContentEncodingEntry() 4563 assert((pos1 + len) <= stop); in ParseContentEncodingEntry() 4565 pos1 += len; //consume id in ParseContentEncodingEntry() 4567 const long long size = ReadUInt(pReader, pos1, len); in ParseContentEncodingEntry() 4569 assert((pos1 + len) <= stop); in ParseContentEncodingEntry() 4571 pos1 += len; //consume length of size in ParseContentEncodingEntry() 4580 pos1 += size; //consume payload in ParseContentEncodingEntry() 4581 assert(pos1 <= stop); in ParseContentEncodingEntry() [all …]
|
/external/grub/netboot/ |
D | sk_g16.c | 1111 pos1 = inb(SK_POS1), in SK_print_pos() local 1119 SK_NAME, text, pos0, pos1, pos2, (pos3<<14), pos4); in SK_print_pos()
|