Home
last modified time | relevance | path

Searched refs:epos (Results 1 – 14 of 14) sorted by relevance

/third_party/lz4/contrib/gen_manual/
Dgen_manual.cpp57 size_t spos, epos; in trim_comments() local
60 epos = s.find("*/"); in trim_comments()
61 s = s.substr(spos+3, epos-(spos+3)); in trim_comments()
76 size_t const epos = line.find(terminator); in get_lines() local
77 if (!terminator.empty() && epos!=string::npos) { in get_lines()
91 size_t spos, epos; in print_line() local
96 epos = line.find("*/"); in print_line()
97 if (spos!=string::npos && epos!=string::npos) { in print_line()
/third_party/python/Lib/lib2to3/pgen2/
Dtokenize.py450 spos, epos, pos = (lnum, start), (lnum, end), end
455 yield (NUMBER, token, spos, epos, line)
465 yield (newline, token, spos, epos, line)
472 yield (COMMENT, token, spos, epos, line)
502 yield (STRING, token, spos, epos, line)
507 token, spos, epos, line)
510 tok = (NAME, token, spos, epos, line)
547 yield (OP, token, spos, epos, line)
/third_party/python/Lib/
Dtokenize.py530 spos, epos, pos = (lnum, start), (lnum, end), end
537 yield TokenInfo(NUMBER, token, spos, epos, line)
540 yield TokenInfo(NL, token, spos, epos, line)
542 yield TokenInfo(NEWLINE, token, spos, epos, line)
546 yield TokenInfo(COMMENT, token, spos, epos, line)
589 yield TokenInfo(STRING, token, spos, epos, line)
592 yield TokenInfo(NAME, token, spos, epos, line)
600 yield TokenInfo(OP, token, spos, epos, line)
/third_party/grpc/test/cpp/interop/
Dstress_test.cc148 size_t epos = std::string::npos; in ParseCommaDelimitedString() local
150 while ((epos = comma_delimited_str.find(',', bpos)) != std::string::npos) { in ParseCommaDelimitedString()
151 tokens.emplace_back(comma_delimited_str.substr(bpos, epos - bpos)); in ParseCommaDelimitedString()
152 bpos = epos + 1; in ParseCommaDelimitedString()
/third_party/toybox/toys/pending/
Dvi.c233 size_t epos, spos = 0; in cut_str() local
245 for (e = s, epos = spos; ; ) { in cut_str()
246 if (epos<=end && epos+e->node->len>end) break; in cut_str()
247 epos += e->node->len; in cut_str()
316 size_t epos, spos = 0; in text_strchr() local
323 epos = spos+i; in text_strchr()
325 for (; i < s->node->len; i++, epos++) in text_strchr()
326 if (s->node->data[i] == c) return epos; in text_strchr()
337 size_t epos, spos = 0; in text_strrchr() local
344 epos = spos+i; in text_strrchr()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dsae.c2014 const u8 *epos; in sae_parse_password_identifier() local
2031 epos = *pos; in sae_parse_password_identifier()
2032 epos++; /* skip IE type */ in sae_parse_password_identifier()
2033 len = *epos++; /* IE length */ in sae_parse_password_identifier()
2034 if (len > end - epos || len < 1) in sae_parse_password_identifier()
2036 epos++; /* skip ext ID */ in sae_parse_password_identifier()
2041 os_memcmp(sae->tmp->pw_id, epos, len) != 0)) { in sae_parse_password_identifier()
2052 os_memcpy(sae->tmp->pw_id, epos, len); in sae_parse_password_identifier()
2056 *pos = epos + len; in sae_parse_password_identifier()
2064 const u8 *epos; in sae_parse_rejected_groups() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dbeacon.c436 u8 *pos, *epos, *csa_pos; in hostapd_gen_probe_resp() local
481 epos = ((u8 *) resp) + MAX_PROBERESP_LEN; in hostapd_gen_probe_resp()
509 pos = hostapd_eid_country(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
526 pos = hostapd_get_rsne(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
527 pos = hostapd_eid_bss_load(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
528 pos = hostapd_eid_rm_enabled_capab(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
529 pos = hostapd_get_mde(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
577 pos = hostapd_get_rsnxe(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
595 pos = hostapd_get_wpa_ie(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
596 pos = hostapd_get_osen_ie(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dbeacon.c373 u8 *pos, *epos, *csa_pos; in hostapd_gen_probe_resp() local
413 epos = ((u8 *) resp) + MAX_PROBERESP_LEN; in hostapd_gen_probe_resp()
441 pos = hostapd_eid_country(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
460 pos = hostapd_eid_wpa(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
462 pos = hostapd_eid_bss_load(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
464 pos = hostapd_eid_rm_enabled_capab(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
527 pos = hostapd_eid_wpa(hapd, pos, epos - pos); in hostapd_gen_probe_resp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_peap.c637 const u8 *epos; in eap_peap_phase2_request() local
640 epos = eap_hdr_validate(EAP_VENDOR_MICROSOFT, 0x21, in eap_peap_phase2_request()
642 if (epos) { in eap_peap_phase2_request()
647 epos, eleft); in eap_peap_phase2_request()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_peap.c639 const u8 *epos; in eap_peap_phase2_request() local
642 epos = eap_hdr_validate(EAP_VENDOR_MICROSOFT, 0x21, in eap_peap_phase2_request()
644 if (epos) { in eap_peap_phase2_request()
649 epos, eleft); in eap_peap_phase2_request()
/third_party/icu/icu4c/source/test/intltest/
Dnumfmtst.h31 int32_t epos; member
Dnumfmtst.cpp8814 assertEquals("end", expected[idx].epos, fp.getEndIndex()); in verifyFieldPositionIterator()
/third_party/ffmpeg/libavfilter/
Davfilter.c992 const char *epos = strchr(p + 1, '='); in avfilter_init_str() local
994 const int next_token_is_opt = epos && (!spos || epos < spos); in avfilter_init_str()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_config_file.c2230 const char *epos; in parse_sae_password() local
2236 epos = os_strchr(pos2, '|'); in parse_sae_password()
2237 if (epos) { in parse_sae_password()
2238 tmp = os_malloc(epos - pos2 + 1); in parse_sae_password()
2241 os_memcpy(tmp, pos2, epos - pos2); in parse_sae_password()
2242 tmp[epos - pos2] = '\0'; in parse_sae_password()