Home
last modified time | relevance | path

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

12345678

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
/third_party/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dhs20_supplicant.c864 const u8 *pos2; in hs20_osu_add_prov() local
897 pos2 = pos; in hs20_osu_add_prov()
901 while (pos - pos2 >= 4 && prov->friendly_name_count < OSU_MAX_ITEMS) { in hs20_osu_add_prov()
903 if (1 + pos2[0] > pos - pos2 || pos2[0] < 3) { in hs20_osu_add_prov()
908 os_memcpy(f->lang, pos2 + 1, 3); in hs20_osu_add_prov()
909 os_memcpy(f->text, pos2 + 1 + 3, pos2[0] - 3); in hs20_osu_add_prov()
910 pos2 += 1 + pos2[0]; in hs20_osu_add_prov()
940 pos2 = pos + 1; in hs20_osu_add_prov()
942 while (pos2 < pos) { in hs20_osu_add_prov()
943 if (*pos2 < 32) in hs20_osu_add_prov()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dstatus.cc57 std::string::size_type pos2 = line.find_last_of(" ", pos1 - 1); in GetMemoryUsage() local
58 mem_total = atol(line.substr(pos2, pos1 - pos2).c_str()); in GetMemoryUsage()
62 std::string::size_type pos2 = line.find_last_of(" ", pos1 - 1); in GetMemoryUsage() local
63 mem_available = atol(line.substr(pos2, pos1 - pos2).c_str()); in GetMemoryUsage()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dhs20_supplicant.c865 const u8 *pos2; in hs20_osu_add_prov() local
898 pos2 = pos; in hs20_osu_add_prov()
902 while (pos - pos2 >= 4 && prov->friendly_name_count < OSU_MAX_ITEMS) { in hs20_osu_add_prov()
906 slen = pos2[0]; in hs20_osu_add_prov()
907 if (1 + slen > pos - pos2) { in hs20_osu_add_prov()
917 pos2++; in hs20_osu_add_prov()
918 os_memcpy(f->lang, pos2, 3); in hs20_osu_add_prov()
919 pos2 += 3; in hs20_osu_add_prov()
921 os_memcpy(f->text, pos2, slen); in hs20_osu_add_prov()
922 pos2 += slen; in hs20_osu_add_prov()
[all …]
/third_party/skia/tests/sksl/intrinsics/
DDistance.glsl4 uniform vec4 pos2;
9 …pos1.x, pos2.x) == expected.x && distance(pos1.xy, pos2.xy) == expected.y) && distance(pos1.xyz, p…
DDistance.metal6 half4 pos2;
19pos2.x) == expected.x && distance(_uniforms.pos1.xy, _uniforms.pos2.xy) == expected.y) && distance…
/third_party/skia/resources/sksl/intrinsics/
DDistance.sksl1 uniform half4 pos1, pos2;
9 return (distance(pos1.x, pos2.x) == expected.x &&
10 distance(pos1.xy, pos2.xy) == expected.y &&
11 distance(pos1.xyz, pos2.xyz) == expected.z &&
12 distance(pos1.xyzw, pos2.xyzw) == expected.w &&
/third_party/freetype/src/truetype/
Dttpload.c200 FT_ULong pos1, pos2; in tt_face_get_location() local
205 pos1 = pos2 = 0; in tt_face_get_location()
215 pos2 = pos1; in tt_face_get_location()
218 pos2 = FT_NEXT_ULONG( p ); in tt_face_get_location()
226 pos2 = pos1; in tt_face_get_location()
229 pos2 = FT_NEXT_USHORT( p ); in tt_face_get_location()
232 pos2 <<= 1; in tt_face_get_location()
248 if ( pos2 > face->glyf_len ) in tt_face_get_location()
257 pos2 - pos1, gindex, face->glyf_len - pos1 )); in tt_face_get_location()
258 pos2 = face->glyf_len; in tt_face_get_location()
[all …]
/third_party/flutter/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttpload.c187 FT_ULong pos1, pos2; in tt_face_get_location() local
192 pos1 = pos2 = 0; in tt_face_get_location()
202 pos2 = pos1; in tt_face_get_location()
205 pos2 = FT_NEXT_ULONG( p ); in tt_face_get_location()
213 pos2 = pos1; in tt_face_get_location()
216 pos2 = FT_NEXT_USHORT( p ); in tt_face_get_location()
219 pos2 <<= 1; in tt_face_get_location()
236 if ( pos2 > face->glyf_len ) in tt_face_get_location()
243 pos2 - pos1, gindex )); in tt_face_get_location()
247 pos2 = face->glyf_len; in tt_face_get_location()
[all …]
/third_party/flutter/skia/experimental/svg/model/
DCssStyleParser.cpp56 std::string::size_type pos2; in splitString() local
58 pos2 = srcString.find(splitString); in splitString()
60 while (std::string::npos != pos2) { in splitString()
61 res.push_back(srcString.substr(pos1, pos2 - pos1)); in splitString()
63 pos1 = pos2 + splitString.size(); in splitString()
64 pos2 = srcString.find(splitString, pos1); in splitString()
/third_party/flutter/skia/src/xml/
DCssStyleParser.cpp65 std::string::size_type pos2; in splitString() local
67 pos2 = srcString.find(splitString); in splitString()
69 while (std::string::npos != pos2) { in splitString()
70 res.push_back(srcString.substr(pos1, pos2 - pos1)); in splitString()
72 pos1 = pos2 + splitString.size(); in splitString()
73 pos2 = srcString.find(splitString, pos1); in splitString()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
633 *pos2 = '<'; in tncc_get_base64()
644 char *pos, *pos2, saved; in tncc_get_recommendation() local
660 pos2 = pos; in tncc_get_recommendation()
661 while (*pos2 != '\0' && *pos2 != '"' && *pos2 != '>') in tncc_get_recommendation()
662 pos2++; in tncc_get_recommendation()
664 if (*pos2 == '\0') in tncc_get_recommendation()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]

12345678