Searched refs:buf_pos (Results 1 – 11 of 11) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil.c | 1428 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/ |
D | readdir.c | 14 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.h | 5 int buf_pos; member
|
D | rewinddir.c | 10 dir->buf_pos = dir->buf_end = 0; in rewinddir()
|
D | seekdir.c | 10 dir->buf_pos = dir->buf_end = 0; in seekdir()
|
/external/libxkbcommon/src/ |
D | scanner-utils.h | 51 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/ |
D | sanitizer_flags.cc | 70 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/ |
D | parser.c | 145 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/ |
D | scanner.c | 86 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()
|
D | rules.c | 371 s.buf_pos = 0; in matcher_include()
|
/external/harfbuzz_ng/src/ |
D | hb-buffer.cc | 2112 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()
|