Searched refs:str_off (Results 1 – 2 of 2) sorted by relevance
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | amdgpu_atom.c | 1388 unsigned long str_off; in atom_find_str_in_rom() local 1392 str_off = 0; in atom_find_str_in_rom() 1397 for (str_off = 0; str_off < str_len; ++str_off) { in atom_find_str_in_rom() 1398 if (str[str_off] != *(p_rom + start + str_off)) in atom_find_str_in_rom() 1402 if (str_off == str_len || str[str_off] == 0) in atom_find_str_in_rom()
|
/openbsd/gnu/llvm/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cpp | 2131 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter() 2137 snprintf(str + str_off, str_off < size ? size - str_off : 0, tmp_fmt, in format() 2147 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format() 2150 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format() 2166 char *str_cur() { return str + str_off; } in str_cur() 2173 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes() 2189 size_t str_off; member 2341 *ptr = (int)formatter.str_off; in format_buffer() 2375 formatter.str_off += retval; in format_buffer() 2383 return formatter.str_off; in format_buffer()
|