Home
last modified time | relevance | path

Searched refs:spos (Results 1 – 25 of 33) sorted by relevance

12

/third_party/lz4/contrib/gen_manual/
Dgen_manual.cpp57 size_t spos, epos; in trim_comments() local
59 spos = s.find("/*"); in trim_comments()
61 s = s.substr(spos+3, epos-(spos+3)); in trim_comments()
91 size_t spos, epos; in print_line() local
95 spos = line.find("/*"); in print_line()
97 if (spos!=string::npos && epos!=string::npos) { in print_line()
98 sout << line.substr(0, spos); in print_line()
99 sout << "</b>" << line.substr(spos) << "<b>" << '\n'; in print_line()
111 size_t spos, l; in main() local
162 spos = line.find("/**="); in main()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Djson.c67 char *str, *spos, *s_end; in json_parse_string() local
78 spos = str; in json_parse_string()
82 if (buf_len < max_len && s_end - spos < 3) { in json_parse_string()
86 idx = spos - str; in json_parse_string()
94 spos = str + idx; in json_parse_string()
100 *spos = '\0'; in json_parse_string()
115 *spos++ = *pos; in json_parse_string()
118 *spos++ = '\n'; in json_parse_string()
121 *spos++ = '\r'; in json_parse_string()
124 *spos++ = '\t'; in json_parse_string()
[all …]
/third_party/toybox/toys/pending/
Dvi.c233 size_t epos, spos = 0; in cut_str() local
238 if (spos<=offset && spos+s->node->len>offset) break; in cut_str()
239 spos += s->node->len; in cut_str()
245 for (e = s, epos = spos; ; ) { in cut_str()
254 if (spos == offset && ( end >= spos+s->node->len)) { in cut_str()
256 spos += s->node->len; in cut_str()
261 } else if (spos < offset && ( end >= spos+s->node->len)) { in cut_str()
263 size_t clip = s->node->len - (offset - spos); in cut_str()
264 offset = spos+s->node->len; in cut_str()
265 spos += s->node->len; in cut_str()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Djson.c67 char *str, *spos, *s_end; in json_parse_string() local
78 spos = str; in json_parse_string()
82 if (buf_len < max_len && s_end - spos < 3) { in json_parse_string()
86 idx = spos - str; in json_parse_string()
94 spos = str + idx; in json_parse_string()
100 *spos = '\0'; in json_parse_string()
115 *spos++ = *pos; in json_parse_string()
118 *spos++ = '\n'; in json_parse_string()
121 *spos++ = '\r'; in json_parse_string()
124 *spos++ = '\t'; in json_parse_string()
[all …]
/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)
482 yield (STRING, token, spos, (lnum, pos), line)
502 yield (STRING, token, spos, epos, line)
507 token, spos, epos, line)
510 tok = (NAME, token, spos, epos, line)
539 yield (NL, token, spos, (lnum, pos), line)
547 yield (OP, token, spos, epos, line)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dp2p_supplicant_sd.c33 u8 **spos, const u8 *end) in p2p_sd_dns_uncompress_label() argument
35 while (*spos < end) { in p2p_sd_dns_uncompress_label()
36 u8 val = ((*spos)[0] & 0xc0) >> 6; in p2p_sd_dns_uncompress_label()
51 if (end - *spos < 2) { in p2p_sd_dns_uncompress_label()
57 offset = (((*spos)[0] & 0x3f) << 8) | (*spos)[1]; in p2p_sd_dns_uncompress_label()
58 if (offset >= *spos - start) { in p2p_sd_dns_uncompress_label()
64 (*spos) += 2; in p2p_sd_dns_uncompress_label()
68 *spos - 2); in p2p_sd_dns_uncompress_label()
72 len = (*spos)[0] & 0x3f; in p2p_sd_dns_uncompress_label()
76 (*spos)++; in p2p_sd_dns_uncompress_label()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dp2p_supplicant_sd.c33 u8 **spos, const u8 *end) in p2p_sd_dns_uncompress_label() argument
35 while (*spos < end) { in p2p_sd_dns_uncompress_label()
36 u8 val = ((*spos)[0] & 0xc0) >> 6; in p2p_sd_dns_uncompress_label()
51 if (end - *spos < 2) { in p2p_sd_dns_uncompress_label()
57 offset = (((*spos)[0] & 0x3f) << 8) | (*spos)[1]; in p2p_sd_dns_uncompress_label()
58 if (offset >= *spos - start) { in p2p_sd_dns_uncompress_label()
64 (*spos) += 2; in p2p_sd_dns_uncompress_label()
68 *spos - 2); in p2p_sd_dns_uncompress_label()
72 len = (*spos)[0] & 0x3f; in p2p_sd_dns_uncompress_label()
76 (*spos)++; in p2p_sd_dns_uncompress_label()
[all …]
/third_party/cups-filters/filter/pdftopdf/
Dnup.cc14 int opos=-1,fpos=-1,spos=-1; in dump() local
21 spos=0; in dump()
23 spos=1; in dump()
31 std::swap(fpos,spos); in dump()
34 if ( (opos==-1)||(fpos==-1)||(spos==-1) ) { in dump()
40 order[opos+fpos],order[(opos+2)%4+spos]); in dump()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_wpos_center.c56 nir_ssa_def *spos = nir_load_sample_pos_or_center(b); in update_fragcoord() local
60 nir_channel(b, spos, 0), in update_fragcoord()
61 nir_channel(b, spos, 1), in update_fragcoord()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dpostprocessor.c588 const char *spos; in try_get_value() local
598 while (NULL != (spos = strstr (bpos, key))) in try_get_value()
600 if ((spos[klen] != '=') || ((spos != buf) && (spos[-1] != ' '))) in try_get_value()
603 bpos = spos + 1; in try_get_value()
606 if (spos[klen + 1] != '"') in try_get_value()
608 if (NULL == (endv = strchr (&spos[klen + 2], '\"'))) in try_get_value()
610 vlen = endv - spos - klen - 1; in try_get_value()
615 memcpy (*destination, &spos[klen + 2], vlen - 1); in try_get_value()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/
DLookupList.java103 int spos = rpos + serializedCount * LOOKUP_OFFSET_SIZE; in serializeFromBuilders() local
108 newData.writeUShort(rpos, spos); in serializeFromBuilders()
111 WritableFontData targetData = newData.slice(spos); in serializeFromBuilders()
113 spos += s; in serializeFromBuilders()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/
DLookupList.java103 int spos = rpos + serializedCount * LOOKUP_OFFSET_SIZE; in serializeFromBuilders() local
108 newData.writeUShort(rpos, spos); in serializeFromBuilders()
111 WritableFontData targetData = newData.slice(spos); in serializeFromBuilders()
113 spos += s; in serializeFromBuilders()
/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)
554 yield TokenInfo(STRING, token, spos, (lnum, pos), 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/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_wext.c249 char *spos; in wpa_driver_wext_event_wireless_custom() local
253 spos = custom + 17; in wpa_driver_wext_event_wireless_custom()
255 bytes = strspn(spos, "0123456789abcdefABCDEF"); in wpa_driver_wext_event_wireless_custom()
262 hexstr2bin(spos, req_ies, bytes) < 0) in wpa_driver_wext_event_wireless_custom()
267 spos += bytes * 2; in wpa_driver_wext_event_wireless_custom()
272 if (os_strncmp(spos, " RespIEs=", 9) == 0) { in wpa_driver_wext_event_wireless_custom()
273 spos += 9; in wpa_driver_wext_event_wireless_custom()
275 bytes = strspn(spos, "0123456789abcdefABCDEF"); in wpa_driver_wext_event_wireless_custom()
282 hexstr2bin(spos, resp_ies, bytes) < 0) in wpa_driver_wext_event_wireless_custom()
1373 char *spos; in wext_get_scan_custom() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_wext.c249 char *spos; in wpa_driver_wext_event_wireless_custom() local
253 spos = custom + 17; in wpa_driver_wext_event_wireless_custom()
255 bytes = strspn(spos, "0123456789abcdefABCDEF"); in wpa_driver_wext_event_wireless_custom()
262 hexstr2bin(spos, req_ies, bytes) < 0) in wpa_driver_wext_event_wireless_custom()
267 spos += bytes * 2; in wpa_driver_wext_event_wireless_custom()
272 if (os_strncmp(spos, " RespIEs=", 9) == 0) { in wpa_driver_wext_event_wireless_custom()
273 spos += 9; in wpa_driver_wext_event_wireless_custom()
275 bytes = strspn(spos, "0123456789abcdefABCDEF"); in wpa_driver_wext_event_wireless_custom()
282 hexstr2bin(spos, resp_ies, bytes) < 0) in wpa_driver_wext_event_wireless_custom()
1368 char *spos; in wext_get_scan_custom() local
[all …]
/third_party/libwebsockets/lib/roles/mqtt/
Dmqtt.c284 const char *ppos = pub, *spos = sub; in lws_mqtt_is_topic_matched() local
286 if (!ppos || !spos) { in lws_mqtt_is_topic_matched()
290 while (*spos) { in lws_mqtt_is_topic_matched()
298 if (*spos == '+') { in lws_mqtt_is_topic_matched()
303 } else if (*spos == '#') { in lws_mqtt_is_topic_matched()
308 if (!strncmp(spos, "/#", 2)) in lws_mqtt_is_topic_matched()
312 } else if (*ppos != *spos) { in lws_mqtt_is_topic_matched()
317 spos++; in lws_mqtt_is_topic_matched()
320 if (*spos == '\0' && *ppos == '\0') in lws_mqtt_is_topic_matched()
351 size_t spos = 0; in lws_mqtt_validate_topic() local
[all …]
/third_party/ejdb/src/jql/
Djql.c1603 const char *pv, *spos; in _jql_proj_join_matched() local
1612 spos = strchr(pv, '<'); in _jql_proj_join_matched()
1613 if (!spos) { in _jql_proj_join_matched()
1619 ret = !strncmp(key, pv, spos - pv); in _jql_proj_join_matched()
1626 spos = strchr(pv, '<'); in _jql_proj_join_matched()
1627 assert(spos); in _jql_proj_join_matched()
1628 ret = !strncmp(key, pv, spos - pv); in _jql_proj_join_matched()
1635 const char *coll = spos + 1; in _jql_proj_join_matched()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_group.c526 const u8 *spos; in p2p_build_client_info() local
546 spos = msg.p2p_device_info; /* P2P Device address */ in p2p_build_client_info()
552 wpabuf_put_data(buf, spos, ETH_ALEN); in p2p_build_client_info()
562 wpabuf_put_data(buf, spos + ETH_ALEN, in p2p_build_client_info()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_group.c526 const u8 *spos; in p2p_build_client_info() local
546 spos = msg.p2p_device_info; /* P2P Device address */ in p2p_build_client_info()
552 wpabuf_put_data(buf, spos, ETH_ALEN); in p2p_build_client_info()
562 wpabuf_put_data(buf, spos + ETH_ALEN, in p2p_build_client_info()
/third_party/popt/po/
Dpl.po77 msgstr "Wyświetl skrócony sposób użycia"
/third_party/icu/icu4c/source/test/intltest/
Dnumfmtst.h30 int32_t spos; member
/third_party/musl/porting/liteos_a/user/ldso/
Ddynlink.c1461 size_t cnt, qpos, spos, i; in queue_ctors() local
1495 spos = cnt; in queue_ctors()
1496 stack[--spos] = dso; in queue_ctors()
1501 while (spos<cnt) { in queue_ctors()
1502 p = stack[spos++]; in queue_ctors()
1507 stack[--spos] = p; in queue_ctors()
/third_party/musl/porting/liteos_a/user_debug/ldso/
Ddynlink.c1460 size_t cnt, qpos, spos, i; in queue_ctors() local
1494 spos = cnt; in queue_ctors()
1495 stack[--spos] = dso; in queue_ctors()
1500 while (spos<cnt) { in queue_ctors()
1501 p = stack[spos++]; in queue_ctors()
1506 stack[--spos] = p; in queue_ctors()
/third_party/musl/ldso/
Ddynlink.c1444 size_t cnt, qpos, spos, i; in queue_ctors() local
1478 spos = cnt; in queue_ctors()
1479 stack[--spos] = dso; in queue_ctors()
1484 while (spos<cnt) { in queue_ctors()
1485 p = stack[spos++]; in queue_ctors()
1490 stack[--spos] = p; in queue_ctors()
/third_party/ffmpeg/libavfilter/
Davfilter.c993 const char *spos = strchr(p + 1, ':'); in avfilter_init_str() local
994 const int next_token_is_opt = epos && (!spos || epos < spos); in avfilter_init_str()

12