Home
last modified time | relevance | path

Searched refs:buf_pos (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil.c1428 int buf_pos = 0; in cil_userprefixes_to_string() local
1457 buf_pos = snprintf(str_tmp, str_len, "user %s prefix %s;\n", user->datum.fqn, in cil_userprefixes_to_string()
1459 if (buf_pos < 0) { in cil_userprefixes_to_string()
1465 str_len -= buf_pos; in cil_userprefixes_to_string()
1466 str_tmp += buf_pos; in cil_userprefixes_to_string()
1603 int buf_pos = 0; in __cil_level_to_string() local
1610 buf_pos = sprintf(str_tmp, "%s", lvl->sens->datum.fqn); in __cil_level_to_string()
1611 str_tmp += buf_pos; in __cil_level_to_string()
1614 buf_pos = sprintf(str_tmp, ":"); in __cil_level_to_string()
1615 str_tmp += buf_pos; in __cil_level_to_string()
[all …]
/external/musl/src/dirent/
Dreaddir.c14 if (dir->buf_pos >= dir->buf_end) { in readdir()
21 dir->buf_pos = 0; in readdir()
23 de = (void *)(dir->buf + dir->buf_pos); in readdir()
24 dir->buf_pos += de->d_reclen; in readdir()
D__dirent.h5 int buf_pos; member
Drewinddir.c10 dir->buf_pos = dir->buf_end = 0; in rewinddir()
Dseekdir.c10 dir->buf_pos = dir->buf_end = 0; in seekdir()
/external/libxkbcommon/src/
Dscanner-utils.h51 size_t buf_pos; member
156 if (s->buf_pos + 1 >= sizeof(s->buf)) in buf_append()
158 s->buf[s->buf_pos++] = ch; in buf_append()
166 ret = snprintf(s->buf + s->buf_pos, sizeof(s->buf) - s->buf_pos, "%s", str); in buf_appends()
167 if (ret < 0 || (size_t) ret >= sizeof(s->buf) - s->buf_pos) in buf_appends()
169 s->buf_pos += ret; in buf_appends()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_flags.cc70 char *buf_pos = buf + 32; in SubstituteForFlagValue() local
72 *--buf_pos = (pid % 10) + '0'; in SubstituteForFlagValue()
75 while (buf_pos < buf + 32 && out < out_end - 1) in SubstituteForFlagValue()
76 *out++ = *buf_pos++; in SubstituteForFlagValue()
/external/libxkbcommon/src/compose/
Dparser.c145 s->buf_pos = 0; in lex()
160 val->string.len = s->buf_pos; in lex()
208 if (!is_valid_utf8(s->buf, s->buf_pos - 1)) { in lex()
213 val->string.len = s->buf_pos; in lex()
219 s->buf_pos = 0; in lex()
231 val->string.len = s->buf_pos; in lex()
252 s->buf_pos = 0; in lex_include_string()
312 val_out->string.len = s->buf_pos; in lex_include_string()
/external/libxkbcommon/src/xkbcomp/
Dscanner.c86 s->buf_pos = 0; in _xkbcommon_lex()
129 yylval->atom = xkb_atom_intern(s->ctx, s->buf, s->buf_pos - 1); in _xkbcommon_lex()
153 s->buf_pos = 0; in _xkbcommon_lex()
162 tok = keyword_to_token(s->buf, s->buf_pos - 1); in _xkbcommon_lex()
Drules.c371 s.buf_pos = 0; in matcher_include()
/external/harfbuzz_ng/src/
Dhb-buffer.cc2112 const hb_glyph_position_t *buf_pos = buffer->pos; in hb_buffer_diff() local
2116 if ((unsigned int) abs (buf_pos->x_advance - ref_pos->x_advance) > position_fuzz || in hb_buffer_diff()
2117 (unsigned int) abs (buf_pos->y_advance - ref_pos->y_advance) > position_fuzz || in hb_buffer_diff()
2118 (unsigned int) abs (buf_pos->x_offset - ref_pos->x_offset) > position_fuzz || in hb_buffer_diff()
2119 (unsigned int) abs (buf_pos->y_offset - ref_pos->y_offset) > position_fuzz) in hb_buffer_diff()
2124 buf_pos++; in hb_buffer_diff()