HomeSort by: relevance | last modified time | path
    Searched refs:spos (Results 1 - 22 of 22) sorted by relevancy

  /src/sys/fs/hfs/
unicode.c 45 size_t spos, dpos; local
53 spos = dpos = 0;
54 while (spos < src_len) {
55 if (s[spos] < 0x80) {
56 c = s[spos++];
58 && (spos >= src_len || !IS_CONT(s[spos+1]))
59 && s[spos]>=0xa0) {
61 c = s[spos++];
62 } else if (s[spos] < 0xc0 || s[spos] >= 0xf5)
137 uint8_t spos, dpos; local
    [all...]
  /src/external/bsd/zstd/dist/contrib/gen_html/
gen_html.cpp 32 size_t spos, epos; local
34 spos = s.find("/*");
36 s = s.substr(spos+3, epos-(spos+3));
67 size_t spos; local
70 spos = line.find("/*");
71 if (spos!=string::npos) {
72 sout << line.substr(0, spos);
73 sout << "</b>" << line.substr(spos) << "<b>" << endl;
86 size_t spos, l local
    [all...]
  /src/usr.sbin/ypserv/revnetgroup/
parse_netgroup.c 179 char *spos, *epos; local
226 if ((spos = strsep(&gpos, ","))) {
230 while (*spos == ' ' || *spos == '\t')
231 spos++;
232 if ((epos = strpbrk(spos, " \t"))) {
234 len = epos - spos;
236 len = strlen(spos);
241 spos, len + 1);
274 spos = strsep(&pos, ", \t")
293 char *pos, *spos, *linep = NULL, *olinep = NULL; local
    [all...]
  /src/external/bsd/libbind/dist/irs/
lcl_ng.c 277 char *spos, *epos; local
313 if ((spos = strsep(&gpos, ","))) {
314 while (*spos == ' ' || *spos == '\t')
315 spos++;
316 if ((epos = strpbrk(spos, " \t"))) {
318 len = epos - spos;
320 len = strlen(spos);
329 spos,
336 spos = strsep(&pos, ", \t")
361 char *pos, *spos, *linep = NULL, *olinep; local
    [all...]
  /src/external/bsd/wpa/dist/src/utils/
json.c 67 char *str, *spos, *s_end; local
78 spos = str;
82 if (buf_len < max_len && s_end - spos < 3) {
86 idx = spos - str;
94 spos = str + idx;
100 *spos = '\0';
115 *spos++ = *pos;
118 *spos++ = '\n';
121 *spos++ = '\r';
124 *spos++ = '\t'
    [all...]
  /src/external/bsd/wpa/dist/wpa_supplicant/
p2p_supplicant_sd.c 33 u8 **spos, const u8 *end)
35 while (*spos < end) {
36 u8 val = ((*spos)[0] & 0xc0) >> 6;
51 if (end - *spos < 2) {
57 offset = (((*spos)[0] & 0x3f) << 8) | (*spos)[1];
58 if (offset >= *spos - start) {
64 (*spos) += 2;
68 *spos - 2);
72 len = (*spos)[0] & 0x3f
108 u8 *tmp, *end, *spos; local
    [all...]
  /src/external/bsd/less/dist/
lsystem.c 282 * Feed it the file contents between the positions spos and epos.
284 public int pipe_data(char *cmd, POSITION spos, POSITION epos)
295 if (ch_seek(spos) != 0)
323 while (epos == NULL_POSITION || spos++ <= epos)
search.c 1642 * prep_hilite asks that the range (spos,epos) be covered by the prep region.
1644 public void prep_hilite(POSITION spos, POSITION epos, int maxlines)
1666 spos = back_raw_line(spos+1, (char **)NULL, (int *)NULL);
1676 max_epos = spos;
1683 * The range that we need to search (spos,epos); and the range that
1689 spos > prep_endpos)
1699 nprep_startpos = spos;
1727 if (spos < prep_startpos)
1734 if (spos < SEARCH_MORE
    [all...]
filename.c 494 off_t spos; local
496 spos = lseek(f, (off_t)0, SEEK_END);
497 if (spos == BAD_LSEEK)
499 return ((POSITION) spos);
funcs.h 239 public int pipe_data(char *cmd, POSITION spos, POSITION epos);
357 public void prep_hilite(POSITION spos, POSITION epos, int maxlines);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_common.cc 222 const char *spos = internal_strstr(str, templ); local
223 str = spos + internal_strlen(templ);
227 if (!spos)
229 if (start && spos != str0)
  /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
sanitizer_common.cpp 220 const char *spos = internal_strstr(str, templ); local
221 str = spos + internal_strlen(templ);
225 if (!spos)
227 if (start && spos != str0)
  /src/sbin/routed/rtquery/
rtquery.c 622 size_t spos; local
673 spos = strlen(net_buf);
675 (void)snprintf(net_buf + spos,
676 sizeof(net_buf) - spos,
685 (void)snprintf(net_buf + spos,
686 sizeof(net_buf) - spos,
689 (void)snprintf(net_buf + spos,
690 sizeof(net_buf) - spos,
  /src/usr.bin/gzip/
unlz.c 283 off_t pos, ppos, spos, dict_size; member in struct:lz_decoder
295 off_t offs = lz->pos - lz->spos;
300 lz_crc_update(&lz->crc, lz->obuf + lz->spos, size);
301 if (!tflag && fwrite(lz->obuf + lz->spos, 1, size, lz->fout) != size)
309 lz->spos = lz->pos;
385 lz->pos = lz->ppos = lz->spos = 0;
  /src/external/bsd/wpa/dist/src/drivers/
driver_wext.c 249 char *spos; local
253 spos = custom + 17;
255 bytes = strspn(spos, "0123456789abcdefABCDEF");
262 hexstr2bin(spos, req_ies, bytes) < 0)
267 spos += bytes * 2;
272 if (os_strncmp(spos, " RespIEs=", 9) == 0) {
273 spos += 9;
275 bytes = strspn(spos, "0123456789abcdefABCDEF");
282 hexstr2bin(spos, resp_ies, bytes) < 0)
1374 char *spos; local
1389 char *spos; local
1404 char *spos; local
    [all...]
  /src/sys/dev/hid/
hidkbd.c 353 uint8_t *pos, *spos, *epos, xlat;
355 spos = ibuf + kbd->sc_keycodeloc.pos / 8;
356 epos = spos + kbd->sc_nkeycode;
358 for (pos = spos; pos != epos; pos++) {
  /src/external/bsd/wpa/dist/src/p2p/
p2p_group.c 526 const u8 *spos; local
546 spos = msg.p2p_device_info; /* P2P Device address */
552 wpabuf_put_data(buf, spos, ETH_ALEN);
562 wpabuf_put_data(buf, spos + ETH_ALEN,
  /src/sbin/newfs_udf/
udf_core.c 2176 uint16_t *spos; local
2180 spos = (uint16_t *) implext->data;
2181 if (udf_rw16(*spos) != udf_ea_cksum((uint8_t *) implext))
2190 uint16_t *spos; local
2194 spos = (uint16_t *) implext->data;
2195 *spos = udf_rw16(udf_ea_cksum((uint8_t *) implext));
2315 uint16_t *spos; local
2374 spos = (uint16_t *) implext->data;
2375 *spos = udf_rw16(udf_ea_cksum((uint8_t *) implext));
  /src/external/bsd/mdocml/dist/
read.c 157 size_t spos; /* at the start of the current line parse */ local
184 spos = pos;
285 &ln, &of, start && spos == 0 ? pos : 0);
roff.c 1831 int spos; /* saved parse point for messages */ local
1917 spos = pos;
1925 ln, pos, "%s", buf->buf + spos);
1958 return (*roffs[t].proc)(r, t, buf, ln, spos, pos, offs);
  /src/sys/fs/udf/
udf_subr.c 2337 uint16_t *spos; local
2342 spos = (uint16_t *) implext->data;
2343 if (udf_rw16(*spos) != udf_ea_cksum((uint8_t *) implext))
2352 uint16_t *spos; local
2356 spos = (uint16_t *) implext->data;
2357 *spos = udf_rw16(udf_ea_cksum((uint8_t *) implext));
2488 uint16_t *spos; local
2548 spos = (uint16_t *) implext->data;
2549 *spos = udf_rw16(udf_ea_cksum((uint8_t *) implext));
  /src/external/bsd/zstd/dist/lib/compress/
zstd_compress.c 6739 size_t spos = seqPos.idx; local
6740 DEBUGLOG(6, "blockSize_explicitDelimiter : seq %zu / %zu", spos, inSeqsSize);
6741 assert(spos <= inSeqsSize);
6742 while (spos < inSeqsSize) {
6743 end = (inSeqs[spos].offset == 0);
6744 blockSize += inSeqs[spos].litLength + inSeqs[spos].matchLength;
6746 if (inSeqs[spos].matchLength != 0)
6750 spos++;

Completed in 72 milliseconds