Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 25 of 1966) sorted by relevance

12345678910>>...79

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_event.c331 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in qca_drv_connect_fail_reason_code_handler() local
337 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in qca_drv_connect_fail_reason_code_handler()
340 if (!tb[NL80211_ATTR_VENDOR_DATA]) { in qca_drv_connect_fail_reason_code_handler()
346 nla_data(tb[NL80211_ATTR_VENDOR_DATA]), in qca_drv_connect_fail_reason_code_handler()
347 nla_len(tb[NL80211_ATTR_VENDOR_DATA]), NULL); in qca_drv_connect_fail_reason_code_handler()
1160 struct nlattr *tb[]) in mlme_event_michael_mic_failure() argument
1166 if (tb[NL80211_ATTR_MAC]) { in mlme_event_michael_mic_failure()
1168 nla_data(tb[NL80211_ATTR_MAC]), in mlme_event_michael_mic_failure()
1169 nla_len(tb[NL80211_ATTR_MAC])); in mlme_event_michael_mic_failure()
1170 data.michael_mic_failure.src = nla_data(tb[NL80211_ATTR_MAC]); in mlme_event_michael_mic_failure()
[all …]
Ddriver_nl80211_capa.c107 struct nlattr *tb) in wiphy_info_supported_iftypes() argument
112 if (tb == NULL) in wiphy_info_supported_iftypes()
115 nla_for_each_nested(nl_mode, tb, i) { in wiphy_info_supported_iftypes()
207 struct nlattr *tb) in wiphy_info_iface_comb() argument
212 if (tb == NULL) in wiphy_info_iface_comb()
215 nla_for_each_nested(nl_combi, tb, rem_combi) { in wiphy_info_iface_comb()
223 struct nlattr *tb) in wiphy_info_supp_cmds() argument
228 if (tb == NULL) in wiphy_info_supp_cmds()
231 nla_for_each_nested(nl_cmd, tb, i) { in wiphy_info_supp_cmds()
259 static unsigned int get_akm_suites_info(struct nlattr *tb) in get_akm_suites_info() argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_event.c967 struct nlattr *tb[]) in mlme_event_michael_mic_failure() argument
973 if (tb[NL80211_ATTR_MAC]) { in mlme_event_michael_mic_failure()
975 nla_data(tb[NL80211_ATTR_MAC]), in mlme_event_michael_mic_failure()
976 nla_len(tb[NL80211_ATTR_MAC])); in mlme_event_michael_mic_failure()
977 data.michael_mic_failure.src = nla_data(tb[NL80211_ATTR_MAC]); in mlme_event_michael_mic_failure()
979 if (tb[NL80211_ATTR_KEY_SEQ]) { in mlme_event_michael_mic_failure()
981 nla_data(tb[NL80211_ATTR_KEY_SEQ]), in mlme_event_michael_mic_failure()
982 nla_len(tb[NL80211_ATTR_KEY_SEQ])); in mlme_event_michael_mic_failure()
984 if (tb[NL80211_ATTR_KEY_TYPE]) { in mlme_event_michael_mic_failure()
986 nla_get_u32(tb[NL80211_ATTR_KEY_TYPE]); in mlme_event_michael_mic_failure()
[all …]
Ddriver_nl80211_capa.c102 struct nlattr *tb) in wiphy_info_supported_iftypes() argument
107 if (tb == NULL) in wiphy_info_supported_iftypes()
110 nla_for_each_nested(nl_mode, tb, i) { in wiphy_info_supported_iftypes()
202 struct nlattr *tb) in wiphy_info_iface_comb() argument
207 if (tb == NULL) in wiphy_info_iface_comb()
210 nla_for_each_nested(nl_combi, tb, rem_combi) { in wiphy_info_iface_comb()
218 struct nlattr *tb) in wiphy_info_supp_cmds() argument
223 if (tb == NULL) in wiphy_info_supp_cmds()
226 nla_for_each_nested(nl_cmd, tb, i) { in wiphy_info_supp_cmds()
252 struct nlattr *tb) in wiphy_info_cipher_suites() argument
[all …]
/third_party/skia/third_party/externals/jinja2/
Ddebug.py23 exc_type, exc_value, tb = sys.exc_info()
38 tb = fake_traceback(
43 tb = tb.tb_next
49 while tb is not None:
52 if tb.tb_frame.f_code in internal_code:
53 tb = tb.tb_next
56 template = tb.tb_frame.f_globals.get("__jinja_template__")
59 lineno = template.get_corresponding_lineno(tb.tb_lineno)
60 fake_tb = fake_traceback(exc_value, tb, template.filename, lineno)
63 stack.append(tb)
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-resampler-x86-sse41.c43 __m128i sum, ta, tb; in inner_product_gint32_full_1_sse41() local
50 tb = _mm_load_si128 ((__m128i *) (b + i)); in inner_product_gint32_full_1_sse41()
54 _mm_unpacklo_epi32 (tb, tb))); in inner_product_gint32_full_1_sse41()
57 _mm_unpackhi_epi32 (tb, tb))); in inner_product_gint32_full_1_sse41()
60 tb = _mm_load_si128 ((__m128i *) (b + i + 4)); in inner_product_gint32_full_1_sse41()
64 _mm_unpacklo_epi32 (tb, tb))); in inner_product_gint32_full_1_sse41()
67 _mm_unpackhi_epi32 (tb, tb))); in inner_product_gint32_full_1_sse41()
82 __m128i sum[2], ta, tb; in inner_product_gint32_linear_1_sse41() local
93 tb = _mm_load_si128 ((__m128i *) (c[0] + i)); in inner_product_gint32_linear_1_sse41()
95 _mm_unpacklo_epi32 (tb, tb))); in inner_product_gint32_linear_1_sse41()
[all …]
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py39 def __init__(self, tb): argument
40 self.tb = tb
50 tb_set_next(self.tb, next and next.tb or None)
60 return '__jinja_template__' in self.tb.tb_frame.f_globals
63 return getattr(self.tb, name)
91 for tb in self.frames:
93 prev_tb.set_next(tb)
94 prev_tb = tb
124 tb = self.frames[0]
127 if type(tb) is not TracebackType:
[all …]
/third_party/jinja2/
Ddebug.py25 _, exc_value, tb = sys.exc_info()
27 tb = t.cast(TracebackType, tb)
37 tb = fake_traceback(
42 tb = tb.tb_next
48 while tb is not None:
51 if tb.tb_frame.f_code in internal_code:
52 tb = tb.tb_next
55 template = tb.tb_frame.f_globals.get("__jinja_template__")
58 lineno = template.get_corresponding_lineno(tb.tb_lineno)
59 fake_tb = fake_traceback(exc_value, tb, template.filename, lineno)
[all …]
/third_party/skia/third_party/externals/tint/fuzzers/
Dtint_all_transforms_fuzzer.cc25 TransformBuilder tb(data, size); in LLVMFuzzerTestOneInput() local
26 tb.AddPlatformIndependentPasses(); in LLVMFuzzerTestOneInput()
29 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
37 TransformBuilder tb(data, size); in LLVMFuzzerTestOneInput() local
38 tb.AddPlatformIndependentPasses(); in LLVMFuzzerTestOneInput()
41 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
50 TransformBuilder tb(data, size); in LLVMFuzzerTestOneInput() local
51 tb.AddPlatformIndependentPasses(); in LLVMFuzzerTestOneInput()
54 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
62 TransformBuilder tb(data, size); in LLVMFuzzerTestOneInput() local
[all …]
Dtransform_builder.h89 static void impl(TransformBuilder* tb) {
90 tb->manager()->Add<transform::Robustness>();
99 static void impl(TransformBuilder* tb) {
105 Config config = tb->builder()->build<Config>();
107 tb->data_map()->Add<tint::transform::FirstIndexOffset::BindingPoint>(
109 tb->manager()->Add<transform::FirstIndexOffset>();
118 static void impl(TransformBuilder* tb) {
127 std::vector<Config> configs = tb->builder()->vector<Config>();
136 tb->data_map()->Add<transform::BindingRemapper::Remappings>(
137 binding_points, accesses, tb->builder()->build<bool>());
[all …]
Dtint_renamer_fuzzer.cc23 TransformBuilder tb(data, size); in LLVMFuzzerTestOneInput() local
24 tb.AddTransform<transform::Renamer>(); in LLVMFuzzerTestOneInput()
27 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
Dtint_single_entry_point_fuzzer.cc23 TransformBuilder tb(data, size); in LLVMFuzzerTestOneInput() local
24 tb.AddTransform<transform::SingleEntryPoint>(); in LLVMFuzzerTestOneInput()
27 fuzzer.SetTransformManager(tb.manager(), tb.data_map()); in LLVMFuzzerTestOneInput()
/third_party/python/Lib/test/
Dtest_raise.py221 tb = get_tb()
223 raise IndexError().with_traceback(tb)
225 self.assertNotEqual(e.__traceback__, tb)
226 self.assertEqual(e.__traceback__.tb_next, tb)
240 tb = exc.__traceback__
242 self.assertIsInstance(tb.tb_next, types.TracebackType)
243 self.assertIs(tb.tb_frame, sys._getframe())
244 self.assertIsInstance(tb.tb_lasti, int)
245 self.assertIsInstance(tb.tb_lineno, int)
247 self.assertIs(tb.tb_next.tb_next, None)
[all …]
Dtest_frame.py25 def clear_traceback_frames(self, tb): argument
29 while tb is not None:
30 tb.tb_frame.clear()
31 tb = tb.tb_next
147 tb = e.__traceback__
149 while tb:
150 frames.append(tb.tb_frame)
151 tb = tb.tb_next
205 tb = e.__traceback__
207 while tb:
[all …]
/third_party/python/Python/
Dtraceback.c41 PyTracebackObject *tb; in tb_create_raw() local
47 tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type); in tb_create_raw()
48 if (tb != NULL) { in tb_create_raw()
50 tb->tb_next = next; in tb_create_raw()
52 tb->tb_frame = frame; in tb_create_raw()
53 tb->tb_lasti = lasti; in tb_create_raw()
54 tb->tb_lineno = lineno; in tb_create_raw()
55 PyObject_GC_Track(tb); in tb_create_raw()
57 return (PyObject *)tb; in tb_create_raw()
163 tb_dealloc(PyTracebackObject *tb) in tb_dealloc() argument
[all …]
/third_party/python/Lib/idlelib/
Dstackviewer.py10 def StackBrowser(root, flist=None, tb=None, top=None): argument
16 item = StackTreeItem(flist, tb)
23 def __init__(self, flist=None, tb=None): argument
25 self.stack = self.get_stack(tb)
28 def get_stack(self, tb): argument
29 if tb is None:
30 tb = sys.last_traceback
32 if tb and tb.tb_frame is None:
33 tb = tb.tb_next
34 while tb is not None:
[all …]
Drun.py176 type, value, tb = sys.exc_info()
182 traceback.print_exception(type, value, tb, file=sys.__stderr__)
223 def get_message_lines(typ, exc, tb): argument
229 sys.__excepthook__(typ, exc, tb)
240 typ, val, tb = excinfo = sys.exc_info()
244 def print_exc(typ, exc, tb): argument
258 if tb:
259 tbe = traceback.extract_tb(tb)
265 lines = get_message_lines(typ, exc, tb)
269 print_exc(typ, val, tb)
[all …]
/third_party/musl/compat/time32/
Dftime32.c14 struct timeb tb; in __ftime32() local
15 if (ftime(&tb) < 0) return -1; in __ftime32()
16 if (tb.time < INT32_MIN || tb.time > INT32_MAX) { in __ftime32()
20 tp->time = tb.time; in __ftime32()
21 tp->millitm = tb.millitm; in __ftime32()
22 tp->timezone = tb.timezone; in __ftime32()
23 tp->dstflag = tb.dstflag; in __ftime32()
/third_party/python/Lib/
Dtraceback.py45 def print_tb(tb, limit=None, file=None): argument
53 print_list(extract_tb(tb, limit=limit), file=file)
55 def format_tb(tb, limit=None): argument
57 return extract_tb(tb, limit=limit).format()
59 def extract_tb(tb, limit=None): argument
72 return StackSummary.extract(walk_tb(tb), limit=limit)
93 def _parse_value_tb(exc, value, tb): argument
94 if (value is _sentinel) != (tb is _sentinel):
96 if value is tb is _sentinel:
101 return value, tb
[all …]
/third_party/toybox/porting/liteos_a/toys/posix/
Dps.c175 void (*show_process)(void *tb);
459 static char *string_field(struct procpid *tb, struct ofields *field) in string_field() argument
463 long long *slot = tb->slot, ll = (sl >= 0) ? slot[sl&(XX-1)] : 0; in string_field()
480 out = tb->str; in string_field()
483 if (--sl) out += tb->offset[--sl]; in string_field()
492 if (which>=PS_COMM && !*out) sprintf(out = buf, "[%s]", tb->str); in string_field()
566 *s++ = tb->state; in string_field()
596 struct procpid *tb = p; in show_ps() local
602 char *out = string_field(tb, field); in show_ps()
670 struct procpid *tb = (void *)toybuf; in get_ps() local
[all …]
/third_party/python/Lib/unittest/
Dresult.py175 exctype, value, tb = err
177 while tb and self._is_relevant_tb_level(tb):
178 tb = tb.tb_next
182 length = self._count_relevant_tb_levels(tb)
186 exctype, value, tb,
204 def _is_relevant_tb_level(self, tb): argument
205 return '__unittest' in tb.tb_frame.f_globals
207 def _count_relevant_tb_levels(self, tb): argument
209 while tb and not self._is_relevant_tb_level(tb):
211 tb = tb.tb_next
/third_party/libbpf/src/
Dnlattr.c104 int libbpf_nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, in libbpf_nla_parse() argument
110 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in libbpf_nla_parse()
124 if (tb[type]) in libbpf_nla_parse()
128 tb[type] = nla; in libbpf_nla_parse()
149 int libbpf_nla_parse_nested(struct nlattr *tb[], int maxtype, in libbpf_nla_parse_nested() argument
153 return libbpf_nla_parse(tb, maxtype, libbpf_nla_data(nla), in libbpf_nla_parse_nested()
164 struct nlattr *tb[NLMSGERR_ATTR_MAX + 1], *attr; in libbpf_nla_dump_errormsg() local
183 if (libbpf_nla_parse(tb, NLMSGERR_ATTR_MAX, attr, alen, in libbpf_nla_dump_errormsg()
189 if (tb[NLMSGERR_ATTR_MSG]) in libbpf_nla_dump_errormsg()
190 errmsg = (char *) libbpf_nla_data(tb[NLMSGERR_ATTR_MSG]); in libbpf_nla_dump_errormsg()
/third_party/toybox/toys/posix/
Dps.c218 void (*show_process)(void *tb);
502 static char *string_field(struct procpid *tb, struct ofields *field) in string_field() argument
506 long long *slot = tb->slot, ll = (sl >= 0) ? slot[sl&(XX-1)] : 0; in string_field()
523 out = tb->str; in string_field()
526 if (--sl) out += tb->offset[--sl]; in string_field()
535 if (which>=PS_COMM && !*out) sprintf(out = buf, "[%s]", tb->str); in string_field()
609 *s++ = tb->state; in string_field()
639 struct procpid *tb = p; in show_ps() local
645 char *out = string_field(tb, field); in show_ps()
713 struct procpid *tb = (void *)toybuf; in get_ps() local
[all …]
/third_party/ffmpeg/libavcodec/
Drpza.c80 uint16_t ta, tb; in rpza_decode_stream() local
179 tb = (colorB >> 10) & 0x1F; in rpza_decode_stream()
180 color4[1] |= ((11 * ta + 21 * tb) >> 5) << 10; in rpza_decode_stream()
181 color4[2] |= ((21 * ta + 11 * tb) >> 5) << 10; in rpza_decode_stream()
185 tb = (colorB >> 5) & 0x1F; in rpza_decode_stream()
186 color4[1] |= ((11 * ta + 21 * tb) >> 5) << 5; in rpza_decode_stream()
187 color4[2] |= ((21 * ta + 11 * tb) >> 5) << 5; in rpza_decode_stream()
191 tb = colorB & 0x1F; in rpza_decode_stream()
192 color4[1] |= ((11 * ta + 21 * tb) >> 5); in rpza_decode_stream()
193 color4[2] |= ((21 * ta + 11 * tb) >> 5); in rpza_decode_stream()
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dh264parser.c530 const GstH264ClockTimestamp *tb = &b->clock_timestamp[i]; in check_sei_pic_timing() local
532 if (ta->ct_type != tb->ct_type || in check_sei_pic_timing()
533 ta->nuit_field_based_flag != tb->nuit_field_based_flag || in check_sei_pic_timing()
534 ta->counting_type != tb->counting_type || in check_sei_pic_timing()
535 ta->discontinuity_flag != tb->discontinuity_flag || in check_sei_pic_timing()
536 ta->cnt_dropped_flag != tb->cnt_dropped_flag || in check_sei_pic_timing()
537 ta->n_frames != tb->n_frames) in check_sei_pic_timing()
541 if (ta->seconds_value != tb->seconds_value || in check_sei_pic_timing()
542 ta->minutes_value != tb->minutes_value || in check_sei_pic_timing()
543 ta->hours_value != tb->hours_value) in check_sei_pic_timing()
[all …]

12345678910>>...79