Home
last modified time | relevance | path

Searched refs:str_off (Results 1 – 25 of 230) sorted by relevance

12345678910

/dports/devel/R-cran-fansi/fansi/src/
H A Dstate.c426 unsigned int str_off = 0; in FANSI_color_write() local
432 string[str_off++] = ';'; in FANSI_color_write()
434 string[str_off++] = '8'; in FANSI_color_write()
440 string + str_off, in FANSI_color_write()
449 str_off += write_chrs; in FANSI_color_write()
455 string[str_off++] = '1'; in FANSI_color_write()
456 string[str_off++] = '0'; in FANSI_color_write()
458 string[str_off++] = ';'; in FANSI_color_write()
460 string[str_off++] = '9'; in FANSI_color_write()
462 string[str_off++] = ';'; in FANSI_color_write()
[all …]
/dports/devel/elfutils/elfutils-0.179/libdw/
H A Ddwarf_formstring.c138 Dwarf_Off str_off = __libdw_cu_str_off_base (cu); in dwarf_formstring() local
139 if (str_off == (Dwarf_Off) -1) in dwarf_formstring()
158 if (str_off > (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring()
163 - offset_size - str_off) / offset_size; in dwarf_formstring()
168 + str_off + (idx * offset_size)); in dwarf_formstring()
/dports/cad/iverilog/verilog-11.0/vvp/
H A Dvpip_oct.cc45 unsigned str_off = idx/3; in vpip_oct_str_to_vec4() local
48 assert(str_off+skip_chars < str_len); in vpip_oct_str_to_vec4()
50 while ((ch = str[str_len-str_off-1-skip_chars]) == '_') { in vpip_oct_str_to_vec4()
52 assert(str_off+skip_chars < str_len); in vpip_oct_str_to_vec4()
H A Dvpip_hex.cc45 unsigned str_off = idx/4; in vpip_hex_str_to_vec4() local
48 assert (str_off+skip_chars < str_len); in vpip_hex_str_to_vec4()
50 while((ch = str[str_len-str_off-1-skip_chars]) == '_') { in vpip_hex_str_to_vec4()
52 assert (str_off+skip_chars < str_len); in vpip_hex_str_to_vec4()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c16 int id, err, str_off; in test_btf_write() local
22 str_off = btf__find_str(btf, "int"); in test_btf_write()
23 ASSERT_EQ(str_off, -ENOENT, "int_str_missing_off"); in test_btf_write()
25 str_off = btf__add_str(btf, "int"); in test_btf_write()
26 ASSERT_EQ(str_off, 1, "int_str_off"); in test_btf_write()
28 str_off = btf__find_str(btf, "int"); in test_btf_write()
29 ASSERT_EQ(str_off, 1, "int_str_found_off"); in test_btf_write()
37 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in test_btf_write()
H A Dbtf_split.c20 int str_off, i, err; in test_btf_split() local
42 str_off = btf__find_str(btf2, "int"); in test_btf_split()
43 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_btf_split()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c16 int id, err, str_off; in test_btf_write() local
22 str_off = btf__find_str(btf, "int"); in test_btf_write()
23 ASSERT_EQ(str_off, -ENOENT, "int_str_missing_off"); in test_btf_write()
25 str_off = btf__add_str(btf, "int"); in test_btf_write()
26 ASSERT_EQ(str_off, 1, "int_str_off"); in test_btf_write()
28 str_off = btf__find_str(btf, "int"); in test_btf_write()
29 ASSERT_EQ(str_off, 1, "int_str_found_off"); in test_btf_write()
37 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in test_btf_write()
H A Dbtf_split.c20 int str_off, i, err; in test_btf_split() local
42 str_off = btf__find_str(btf2, "int"); in test_btf_split()
43 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_btf_split()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c16 int id, err, str_off; in test_btf_write() local
22 str_off = btf__find_str(btf, "int"); in test_btf_write()
23 ASSERT_EQ(str_off, -ENOENT, "int_str_missing_off"); in test_btf_write()
25 str_off = btf__add_str(btf, "int"); in test_btf_write()
26 ASSERT_EQ(str_off, 1, "int_str_off"); in test_btf_write()
28 str_off = btf__find_str(btf, "int"); in test_btf_write()
29 ASSERT_EQ(str_off, 1, "int_str_found_off"); in test_btf_write()
37 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in test_btf_write()
H A Dbtf_split.c20 int str_off, i, err; in test_btf_split() local
42 str_off = btf__find_str(btf2, "int"); in test_btf_split()
43 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_btf_split()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp930 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()
936 snprintf(str + str_off, str_off < size ? size - str_off : 0, tmp_fmt, in format()
946 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
949 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
965 char *str_cur() { return str + str_off; } in str_cur()
972 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes()
988 size_t str_off; member
1115 *ptr = (int)formatter.str_off; in format_buffer()
1145 formatter.str_off += retval; in format_buffer()
1151 return formatter.str_off; in format_buffer()
/dports/devel/tinygo/tinygo-0.14.1/lib/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cc888 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()
894 snprintf(str + str_off, str_off < size ? size - str_off : 0, tmp_fmt, in format()
904 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
907 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
923 char *str_cur() { return str + str_off; } in str_cur()
930 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes()
946 size_t str_off; member
1073 *ptr = (int)formatter.str_off; in format_buffer()
1103 formatter.str_off += retval; in format_buffer()
1109 return formatter.str_off; in format_buffer()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp898 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()
904 snprintf(str + str_off, str_off < size ? size - str_off : 0, tmp_fmt, in format()
914 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
917 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
933 char *str_cur() { return str + str_off; } in str_cur()
940 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes()
956 size_t str_off; member
1083 *ptr = (int)formatter.str_off; in format_buffer()
1113 formatter.str_off += retval; in format_buffer()
1119 return formatter.str_off; in format_buffer()
/dports/devel/wasi-compiler-rt11/compiler-rt-11.0.1.src/lib/dfsan/
H A Ddfsan_custom.cpp898 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()
904 snprintf(str + str_off, str_off < size ? size - str_off : 0, tmp_fmt, in format()
914 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
917 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
933 char *str_cur() { return str + str_off; } in str_cur()
940 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes()
956 size_t str_off; member
1083 *ptr = (int)formatter.str_off; in format_buffer()
1113 formatter.str_off += retval; in format_buffer()
1119 return formatter.str_off; in format_buffer()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp887 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()
893 snprintf(str + str_off, str_off < size ? size - str_off : 0, tmp_fmt, in format()
903 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
906 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
922 char *str_cur() { return str + str_off; } in str_cur()
929 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes()
945 size_t str_off; member
1072 *ptr = (int)formatter.str_off; in format_buffer()
1102 formatter.str_off += retval; in format_buffer()
1108 return formatter.str_off; in format_buffer()
/dports/lang/gcc6-aux/gcc-6-20180516/libbacktrace/
H A Dpecoff.c606 off_t str_off; in coff_add() local
712 str_off = 0; in coff_add()
732 str_off = syms_off + syms_size; in coff_add()
738 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
751 unsigned int str_off; in coff_add() local
757 str_off = atoi (s->name + 1); in coff_add()
760 str_off = 0; in coff_add()
767 if (str_off != 0) in coff_add()
768 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()
/dports/lang/gcc12-devel/gcc-12-20211205/libbacktrace/
H A Dpecoff.c599 off_t str_off; in coff_add() local
711 str_off = 0; in coff_add()
731 str_off = syms_off + syms_size; in coff_add()
737 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
750 unsigned int str_off; in coff_add() local
756 str_off = atoi (s->name + 1); in coff_add()
759 str_off = 0; in coff_add()
766 if (str_off != 0) in coff_add()
767 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()
/dports/lang/gcc8/gcc-8.5.0/libbacktrace/
H A Dpecoff.c606 off_t str_off; in coff_add() local
712 str_off = 0; in coff_add()
732 str_off = syms_off + syms_size; in coff_add()
738 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
751 unsigned int str_off; in coff_add() local
757 str_off = atoi (s->name + 1); in coff_add()
760 str_off = 0; in coff_add()
767 if (str_off != 0) in coff_add()
768 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()
/dports/lang/gcc10/gcc-10.3.0/libbacktrace/
H A Dpecoff.c596 off_t str_off;
703 str_off = 0;
723 str_off = syms_off + syms_size;
729 if (!backtrace_get_view (state, descriptor, str_off, str_size,
742 unsigned int str_off;
748 str_off = atoi (s->name + 1);
751 str_off = 0;
758 if (str_off != 0)
759 match = coff_long_name_eq (dbg_name, str_off, &str_view);
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libbacktrace/
H A Dpecoff.c606 off_t str_off; in coff_add() local
712 str_off = 0; in coff_add()
732 str_off = syms_off + syms_size; in coff_add()
738 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
751 unsigned int str_off; in coff_add() local
757 str_off = atoi (s->name + 1); in coff_add()
760 str_off = 0; in coff_add()
767 if (str_off != 0) in coff_add()
768 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()
/dports/devel/apitrace/apitrace-9.0/thirdparty/libbacktrace/
H A Dpecoff.c606 off_t str_off; in coff_add() local
712 str_off = 0; in coff_add()
732 str_off = syms_off + syms_size; in coff_add()
738 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
751 unsigned int str_off; in coff_add() local
757 str_off = atoi (s->name + 1); in coff_add()
760 str_off = 0; in coff_add()
767 if (str_off != 0) in coff_add()
768 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()
/dports/security/cloak/cloak-0.2.0/cargo-crates/backtrace-sys-0.1.28/src/libbacktrace/
H A Dpecoff.c606 off_t str_off; in coff_add() local
714 str_off = 0; in coff_add()
734 str_off = syms_off + syms_size; in coff_add()
740 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
753 unsigned int str_off; in coff_add() local
759 str_off = atoi (s->name + 1); in coff_add()
762 str_off = 0; in coff_add()
769 if (str_off != 0) in coff_add()
770 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/backtrace-sys-0.1.32/src/libbacktrace/
H A Dpecoff.c606 off_t str_off; in coff_add() local
714 str_off = 0; in coff_add()
734 str_off = syms_off + syms_size; in coff_add()
740 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
753 unsigned int str_off; in coff_add() local
759 str_off = atoi (s->name + 1); in coff_add()
762 str_off = 0; in coff_add()
769 if (str_off != 0) in coff_add()
770 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()
/dports/net-p2p/c-lightning/lightning-0.10.2/external/libbacktrace/
H A Dpecoff.c606 off_t str_off; in coff_add() local
712 str_off = 0; in coff_add()
732 str_off = syms_off + syms_size; in coff_add()
738 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
751 unsigned int str_off; in coff_add() local
757 str_off = atoi (s->name + 1); in coff_add()
760 str_off = 0; in coff_add()
767 if (str_off != 0) in coff_add()
768 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()
/dports/lang/gcc11-devel/gcc-11-20211009/libbacktrace/
H A Dpecoff.c599 off_t str_off; in coff_add() local
711 str_off = 0; in coff_add()
731 str_off = syms_off + syms_size; in coff_add()
737 if (!backtrace_get_view (state, descriptor, str_off, str_size, in coff_add()
750 unsigned int str_off; in coff_add() local
756 str_off = atoi (s->name + 1); in coff_add()
759 str_off = 0; in coff_add()
766 if (str_off != 0) in coff_add()
767 match = coff_long_name_eq (dbg_name, str_off, &str_view); in coff_add()

12345678910