Home
last modified time | relevance | path

Searched refs:ttype (Results 1 – 25 of 44) sorted by relevance

12

/third_party/ltp/lib/
Dtst_res.c98 static void tst_condense(int tnum, int ttype, const char *tmesg);
99 static void tst_print(const char *tcid, int tnum, int ttype, const char *tmesg);
142 const char *strttype(int ttype) in strttype() argument
153 PAIR_LOOKUP(ttype_pairs, TTYPE_RESULT(ttype)); in strttype()
159 static void tst_res__(const char *file, const int lineno, int ttype, in tst_res__() argument
166 int ttype_result = TTYPE_RESULT(ttype); in tst_res__()
188 tst_print(TCID, 0, ttype, tmesg); in tst_res__()
201 tst_condense(tst_count + 1, ttype, tmesg); in tst_res__()
204 tst_print(TCID, tst_count + 1, ttype, tmesg); in tst_res__()
214 static void tst_condense(int tnum, int ttype, const char *tmesg) in tst_condense() argument
[all …]
Dtst_test.c169 static void update_results(int ttype) in update_results() argument
174 switch (ttype) { in update_results()
193 static void print_result(const char *file, const int lineno, int ttype, in print_result() argument
202 switch (TTYPE_RESULT(ttype)) { in print_result()
222 tst_brk(TBROK, "Invalid ttype value %i", ttype); in print_result()
226 if (ttype & TERRNO) { in print_result()
231 if (ttype & TTERRNO) { in print_result()
236 if (ttype & TRERRNO) { in print_result()
246 ret = snprintf(str, size, "%s%s: %s", tst_ttype2color(ttype), in print_result()
285 void tst_vres_(const char *file, const int lineno, int ttype, in tst_vres_() argument
[all …]
Dtst_ansi_color.c13 char* tst_ttype2color(int ttype) in tst_ttype2color() argument
15 switch (TTYPE_RESULT(ttype)) { in tst_ttype2color()
Dsafe_net.c111 int rval, ttype; in safe_socket() local
122 ttype = TCONF; in safe_socket()
125 ttype = TBROK; in safe_socket()
128 tst_brkm_(file, lineno, ttype | TERRNO, cleanup_fn, in safe_socket()
142 int rval, ttype; in safe_socketpair() local
151 ttype = TCONF; in safe_socketpair()
154 ttype = TBROK; in safe_socketpair()
157 tst_brkm_(file, lineno, ttype | TERRNO, NULL, in safe_socketpair()
/third_party/ltp/include/
Dtst_test.h51 void tst_res_(const char *file, const int lineno, int ttype,
55 #define tst_res(ttype, arg_fmt, ...) \ argument
57 TST_RES_SUPPORTS_TCONF_TFAIL_TINFO_TPASS_TWARN(!((TTYPE_RESULT(ttype) ?: TCONF) & \
59 tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
62 void tst_resm_hexd_(const char *file, const int lineno, int ttype,
66 #define tst_res_hexd(ttype, buf, size, arg_fmt, ...) \ argument
67 tst_resm_hexd_(__FILE__, __LINE__, (ttype), (buf), (size), \
73 void tst_brk_(const char *file, const int lineno, int ttype,
77 #define tst_brk(ttype, arg_fmt, ...) \ argument
79 TST_BRK_SUPPORTS_ONLY_TCONF_TBROK(!((ttype) & \
[all …]
Dtst_res_flags.h16 #define TTYPE_RESULT(ttype) ((ttype) & TTYPE_MASK) argument
Dtst_ansi_color.h19 char* tst_ttype2color(int ttype);
/third_party/ltp/include/old/
Dtest.h116 const char *strttype(int ttype);
118 void tst_resm_(const char *file, const int lineno, int ttype,
121 #define tst_resm(ttype, arg_fmt, ...) \ argument
122 tst_resm_(__FILE__, __LINE__, (ttype), \
125 void tst_resm_hexd_(const char *file, const int lineno, int ttype,
128 #define tst_resm_hexd(ttype, buf, size, arg_fmt, ...) \ argument
129 tst_resm_hexd_(__FILE__, __LINE__, (ttype), (buf), (size), \
132 void tst_brkm__(const char *file, const int lineno, int ttype,
Dltp_priv.h44 void tst_vbrk_(const char *file, const int lineno, int ttype,
47 void tst_brk_(const char *file, const int lineno, int ttype,
50 void tst_vres_(const char *file, const int lineno, int ttype,
53 void tst_res_(const char *file, const int lineno, int ttype,
/third_party/python/Tools/i18n/
Dpygettext.py322 def __call__(self, ttype, tstring, stup, etup, line): argument
327 self.__state(ttype, tstring, stup[0])
329 def __waiting(self, ttype, tstring, lineno): argument
335 if ttype == tokenize.STRING and is_literal_string(tstring):
338 elif ttype not in (tokenize.COMMENT, tokenize.NL):
342 if ttype == tokenize.NAME and tstring in ('class', 'def'):
345 if ttype == tokenize.NAME and tstring in opts.keywords:
348 if ttype == tokenize.STRING:
400 def __suiteseen(self, ttype, tstring, lineno): argument
402 if ttype == tokenize.OP:
[all …]
/third_party/ltp/testcases/kernel/syscalls/clock_nanosleep/
Dclock_nanosleep01.c36 #define TYPE_NAME(x) .ttype = x, .desc = #x
42 int ttype; /* test type (enum) */ member
141 if (tc->ttype & (BAD_TS_ADDR_REQ | BAD_TS_ADDR_REM) && in do_test()
148 if (tc->ttype & (SEND_SIGINT | BAD_TS_ADDR_REM)) in do_test()
154 if (tc->ttype == BAD_TS_ADDR_REQ) in do_test()
159 if (tc->ttype == BAD_TS_ADDR_REM) in do_test()
190 if (tc->ttype == SEND_SIGINT) { in do_test()
/third_party/boost/boost/numeric/ublas/tensor/
Dmulti_index_utility.hpp104 using ttype = std::tuple<index_types...>; typedef
105 using has_index_type = has_index<itype, ttype>;
109 static constexpr bool value = !has_index_value && valid_multi_index_impl<ttype>::value;
199 template<std::size_t r, std::size_t m, class itype, class ttype>
202 … is_same = std::is_same< std::decay_t<itype>, std::decay_t<std::tuple_element_t<r,ttype>> >::value;
203 static constexpr auto value = is_same ? r : index_position_impl<r+1,m,itype,ttype>::value;
208 template<std::size_t m, class itype, class ttype>
209 struct index_position_impl < m, m, itype, ttype>
211 static constexpr auto value = std::tuple_size<ttype>::value;
/third_party/toybox/toys/pending/
Dtelnet.c33 char *ttype;
168 str_iac(TT.ttype); in handle_negotiations()
208 (TT.ttype)? put_iac(3, IAC,WILL,TELOPT_TTYPE): in handle_ddww()
298 TT.ttype = getenv("TERM"); in telnet_main()
299 if(!TT.ttype) TT.ttype = ""; in telnet_main()
300 if(strlen(TT.ttype) > IACBUFSIZE-1) TT.ttype[IACBUFSIZE - 1] = '\0'; in telnet_main()
/third_party/ltp/testcases/kernel/fs/binfmt_misc/
Dbinfmt_misc02.sh69 local ttype=$(echo "$1" | awk -F $delimiter '{print $3}')
80 [ "$ttype" = "E" ] && local tstring="This is test for extension"
81 [ "$ttype" = "M" ] && local tstring="This is test for magic"
/third_party/skia/modules/skottie/src/
DLayer.cpp341 TransformType ttype) { in getTransform() argument
342 const auto cache_valid_mask = (1ul << ttype); in getTransform()
349 fTransformCache[ttype] = this->doAttachTransform(abuilder, cbuilder, ttype); in getTransform()
354 return fTransformCache[ttype]; in getTransform()
359 TransformType ttype) { in getParentTransform() argument
362 return parent_builder->getTransform(abuilder, cbuilder, ttype); in getParentTransform()
365 if (ttype == TransformType::k3D) { in getParentTransform()
379 TransformType ttype) { in doAttachTransform() argument
385 auto parent_transform = this->getParentTransform(abuilder, cbuilder, ttype); in doAttachTransform()
/third_party/selinux/libsepol/src/
Dassertion.c40 unsigned int stype, unsigned int ttype, in report_failure() argument
47 p->p_type_val_to_name[ttype], in report_failure()
53 p->p_type_val_to_name[ttype], in report_failure()
59 p->p_type_val_to_name[ttype], in report_failure()
142 unsigned int stype, unsigned int ttype, in report_assertion_extended_permissions() argument
151 ebitmap_t *tattr = &p->type_attr_map[ttype]; in report_assertion_extended_permissions()
197 p->p_type_val_to_name[ttype], in report_assertion_extended_permissions()
323 unsigned int stype, unsigned int ttype, in check_assertion_extended_permissions_avtab() argument
331 ebitmap_t *tattr = &p->type_attr_map[ttype]; in check_assertion_extended_permissions_avtab()
Dexpand.c1470 static int exp_rangetr_helper(uint32_t stype, uint32_t ttype, uint32_t tclass, in exp_rangetr_helper() argument
1490 key.target_type = ttype; in exp_rangetr_helper()
1505 state->out->p_type_val_to_name[ttype - 1], in exp_rangetr_helper()
1516 rt->target_type = ttype; in exp_rangetr_helper()
1682 uint32_t ttype, class_perm_node_t * perms, in expand_terule_helper() argument
1699 avkey.target_type = ttype + 1; in expand_terule_helper()
1813 uint32_t stype, uint32_t ttype, in expand_avrule_helper() argument
1828 avkey.target_type = ttype + 1; in expand_avrule_helper()
3262 type_datum_t *ttype = p->type_val_to_struct[k->target_type - 1]; in expand_avtab_node() local
3273 if (stype && ttype && stype->flavor != TYPE_ATTRIB && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node()
[all …]
/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_mmc.c230 int max_num_desc, int ttype, void * resp, in sg_ll_get_performance() argument
251 if ((ttype < 0) || (ttype > 0xff)) { in sg_ll_get_performance()
252 pr2ws("Bad type: 0x%x\n", ttype); in sg_ll_get_performance()
255 gpCmdBlk[10] = (unsigned char)ttype; in sg_ll_get_performance()
/third_party/selinux/checkpolicy/test/
Ddispol.c65 char *stype, *ttype, *tclass; in render_key() local
67 ttype = p->p_type_val_to_name[key->target_type - 1]; in render_key()
69 if (stype && ttype) in render_key()
70 fprintf(fp, "%s %s : %s ", stype, ttype, tclass); in render_key()
73 else if (ttype) in render_key()
74 fprintf(fp, "%u %s : %s ", key->source_type, ttype, tclass); in render_key()
349 display_id(p, fp, SYM_TYPES, ft->ttype - 1, ""); in filenametr_display()
/third_party/boost/libs/bimap/test/
Dtest_tagged.cpp57 typedef tagged< value, tag > ttype; in BOOST_BIMAP_TEST_STATIC_FUNCTION() typedef
58 typedef apply_to_value_type< add_const<_>,ttype>::type result; in BOOST_BIMAP_TEST_STATIC_FUNCTION()
/third_party/python/Lib/xml/etree/
DElementPath.py78 ttype, tag = token
85 yield ttype, "{%s}%s" % (namespaces[prefix], uri)
89 yield ttype, "{%s}%s" % (default_namespace, tag)
95 parsing_attribute = ttype == '@'
/third_party/ltp/testcases/lib/
Dtest.sh48 local ttype="$1"
50 tst_flag2mask "$ttype"
/third_party/python/Lib/
Dcgitb.py83 for ttype, token, start, end, line in tokenize.generate_tokens(reader):
84 if ttype == tokenize.NEWLINE: break
85 if ttype == tokenize.NAME and token not in keyword.kwlist:
/third_party/ltp/testcases/kernel/containers/pidns/
Dpidns01.c69 int child_fn1(void *ttype LTP_ATTRIBUTE_UNUSED) in child_fn1()
Dpidns04.c74 static int child_fn1(void *ttype) in child_fn1() argument

12