/external/v8/test/cctest/ |
D | test-liveedit.cc | 67 : pos1(pos1_param), pos2(pos2_param), in DiffChunkStruct() 70 int pos2; member in __anon0f2785d30111::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() 109 int pos2 = 0; in CompareStringsOneWay() local 118 int diff_pos2 = pos2 + similar_part_length; in CompareStringsOneWay() 120 ASSERT_EQ(diff_pos2, chunk->pos2); in CompareStringsOneWay() 124 ASSERT(pos2 + j < len2); in CompareStringsOneWay() 125 ASSERT_EQ(s1[pos1 + j], s2[pos2 + j]); in CompareStringsOneWay() 129 pos2 = diff_pos2 + chunk->len2; in CompareStringsOneWay() [all …]
|
/external/chromium_org/v8/test/cctest/ |
D | test-liveedit.cc | 67 : pos1(pos1_param), pos2(pos2_param), in DiffChunkStruct() 70 int pos2; member in __anonec6c31cd0111::DiffChunkStruct 84 void AddChunk(int pos1, int pos2, int len1, int len2) { in AddChunk() argument 85 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2); in AddChunk() 111 int pos2 = 0; in CompareStringsOneWay() local 120 int diff_pos2 = pos2 + similar_part_length; in CompareStringsOneWay() 122 ASSERT_EQ(diff_pos2, chunk->pos2); in CompareStringsOneWay() 126 ASSERT(pos2 + j < len2); in CompareStringsOneWay() 127 ASSERT_EQ(s1[pos1 + j], s2[pos2 + j]); in CompareStringsOneWay() 131 pos2 = diff_pos2 + chunk->len2; in CompareStringsOneWay() [all …]
|
/external/v8/test/mjsunit/ |
D | debug-liveedit-diff.js | 37 var pos2 = 0; 46 s2.substring(pos2, pos2 + similar_length)); 50 pos2 += similar_length; 54 print(s2.substring(pos2, diff_array[i + 2])); 55 print(">>> " + pos2 + " " + diff_array[i + 2]); 57 pos2 = diff_array[i + 2]; 62 assertEquals(similar_length, s2.length - pos2); 64 s2.substring(pos2, pos2 + similar_length));
|
/external/chromium_org/v8/test/mjsunit/ |
D | debug-liveedit-diff.js | 37 var pos2 = 0; 46 s2.substring(pos2, pos2 + similar_length)); 50 pos2 += similar_length; 54 print(s2.substring(pos2, diff_array[i + 2])); 55 print(">>> " + pos2 + " " + diff_array[i + 2]); 57 pos2 = diff_array[i + 2]; 62 assertEquals(similar_length, s2.length - pos2); 64 s2.substring(pos2, pos2 + similar_length));
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_er_ssdp.c | 26 char buf[MULTICAST_MAX_READ], *pos, *pos2, *start; in wps_er_ssdp_rx() local 84 pos2 = os_strstr(start, "max-age="); in wps_er_ssdp_rx() 85 if (pos2 == NULL) in wps_er_ssdp_rx() 87 pos2 += 8; in wps_er_ssdp_rx() 88 max_age = atoi(pos2); in wps_er_ssdp_rx() 91 pos2 = os_strstr(start, "uuid:"); in wps_er_ssdp_rx() 92 if (pos2) { in wps_er_ssdp_rx() 93 pos2 += 5; in wps_er_ssdp_rx() 94 while (*pos2 == ' ') in wps_er_ssdp_rx() 95 pos2++; in wps_er_ssdp_rx() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_wide_line.c | 74 float *pos2 = v2->data[pos]; in wideline_line() local 77 const float dx = fabsf(pos0[0] - pos2[0]); in wideline_line() 78 const float dy = fabsf(pos0[1] - pos2[1]); in wideline_line() 96 pos2[1] = pos2[1] - half_width - bias; in wideline_line() 99 if (pos0[0] < pos2[0]) { in wideline_line() 103 pos2[0] -= 0.5f; in wideline_line() 110 pos2[0] += 0.5f; in wideline_line() 119 pos2[0] = pos2[0] - half_width + bias; in wideline_line() 122 if (pos0[1] < pos2[1]) { in wideline_line() 126 pos2[1] -= 0.5f; in wideline_line() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
D | draw_pipe_wide_line.c | 74 float *pos2 = v2->data[pos]; in wideline_line() local 77 const float dx = fabsf(pos0[0] - pos2[0]); in wideline_line() 78 const float dy = fabsf(pos0[1] - pos2[1]); in wideline_line() 96 pos2[1] = pos2[1] - half_width - bias; in wideline_line() 99 if (pos0[0] < pos2[0]) { in wideline_line() 103 pos2[0] -= 0.5f; in wideline_line() 110 pos2[0] += 0.5f; in wideline_line() 119 pos2[0] = pos2[0] - half_width + bias; in wideline_line() 122 if (pos0[1] < pos2[1]) { in wideline_line() 126 pos2[1] -= 0.5f; in wideline_line() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 261 char buf[200], *pos, *pos2; in read_gsm_triplets() local 298 pos2 = strchr(pos, ':'); in read_gsm_triplets() 299 if (pos2 == NULL) { in read_gsm_triplets() 305 *pos2 = '\0'; in read_gsm_triplets() 313 pos = pos2 + 1; in read_gsm_triplets() 316 pos2 = strchr(pos, ':'); in read_gsm_triplets() 317 if (pos2 == NULL) { in read_gsm_triplets() 322 *pos2 = '\0'; in read_gsm_triplets() 328 pos = pos2 + 1; in read_gsm_triplets() 331 pos2 = strchr(pos, ':'); in read_gsm_triplets() [all …]
|
/external/bison/examples/calc++/ |
D | position.hh | 139 operator== (const position& pos1, const position& pos2) in operator ==() argument 141 return (pos1.line == pos2.line in operator ==() 142 && pos1.column == pos2.column in operator ==() 143 && (pos1.filename == pos2.filename in operator ==() 144 || (pos1.filename && pos2.filename in operator ==() 145 && *pos1.filename == *pos2.filename))); in operator ==() 150 operator!= (const position& pos1, const position& pos2) in operator !=() argument 152 return !(pos1 == pos2); in operator !=()
|
/external/icu4c/samples/uciter8/ |
D | uciter8.c | 47 int32_t i, pos1, pos2, middle, length; in compareIterators() local 52 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators() 53 if(length!=pos2) { in compareIterators() 54 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); in compareIterators() 67 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators() 68 if(pos2!=middle) { in compareIterators() 69 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators() 112 pos2=iter2->move(iter2, 0, UITER_START); in compareIterators() 113 if(pos2<0) { in compareIterators() 147 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | ext_password_test.c | 47 char *pos, *pos2; in ext_password_test_get() local 61 pos2 = pos; in ext_password_test_get() 62 while (*pos2 != '|' && *pos2 != '\0') in ext_password_test_get() 63 pos2++; in ext_password_test_get() 64 buf = ext_password_alloc(pos2 - pos); in ext_password_test_get() 67 wpabuf_put_data(buf, pos, pos2 - pos); in ext_password_test_get()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_gtc.c | 108 const u8 *pos2, *end; in eap_gtc_process() local 119 pos2 = pos; in eap_gtc_process() 120 while (pos2 < end && *pos2) in eap_gtc_process() 121 pos2++; in eap_gtc_process() 122 if (pos2 == end) { in eap_gtc_process() 130 pos, pos2 - pos); in eap_gtc_process() 132 (pos2 - pos != (int) sm->identity_len || in eap_gtc_process() 143 sm->identity_len = pos2 - pos; in eap_gtc_process() 161 pos = pos2 + 1; in eap_gtc_process()
|
D | tncs.c | 736 char *pos, *pos2; in tncs_get_base64() local 744 pos2 = os_strstr(pos, "</Base64>"); in tncs_get_base64() 745 if (pos2 == NULL) in tncs_get_base64() 747 *pos2 = '\0'; in tncs_get_base64() 751 *pos2 = '<'; in tncs_get_base64() 849 char *buf, *start, *end, *pos, *pos2, *payload; in tncs_process_if_tnccs() local 982 pos2 = os_strstr(pos, "</XML>"); in tncs_process_if_tnccs() 983 if (pos2 == NULL) { in tncs_process_if_tnccs() 988 xmlend = pos2; in tncs_process_if_tnccs() 1031 char *pos, *pos2; in tncs_parse_imv() local [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() 192 pos2 = pos1; in tt_face_get_location() 195 pos2 = FT_NEXT_ULONG( p ); in tt_face_get_location() 203 pos2 = pos1; in tt_face_get_location() 206 pos2 = FT_NEXT_USHORT( p ); in tt_face_get_location() 209 pos2 <<= 1; in tt_face_get_location() 224 if ( pos2 > face->glyf_len ) in tt_face_get_location() 229 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location() 230 pos2 = face->glyf_len; in tt_face_get_location() [all …]
|
/external/chromium_org/third_party/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() 192 pos2 = pos1; in tt_face_get_location() 195 pos2 = FT_NEXT_ULONG( p ); in tt_face_get_location() 203 pos2 = pos1; in tt_face_get_location() 206 pos2 = FT_NEXT_USHORT( p ); in tt_face_get_location() 209 pos2 <<= 1; in tt_face_get_location() 224 if ( pos2 > face->glyf_len ) in tt_face_get_location() 229 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location() 230 pos2 = face->glyf_len; in tt_face_get_location() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | userdatarequest.cpp | 39 char *tmp, *pos, *pos2; in setParams() local 51 pos2 = strchr(pos, ':'); in setParams() 52 if (pos2 == NULL) { in setParams() 56 *pos2++ = '\0'; in setParams() 59 queryInfo->setText(pos2); in setParams()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | entropy_coding.c | 804 WebRtc_Word16 pos, pos2, posg, poss, offsg, offss, offs2; in WebRtcIsacfix_DecodeLpcCoef() local 854 pos2 = offs2; in WebRtcIsacfix_DecodeLpcCoef() 856 …sumQQ += (WEBRTC_SPL_MUL_16_32_RSFT16(WebRtcIsacfix_kT1GainQ15[model][pos2], tmpcoeffs_gQ17[pos]<<… in WebRtcIsacfix_DecodeLpcCoef() 858 pos2++; in WebRtcIsacfix_DecodeLpcCoef() 869 pos2 = offs2; in WebRtcIsacfix_DecodeLpcCoef() 871 …_SPL_MUL_16_16_RSFT(tmpcoeffs_sQ10[pos], WebRtcIsacfix_kT1ShapeQ15[model][pos2], 7); // (Q10*Q15)>… in WebRtcIsacfix_DecodeLpcCoef() 873 pos2++; in WebRtcIsacfix_DecodeLpcCoef() 893 pos2 = j; in WebRtcIsacfix_DecodeLpcCoef() 895 …PL_LSHIFT_W32(WEBRTC_SPL_MUL_16_32_RSFT16(WebRtcIsacfix_kT2GainQ15[model][pos2], tmpcoeffs2_gQ21[p… in WebRtcIsacfix_DecodeLpcCoef() 897 pos2 += SUBFRAMES; in WebRtcIsacfix_DecodeLpcCoef() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | tncc.c | 667 char *pos, *pos2; in tncc_get_base64() local 675 pos2 = os_strstr(pos, "</Base64>"); in tncc_get_base64() 676 if (pos2 == NULL) in tncc_get_base64() 678 *pos2 = '\0'; in tncc_get_base64() 682 *pos2 = '<'; in tncc_get_base64() 693 char *pos, *pos2, saved; in tncc_get_recommendation() local 709 pos2 = pos; in tncc_get_recommendation() 710 while (*pos2 != '\0' && *pos2 != '"' && *pos2 != '>') in tncc_get_recommendation() 711 pos2++; in tncc_get_recommendation() 713 if (*pos2 == '\0') in tncc_get_recommendation() [all …]
|
/external/bison/data/ |
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/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | entropy_coding.c | 853 int j, k, n, pos, pos2, posg, poss, offsg, offss, offs2; in WebRtcIsac_DecodeLpcCoef() local 912 pos2 = offs2; in WebRtcIsac_DecodeLpcCoef() 914 sum += tmpcoeffs_g[pos++] * WebRtcIsac_kKltT1Gain[pos2++]; in WebRtcIsac_DecodeLpcCoef() 923 pos2 = offs2; in WebRtcIsac_DecodeLpcCoef() 925 sum += tmpcoeffs_s[pos++] * WebRtcIsac_kKltT1Shape[pos2++]; in WebRtcIsac_DecodeLpcCoef() 944 pos2 = j; in WebRtcIsac_DecodeLpcCoef() 946 sum += tmpcoeffs2_g[pos] * WebRtcIsac_kKltT2Gain[pos2]; in WebRtcIsac_DecodeLpcCoef() 948 pos2 += SUBFRAMES; in WebRtcIsac_DecodeLpcCoef() 957 pos2 = j; in WebRtcIsac_DecodeLpcCoef() 959 sum += tmpcoeffs2_s[pos] * WebRtcIsac_kKltT2Shape[pos2]; in WebRtcIsac_DecodeLpcCoef() [all …]
|
D | lpc_analysis.c | 212 int k, n, j, pos1, pos2; in WebRtcIsac_GetLpcCoefLb() local 259 pos2 = k * UPDATE/2; in WebRtcIsac_GetLpcCoefLb() 261 maskdata->DataBufferLo[pos1] = inLo[QLOOKAHEAD + pos2]; in WebRtcIsac_GetLpcCoefLb() 262 maskdata->DataBufferHi[pos1] = inHi[pos2++]; in WebRtcIsac_GetLpcCoefLb() 393 int frameCntr, activeFrameCntr, n, pos1, pos2; in WebRtcIsac_GetLpcCoefUb() local 428 pos2 = frameCntr * UPDATE/2; in WebRtcIsac_GetLpcCoefUb() 429 for(n = 0; n < UPDATE/2; n++, pos1++, pos2++) in WebRtcIsac_GetLpcCoefUb() 431 maskdata->DataBufferLo[pos1] = inSignal[pos2]; in WebRtcIsac_GetLpcCoefUb()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_symbolize_addr2line_linux.cc | 179 char *pos2 = (char*)internal_strchr(pos, ':'); in SymbolizeCodeAddr2Line() local 180 if (pos2) { in SymbolizeCodeAddr2Line() 181 res->file = (char*)internal_alloc(MBlockReportStack, pos2 - pos - 1 + 1); in SymbolizeCodeAddr2Line() 182 internal_memcpy(res->file, pos + 1, pos2 - pos - 1); in SymbolizeCodeAddr2Line() 183 res->file[pos2 - pos - 1] = 0; in SymbolizeCodeAddr2Line() 184 res->line = atoi(pos2 + 1); in SymbolizeCodeAddr2Line()
|
/external/chromium_org/chrome/test/security_tests/ |
D | ipc_security_tests.cc | 61 std::wstring::size_type pos2 = pos; in PipeNameFromCommandLine() local 63 if (isspace(cl[pos2])) { in PipeNameFromCommandLine() 66 ++pos2; in PipeNameFromCommandLine() 68 *pipe_name = cl.substr(pos, pos2); in PipeNameFromCommandLine()
|
/external/oprofile/daemon/liblegacy/ |
D | opd_proc.c | 89 struct list_head * pos, *pos2; in opd_get_proc() local 92 list_for_each_safe(pos, pos2, &opd_procs[hash]) { in opd_get_proc() 344 struct list_head * pos2; in opd_for_each_proc() local 348 list_for_each_safe(pos, pos2, &opd_procs[i]) { in opd_for_each_proc() 416 struct list_head * pos, * pos2; in opd_remove_kernel_mapping() local 418 list_for_each_safe(pos, pos2, &proc->maps) { in opd_remove_kernel_mapping()
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | Length.cpp | 99 size_t pos2; in parseHTMLAreaElementCoords() local 101 while ((pos2 = str->find(' ', pos)) != kNotFound) { in parseHTMLAreaElementCoords() 102 r[i++] = parseHTMLAreaCoordinate(str->characters8() + pos, pos2 - pos); in parseHTMLAreaElementCoords() 103 pos = pos2 + 1; in parseHTMLAreaElementCoords()
|