/external/chromium_org/v8/test/cctest/ |
D | test-liveedit.cc | 65 : pos1(pos1_param), pos2(pos2_param), in DiffChunkStruct() 68 int pos2; member in __anon04c1de870111::DiffChunkStruct 82 void AddChunk(int pos1, int pos2, int len1, int len2) { in AddChunk() argument 83 current_chunk_ = new(zone_) 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/wpa_supplicant_8/wpa_supplicant/ |
D | hs20_supplicant.c | 564 const u8 *pos2; in hs20_osu_add_prov() local 593 pos2 = pos; in hs20_osu_add_prov() 597 while (pos2 + 4 <= pos && prov->friendly_name_count < OSU_MAX_ITEMS) { in hs20_osu_add_prov() 599 if (pos2 + 1 + pos2[0] > pos || pos2[0] < 3) { in hs20_osu_add_prov() 604 os_memcpy(f->lang, pos2 + 1, 3); in hs20_osu_add_prov() 605 os_memcpy(f->text, pos2 + 1 + 3, pos2[0] - 3); in hs20_osu_add_prov() 606 pos2 += 1 + pos2[0]; in hs20_osu_add_prov() 624 pos2 = pos + 1; in hs20_osu_add_prov() 626 while (pos2 < pos) { in hs20_osu_add_prov() 627 if (*pos2 < 32) in hs20_osu_add_prov() [all …]
|
/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/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/icu/icu4c/source/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/hostapd/ |
D | hlr_auc_gw.c | 272 char buf[200], *pos, *pos2; in read_gsm_triplets() local 309 pos2 = strchr(pos, ':'); in read_gsm_triplets() 310 if (pos2 == NULL) { in read_gsm_triplets() 316 *pos2 = '\0'; in read_gsm_triplets() 324 pos = pos2 + 1; in read_gsm_triplets() 327 pos2 = strchr(pos, ':'); in read_gsm_triplets() 328 if (pos2 == NULL) { in read_gsm_triplets() 333 *pos2 = '\0'; in read_gsm_triplets() 339 pos = pos2 + 1; in read_gsm_triplets() 342 pos2 = strchr(pos, ':'); in read_gsm_triplets() [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 | 670 char *pos, *pos2; in tncs_get_base64() local 678 pos2 = os_strstr(pos, "</Base64>"); in tncs_get_base64() 679 if (pos2 == NULL) in tncs_get_base64() 681 *pos2 = '\0'; in tncs_get_base64() 685 *pos2 = '<'; in tncs_get_base64() 783 char *buf, *start, *end, *pos, *pos2, *payload; in tncs_process_if_tnccs() local 916 pos2 = os_strstr(pos, "</XML>"); in tncs_process_if_tnccs() 917 if (pos2 == NULL) { in tncs_process_if_tnccs() 922 xmlend = pos2; in tncs_process_if_tnccs() 965 char *pos, *pos2; in tncs_parse_imv() local [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/ |
D | ttpload.c | 178 FT_ULong pos1, pos2; in tt_face_get_location() local 183 pos1 = pos2 = 0; in tt_face_get_location() 194 pos2 = pos1; in tt_face_get_location() 197 pos2 = FT_NEXT_ULONG( p ); in tt_face_get_location() 205 pos2 = pos1; in tt_face_get_location() 208 pos2 = FT_NEXT_USHORT( p ); in tt_face_get_location() 211 pos2 <<= 1; in tt_face_get_location() 226 if ( pos2 > face->glyf_len ) in tt_face_get_location() 231 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location() 232 pos2 = face->glyf_len; in tt_face_get_location() [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 | 620 char *pos, *pos2; in tncc_get_base64() local 628 pos2 = os_strstr(pos, "</Base64>"); in tncc_get_base64() 629 if (pos2 == NULL) in tncc_get_base64() 631 *pos2 = '\0'; in tncc_get_base64() 635 *pos2 = '<'; in tncc_get_base64() 646 char *pos, *pos2, saved; in tncc_get_recommendation() local 662 pos2 = pos; in tncc_get_recommendation() 663 while (*pos2 != '\0' && *pos2 != '"' && *pos2 != '>') in tncc_get_recommendation() 664 pos2++; in tncc_get_recommendation() 666 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/chromium_org/third_party/webrtc/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/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/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/oprofile/daemon/ |
D | opd_anon.c | 51 struct list_head * pos2; in do_lru() local 54 list_for_each_safe(pos, pos2, &lru) { in do_lru() 83 struct list_head * pos2; in clear_anon_maps() local 88 list_for_each_safe(pos, pos2, &hashes[hash]) { in clear_anon_maps()
|