Home
last modified time | relevance | path

Searched refs:pos2 (Results 1 – 25 of 127) sorted by relevance

123456

/external/wpa_supplicant_8/src/ap/
Dmbo_ap.c132 char *pos2 = pos; in mbo_ap_get_info() local
134 ret = os_snprintf(pos2, end - pos2, in mbo_ap_get_info()
139 if (os_snprintf_error(end - pos2, ret)) in mbo_ap_get_info()
141 pos2 += ret; in mbo_ap_get_info()
144 ret = os_snprintf(pos2, end - pos2, "%u%s", in mbo_ap_get_info()
148 if (os_snprintf_error(end - pos2, ret)) { in mbo_ap_get_info()
149 pos2 = NULL; in mbo_ap_get_info()
152 pos2 += ret; in mbo_ap_get_info()
155 if (!pos2) in mbo_ap_get_info()
157 ret = os_snprintf(pos2, end - pos2, "\n"); in mbo_ap_get_info()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_er_ssdp.c26 char buf[MULTICAST_MAX_READ], *pos, *pos2, *start; in wps_er_ssdp_rx() local
82 pos2 = os_strstr(start, "max-age="); in wps_er_ssdp_rx()
83 if (pos2 == NULL) in wps_er_ssdp_rx()
85 pos2 += 8; in wps_er_ssdp_rx()
86 max_age = atoi(pos2); in wps_er_ssdp_rx()
89 pos2 = os_strstr(start, "uuid:"); in wps_er_ssdp_rx()
90 if (pos2) { in wps_er_ssdp_rx()
91 pos2 += 5; in wps_er_ssdp_rx()
92 while (*pos2 == ' ') in wps_er_ssdp_rx()
93 pos2++; in wps_er_ssdp_rx()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_wide_line.c63 float *pos2 = v2->data[pos]; in wideline_line() local
66 const float dx = fabsf(pos0[0] - pos2[0]); in wideline_line()
67 const float dy = fabsf(pos0[1] - pos2[1]); in wideline_line()
85 pos2[1] = pos2[1] - half_width - bias; in wideline_line()
88 if (pos0[0] < pos2[0]) { in wideline_line()
92 pos2[0] -= 0.5f; in wideline_line()
99 pos2[0] += 0.5f; in wideline_line()
108 pos2[0] = pos2[0] - half_width + bias; in wideline_line()
111 if (pos0[1] < pos2[1]) { in wideline_line()
115 pos2[1] -= 0.5f; in wideline_line()
[all …]
/external/icu/icu4c/source/samples/uciter8/
Duciter8.c55 int32_t i, pos1, pos2, middle, length; in compareIterators() local
60 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
61 if(length!=pos2) { in compareIterators()
62 log_err("%s->getIndex(length)=%d != %d=%s->getIndex(length)\n", n1, length, pos2, n2); in compareIterators()
75 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
76 if(pos2!=middle) { in compareIterators()
77 log_err("%s->move(from 0 to middle %d)=%d does not move to the middle\n", n2, middle, pos2); in compareIterators()
120 pos2=iter2->move(iter2, 0, UITER_START); in compareIterators()
121 if(pos2<0) { in compareIterators()
155 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
[all …]
/external/wpa_supplicant_8/src/utils/
Dext_password_test.c47 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/wpa_supplicant/
Dhs20_supplicant.c869 const u8 *pos2; in hs20_osu_add_prov() local
902 pos2 = pos; in hs20_osu_add_prov()
906 while (pos - pos2 >= 4 && prov->friendly_name_count < OSU_MAX_ITEMS) { in hs20_osu_add_prov()
908 if (1 + pos2[0] > pos - pos2 || pos2[0] < 3) { in hs20_osu_add_prov()
913 os_memcpy(f->lang, pos2 + 1, 3); in hs20_osu_add_prov()
914 os_memcpy(f->text, pos2 + 1 + 3, pos2[0] - 3); in hs20_osu_add_prov()
915 pos2 += 1 + pos2[0]; in hs20_osu_add_prov()
945 pos2 = pos + 1; in hs20_osu_add_prov()
947 while (pos2 < pos) { in hs20_osu_add_prov()
948 if (*pos2 < 32) in hs20_osu_add_prov()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_gtc.c108 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()
160 pos = pos2 + 1; in eap_gtc_process()
Dtncs.c668 char *pos, *pos2; in tncs_get_base64() local
676 pos2 = os_strstr(pos, "</Base64>"); in tncs_get_base64()
677 if (pos2 == NULL) in tncs_get_base64()
679 *pos2 = '\0'; in tncs_get_base64()
683 *pos2 = '<'; in tncs_get_base64()
781 char *buf, *start, *end, *pos, *pos2, *payload; in tncs_process_if_tnccs() local
914 pos2 = os_strstr(pos, "</XML>"); in tncs_process_if_tnccs()
915 if (pos2 == NULL) { in tncs_process_if_tnccs()
920 xmlend = pos2; in tncs_process_if_tnccs()
963 char *pos, *pos2; in tncs_parse_imv() local
[all …]
/external/freetype/src/truetype/
Dttpload.c201 FT_ULong pos1, pos2; in tt_face_get_location() local
206 pos1 = pos2 = 0; in tt_face_get_location()
216 pos2 = pos1; in tt_face_get_location()
219 pos2 = FT_NEXT_ULONG( p ); in tt_face_get_location()
227 pos2 = pos1; in tt_face_get_location()
230 pos2 = FT_NEXT_USHORT( p ); in tt_face_get_location()
233 pos2 <<= 1; in tt_face_get_location()
249 if ( pos2 > face->glyf_len ) in tt_face_get_location()
258 pos2 - pos1, gindex, face->glyf_len - pos1 )); in tt_face_get_location()
259 pos2 = face->glyf_len; in tt_face_get_location()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Dtncc.c619 char *pos, *pos2; in tncc_get_base64() local
627 pos2 = os_strstr(pos, "</Base64>"); in tncc_get_base64()
628 if (pos2 == NULL) in tncc_get_base64()
630 *pos2 = '\0'; in tncc_get_base64()
634 *pos2 = '<'; in tncc_get_base64()
645 char *pos, *pos2, saved; in tncc_get_recommendation() local
661 pos2 = pos; in tncc_get_recommendation()
662 while (*pos2 != '\0' && *pos2 != '"' && *pos2 != '>') in tncc_get_recommendation()
663 pos2++; in tncc_get_recommendation()
665 if (*pos2 == '\0') in tncc_get_recommendation()
[all …]
/external/u-boot/lib/efi_selftest/
Defi_selftest_util.c15 const u8 *pos2 = buf2; in efi_st_memcmp() local
18 if (*pos1 != *pos2) in efi_st_memcmp()
19 return *pos1 - *pos2; in efi_st_memcmp()
21 ++pos2; in efi_st_memcmp()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Duserdatarequest.cpp39 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/u-boot/board/siemens/common/
Dboard.c192 unsigned char i, idx, pos1, pos2, ccount; in set_env_gpios() local
207 pos2 = 0; in set_env_gpios()
214 pos2 = idx; in set_env_gpios()
218 if (pos2 <= pos1 || ccount > 2) in set_env_gpios()
236 (pos2-pos1-1)*sizeof(char)); in set_env_gpios()
245 strcpy(str_tmp, ptr_env+pos2+1); in set_env_gpios()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dentropy_coding.c848 int j, k, n, pos, pos2, posg, poss, offsg, offss, offs2; in WebRtcIsac_DecodeLpcCoef() local
907 pos2 = offs2; in WebRtcIsac_DecodeLpcCoef()
909 sum += tmpcoeffs_g[pos++] * WebRtcIsac_kKltT1Gain[pos2++]; in WebRtcIsac_DecodeLpcCoef()
918 pos2 = offs2; in WebRtcIsac_DecodeLpcCoef()
920 sum += tmpcoeffs_s[pos++] * WebRtcIsac_kKltT1Shape[pos2++]; in WebRtcIsac_DecodeLpcCoef()
939 pos2 = j; in WebRtcIsac_DecodeLpcCoef()
941 sum += tmpcoeffs2_g[pos] * WebRtcIsac_kKltT2Gain[pos2]; in WebRtcIsac_DecodeLpcCoef()
943 pos2 += SUBFRAMES; in WebRtcIsac_DecodeLpcCoef()
952 pos2 = j; in WebRtcIsac_DecodeLpcCoef()
954 sum += tmpcoeffs2_s[pos] * WebRtcIsac_kKltT2Shape[pos2]; in WebRtcIsac_DecodeLpcCoef()
[all …]
Dlpc_analysis.c212 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/google-breakpad/src/common/linux/
Dlinux_libc_support.cc200 size_t pos2 = 0; in my_strlcpy() local
202 while (s2[pos2] != '\0') { in my_strlcpy()
204 s1[pos1] = s2[pos2]; in my_strlcpy()
207 pos2++; in my_strlcpy()
212 return pos2; in my_strlcpy()
/external/u-boot/lib/efi_loader/
Dhelloworld.c23 const u8 *pos2 = buf2; in hw_memcmp() local
26 if (*pos1 != *pos2) in hw_memcmp()
27 return *pos1 - *pos2; in hw_memcmp()
29 ++pos2; in hw_memcmp()
/external/aac/libAACdec/src/
Dusacdec_ace_d4t64.cpp185 SHORT pos1, pos2; in D_ACELP_decode_2p_2N1() local
193 pos2 = (SHORT)((index & mask) + offset); in D_ACELP_decode_2p_2N1()
194 if ((pos2 - pos1) < 0) { in D_ACELP_decode_2p_2N1()
198 pos2 += 16; in D_ACELP_decode_2p_2N1()
203 pos2 += 16; in D_ACELP_decode_2p_2N1()
207 pos[1] = pos2; in D_ACELP_decode_2p_2N1()
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c278 char buf[200], *pos, *pos2; in read_gsm_triplets() local
315 pos2 = NULL; in read_gsm_triplets()
316 pos = str_token(buf, ":", &pos2); in read_gsm_triplets()
325 pos = str_token(buf, ":", &pos2); in read_gsm_triplets()
333 pos = str_token(buf, ":", &pos2); in read_gsm_triplets()
342 pos = str_token(buf, ":", &pos2); in read_gsm_triplets()
390 char buf[200], *pos, *pos2; in read_milenage() local
427 pos2 = NULL; in read_milenage()
428 pos = str_token(buf, " ", &pos2); in read_milenage()
437 pos = str_token(buf, " ", &pos2); in read_milenage()
[all …]
Dconfig_file.c40 char buf[128], *pos, *pos2, *pos3; in hostapd_config_read_vlan_file() local
82 pos2 = pos; in hostapd_config_read_vlan_file()
83 while (*pos2 != ' ' && *pos2 != '\t' && *pos2 != '\0') in hostapd_config_read_vlan_file()
84 pos2++; in hostapd_config_read_vlan_file()
86 if (*pos2 != '\0') in hostapd_config_read_vlan_file()
87 *(pos2++) = '\0'; in hostapd_config_read_vlan_file()
96 while (*pos2 == ' ' || *pos2 == '\t') in hostapd_config_read_vlan_file()
97 pos2++; in hostapd_config_read_vlan_file()
98 pos3 = pos2; in hostapd_config_read_vlan_file()
115 os_strlcpy(vlan->bridge, pos2, sizeof(vlan->bridge)); in hostapd_config_read_vlan_file()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Instrumentation/SanitizerCoverage/
Dchains.ll9 br label %pos2
13 pos2:
15 ; CHECK-LABEL: pos2:
/external/icu/icu4c/source/tools/escapesrc/
Descapesrc.cpp264 for(size_t pos2 = pos+1; trail>0; pos2++,trail--) { in fixAt() local
265 linestr[pos2] = cp1047_to_8859(linestr[pos2]); in fixAt()
266 if(linestr[pos2] == 0x0A) { in fixAt()
267 linestr[pos2] = 0x85; // NL is ambiguous here in fixAt()
/external/v8/src/debug/
Dliveedit.cc49 virtual void AddChunk(int pos1, int pos2, int len1, int len2) = 0;
90 int pos2 = 0; in SaveResult() local
93 if (pos2 < len2_) { in SaveResult()
94 Direction dir = get_direction(pos1, pos2); in SaveResult()
99 pos2++; in SaveResult()
108 pos2++; in SaveResult()
118 if (len2_ != pos2) { in SaveResult()
119 writer.skip2(len2_ - pos2); in SaveResult()
144 int CompareUpToTail(int pos1, int pos2) { in CompareUpToTail() argument
146 if (pos2 < len2_) { in CompareUpToTail()
[all …]
/external/brotli/research/
Ddraw_histogram.cc115 int pos2 = static_cast<int>(ceil(1.0 * (y + 1) * max_pos / width)); in BuildHistogram() local
116 histo[x][y] += pos2 - pos; in BuildHistogram()
122 pos2 = static_cast<int>(ceil(1.0 * right * max_pos / width)); in BuildHistogram()
123 histo[x][right] += pos + copy - 1 - pos2 + 1; in BuildHistogram()
/external/apache-commons-bcel/src/examples/
DClassDumper.java331 long pos2 = file.getStreamPosition(); in processFieldOrMethod() local
332 if ((pos2 - pos1) != (attribute_length + 6)) { in processFieldOrMethod()
334 attribute_length, pos2-pos1-6, pos1, pos1, pos2, pos2); in processFieldOrMethod()

123456