Home
last modified time | relevance | path

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

/external/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()
92 size_t spos; in print_line() local
95 spos = line.find("/*"); in print_line()
96 if (spos!=string::npos) { in print_line()
97 sout << line.substr(0, spos); in print_line()
98 sout << "</b>" << line.substr(spos) << "<b>" << endl; in print_line()
111 size_t spos, l; in main() local
174 spos = line.find("/*!"); in main()
[all …]
/external/wpa_supplicant_8/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()
110 *spos++ = *pos; in json_parse_string()
113 *spos++ = '\n'; in json_parse_string()
116 *spos++ = '\r'; in json_parse_string()
119 *spos++ = '\t'; in json_parse_string()
[all …]
/external/python/cpython2/Lib/
DStringIO.py218 spos = self.pos
220 if spos == slen:
222 self.len = self.pos = spos + len(s)
224 if spos > slen:
225 self.buflist.append('\0'*(spos - slen))
226 slen = spos
227 newpos = spos + len(s)
228 if spos < slen:
231 self.buflist = [self.buf[:spos], s, self.buf[newpos:]]
Dtokenize.py387 spos, epos, pos = (lnum, start), (lnum, end), end
394 yield (NUMBER, token, spos, epos, line)
397 token, spos, epos, line)
400 yield (COMMENT, token, spos, epos, line)
407 yield (STRING, token, spos, (lnum, pos), line)
424 yield (STRING, token, spos, epos, line)
426 yield (NAME, token, spos, epos, line)
434 yield (OP, token, spos, epos, line)
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py463 spos, epos, pos = (lnum, start), (lnum, end), end
468 yield (NUMBER, token, spos, epos, line)
478 yield (newline, token, spos, epos, line)
485 yield (COMMENT, token, spos, epos, line)
495 yield (STRING, token, spos, (lnum, pos), line)
515 yield (STRING, token, spos, epos, line)
520 token, spos, epos, line)
523 tok = (NAME, token, spos, epos, line)
551 yield (NL, token, spos, (lnum, pos), line)
559 yield (OP, token, spos, epos, line)
/external/wpa_supplicant_8/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 …]
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py442 spos, epos, pos = (lnum, start), (lnum, end), end
447 yield (NUMBER, token, spos, epos, line)
452 yield (newline, token, spos, epos, line)
455 yield (COMMENT, token, spos, epos, line)
462 yield (STRING, token, spos, (lnum, pos), line)
479 yield (STRING, token, spos, epos, line)
481 yield (NAME, token, spos, epos, line)
484 yield (NL, token, spos, (lnum, pos), line)
489 yield (OP, token, spos, epos, line)
/external/python/cpython3/Lib/
Dtokenize.py602 spos, epos, pos = (lnum, start), (lnum, end), end
609 yield TokenInfo(NUMBER, token, spos, epos, line)
615 yield TokenInfo(NL, token, spos, epos, line)
617 yield TokenInfo(NEWLINE, token, spos, epos, line)
626 yield TokenInfo(COMMENT, token, spos, epos, line)
634 yield TokenInfo(STRING, token, spos, (lnum, pos), line)
669 yield TokenInfo(STRING, token, spos, epos, line)
676 token, spos, epos, line)
679 tok = TokenInfo(NAME, token, spos, epos, line)
712 yield TokenInfo(OP, token, spos, epos, line)
/external/libmicrohttpd/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()
/external/javassist/src/test/test/javassist/bytecode/analysis/
DScannerTest.java129 int spos = code.currentPc(); in generate() local
132 code.add32bit(60 - spos); // default in generate()
134 code.add32bit(15); code.add32bit(60 - spos); in generate()
135 code.add32bit(1789); code.add32bit(117 - spos); in generate()
/external/wpa_supplicant_8/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()
1366 char *spos; in wext_get_scan_custom() local
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc324 const char *spos = internal_strstr(str, templ); in TemplateMatch() local
325 str = spos + internal_strlen(templ); in TemplateMatch()
329 if (!spos) in TemplateMatch()
331 if (start && spos != str0) in TemplateMatch()
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp42 int32_t spos; member
54 NumberFormat2Test_FieldPositionHandler() : count(0), bRecording(TRUE) { attributes[0].spos = -1; } in NumberFormat2Test_FieldPositionHandler()
55 …ieldPositionHandler(UBool recording) : count(0), bRecording(recording) { attributes[0].spos = -1; } in NumberFormat2Test_FieldPositionHandler()
71 attributes[count].spos = start; in addAttribute()
74 attributes[count].spos = -1; in addAttribute()
3044 while (expected[idx].spos != -1 && actual[idx].spos != -1) { in verifyAttributes()
3046 assertEquals("spos", expected[idx].spos, actual[idx].spos); in verifyAttributes()
3052 expected[idx].spos, in verifyAttributes()
3053 actual[idx].spos); in verifyAttributes()
Dnumfmtst.h29 int32_t spos; member
Dnumfmtst.cpp8851 if (expected[idx].spos == -1) { in verifyFieldPositionIterator()
8856 assertEquals("start", expected[idx].spos, fp.getBeginIndex()); in verifyFieldPositionIterator()
8860 if (expected[idx].spos != -1) { in verifyFieldPositionIterator()
/external/wpa_supplicant_8/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()
/external/iptables/libiptc/
Dlibiptc.c1608 int spos; in TC_GET_TARGET() local
1618 spos = *(const int *)data; in TC_GET_TARGET()
1619 DEBUGP("r=%p, spos=%d'\n", r, spos); in TC_GET_TARGET()
1620 return standard_target_map(spos); in TC_GET_TARGET()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bigdec/
DDiagBigDecimalTest.java145 private static final short spos = (short) 1; field in DiagBigDecimalTest
3908 … TestFmwk.assertTrue("shv010", ((spos))==((new android.icu.math.BigDecimal(spos)).shortValue())); in diagshortvalue()
3919 …TestFmwk.assertTrue("shv030", ((spos))==((new android.icu.math.BigDecimal(spos)).shortValueExact()… in diagshortvalue()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java142 private static final short spos = (short) 1; field in DiagBigDecimalTest
3905 … TestFmwk.assertTrue("shv010", ((spos))==((new com.ibm.icu.math.BigDecimal(spos)).shortValue())); in diagshortvalue()
3916 …TestFmwk.assertTrue("shv030", ((spos))==((new com.ibm.icu.math.BigDecimal(spos)).shortValueExact()… in diagshortvalue()
/external/elfutils/po/
Dpl.po1339 "w pewien sposób"