Home
last modified time | relevance | path

Searched refs:dpos (Results 1 – 20 of 20) sorted by relevance

/third_party/toybox/toys/posix/
Dpaste.c37 char *dpos, *dstr, *buf, c; local
44 dpos = TT.d;
71 dstr = dpos;
76 else if (*dpos == '\\') {
77 if (*++dpos=='0') dpos++;
80 if ((c = unescape(*dpos))) {
82 dpos++;
86 while (0<(dlen = utf8towc(&wc, dpos, 99))) {
87 dpos += dlen;
89 if (dlen<0) dpos = dstr+1;
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_ttls.c190 u8 avp_flags, *dpos; in eap_ttls_avp_parse() local
211 dpos = (u8 *) (avp + 1); in eap_ttls_avp_parse()
219 vendor_id = be_to_host32(* (be32 *) dpos); in eap_ttls_avp_parse()
222 dpos += 4; in eap_ttls_avp_parse()
226 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); in eap_ttls_avp_parse()
231 parse->eap = os_memdup(dpos, dlen); in eap_ttls_avp_parse()
248 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse()
255 dpos, dlen); in eap_ttls_avp_parse()
256 parse->user_name = dpos; in eap_ttls_avp_parse()
260 u8 *password = dpos; in eap_ttls_avp_parse()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_ttls.c190 u8 avp_flags, *dpos; in eap_ttls_avp_parse() local
211 dpos = (u8 *) (avp + 1); in eap_ttls_avp_parse()
219 vendor_id = be_to_host32(* (be32 *) dpos); in eap_ttls_avp_parse()
222 dpos += 4; in eap_ttls_avp_parse()
226 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); in eap_ttls_avp_parse()
231 parse->eap = os_memdup(dpos, dlen); in eap_ttls_avp_parse()
248 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_avp_parse()
255 dpos, dlen); in eap_ttls_avp_parse()
256 parse->user_name = dpos; in eap_ttls_avp_parse()
260 u8 *password = dpos; in eap_ttls_avp_parse()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_ttls.c886 static int eap_ttls_parse_attr_eap(const u8 *dpos, size_t dlen, in eap_ttls_parse_attr_eap() argument
891 parse->eapdata = os_memdup(dpos, dlen); in eap_ttls_parse_attr_eap()
905 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap()
919 u8 avp_flags, *dpos; in eap_ttls_parse_avp() local
944 dpos = (u8 *) (avp + 1); in eap_ttls_parse_avp()
952 vendor_id = WPA_GET_BE32(dpos); in eap_ttls_parse_avp()
955 dpos += 4; in eap_ttls_parse_avp()
959 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); in eap_ttls_parse_avp()
962 if (eap_ttls_parse_attr_eap(dpos, dlen, parse) < 0) in eap_ttls_parse_avp()
968 dpos, dlen); in eap_ttls_parse_avp()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_ttls.c915 static int eap_ttls_parse_attr_eap(const u8 *dpos, size_t dlen, in eap_ttls_parse_attr_eap() argument
920 parse->eapdata = os_memdup(dpos, dlen); in eap_ttls_parse_attr_eap()
934 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap()
948 u8 avp_flags, *dpos; in eap_ttls_parse_avp() local
973 dpos = (u8 *) (avp + 1); in eap_ttls_parse_avp()
981 vendor_id = WPA_GET_BE32(dpos); in eap_ttls_parse_avp()
984 dpos += 4; in eap_ttls_parse_avp()
988 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); in eap_ttls_parse_avp()
991 if (eap_ttls_parse_attr_eap(dpos, dlen, parse) < 0) in eap_ttls_parse_avp()
997 dpos, dlen); in eap_ttls_parse_avp()
[all …]
/third_party/alsa-lib/src/ucm/
Ducm_subs.c659 size_t size, nsize, idsize, rvalsize, dpos = 0; in uc_mgr_get_substituted_value() local
677 r[dpos++] = *value; in uc_mgr_get_substituted_value()
770 strcpy(r + dpos, rval); in uc_mgr_get_substituted_value()
771 dpos += rvalsize; in uc_mgr_get_substituted_value()
774 r[dpos] = '\0'; in uc_mgr_get_substituted_value()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_wext.c439 char *dpos = (char *) &iwe_buf.u.data.length; in wpa_driver_wext_event_wireless() local
440 int dlen = dpos - (char *) &iwe_buf; in wpa_driver_wext_event_wireless()
441 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in wpa_driver_wext_event_wireless()
1535 char *dpos = (char *) &iwe_buf.u.data.length; in wpa_driver_wext_get_scan_results() local
1536 int dlen = dpos - (char *) &iwe_buf; in wpa_driver_wext_get_scan_results()
1537 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in wpa_driver_wext_get_scan_results()
Ddriver_hostap.c844 char *dpos = (char *) &iwe_buf.u.data.length; in hostapd_wireless_event_wireless() local
845 int dlen = dpos - (char *) &iwe_buf; in hostapd_wireless_event_wireless()
846 memcpy(dpos, pos + IW_EV_LCP_LEN, in hostapd_wireless_event_wireless()
Ddriver_ndis.c2029 char name[256], desc[256], *dpos; in wpa_driver_ndis_get_names() local
2104 dpos = os_strstr(desc, " - "); in wpa_driver_ndis_get_names()
2105 if (dpos) in wpa_driver_ndis_get_names()
2106 dlen = dpos - desc; in wpa_driver_ndis_get_names()
Ddriver_atheros.c1514 char *dpos = (char *) &iwe_buf.u.data.length; in atheros_wireless_event_wireless() local
1515 int dlen = dpos - (char *) &iwe_buf; in atheros_wireless_event_wireless()
1516 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in atheros_wireless_event_wireless()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_wext.c439 char *dpos = (char *) &iwe_buf.u.data.length; in wpa_driver_wext_event_wireless() local
440 int dlen = dpos - (char *) &iwe_buf; in wpa_driver_wext_event_wireless()
441 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in wpa_driver_wext_event_wireless()
1540 char *dpos = (char *) &iwe_buf.u.data.length; in wpa_driver_wext_get_scan_results() local
1541 int dlen = dpos - (char *) &iwe_buf; in wpa_driver_wext_get_scan_results()
1542 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in wpa_driver_wext_get_scan_results()
Ddriver_hostap.c848 char *dpos = (char *) &iwe_buf.u.data.length; in hostapd_wireless_event_wireless() local
849 int dlen = dpos - (char *) &iwe_buf; in hostapd_wireless_event_wireless()
850 memcpy(dpos, pos + IW_EV_LCP_LEN, in hostapd_wireless_event_wireless()
Ddriver_ndis.c2041 char name[256], desc[256], *dpos; in wpa_driver_ndis_get_names() local
2116 dpos = os_strstr(desc, " - "); in wpa_driver_ndis_get_names()
2117 if (dpos) in wpa_driver_ndis_get_names()
2118 dlen = dpos - desc; in wpa_driver_ndis_get_names()
Ddriver_atheros.c1503 char *dpos = (char *) &iwe_buf.u.data.length; in atheros_wireless_event_wireless() local
1504 int dlen = dpos - (char *) &iwe_buf; in atheros_wireless_event_wireless()
1505 os_memcpy(dpos, pos + IW_EV_LCP_LEN, in atheros_wireless_event_wireless()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/
DDiagBigDecimalTest.java182 double dpos; in diagconstructors() local
381 dpos = 1; in diagconstructors()
382 dpos = dpos / (10); in diagconstructors()
383 dneg = -dpos; in diagconstructors()
387 …TestFmwk.assertTrue("cdo003", ((new ohos.global.icu.math.BigDecimal(dpos)).toString()).equals("0.1… in diagconstructors()
4257 double dpos; in diagvalueof() local
4305 dpos = 1; in diagvalueof()
4306 dpos = dpos / (10); in diagvalueof()
4307 dneg = -dpos; in diagvalueof()
4310 …TestFmwk.assertTrue("val203", (ohos.global.icu.math.BigDecimal.valueOf(dpos).toString()).equals("0… in diagvalueof()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java179 double dpos; in diagconstructors() local
378 dpos = 1; in diagconstructors()
379 dpos = dpos / (10); in diagconstructors()
380 dneg = -dpos; in diagconstructors()
384 …TestFmwk.assertTrue("cdo003", ((new com.ibm.icu.math.BigDecimal(dpos)).toString()).equals("0.10000… in diagconstructors()
4254 double dpos; in diagvalueof() local
4302 dpos = 1; in diagvalueof()
4303 dpos = dpos / (10); in diagvalueof()
4304 dneg = -dpos; in diagvalueof()
4307 …TestFmwk.assertTrue("val203", (com.ibm.icu.math.BigDecimal.valueOf(dpos).toString()).equals("0.1")… in diagvalueof()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_ctrl_iface.c1918 u8 *dpos; in hostapd_ctrl_iface_data_test_tx() local
1967 dpos = (u8 *) (ip + 1); in hostapd_ctrl_iface_data_test_tx()
1969 *dpos++ = i; in hostapd_ctrl_iface_data_test_tx()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.c2114 u8 *dpos; in hostapd_ctrl_iface_data_test_tx() local
2163 dpos = (u8 *) (ip + 1); in hostapd_ctrl_iface_data_test_tx()
2165 *dpos++ = i; in hostapd_ctrl_iface_data_test_tx()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface.c9057 u8 *dpos; in wpas_ctrl_iface_data_test_tx() local
9106 dpos = (u8 *) (ip + 1); in wpas_ctrl_iface_data_test_tx()
9108 *dpos++ = i; in wpas_ctrl_iface_data_test_tx()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface.c9807 u8 *dpos; in wpas_ctrl_iface_data_test_tx() local
9856 dpos = (u8 *) (ip + 1); in wpas_ctrl_iface_data_test_tx()
9858 *dpos++ = i; in wpas_ctrl_iface_data_test_tx()