/third_party/ltp/lib/ |
D | tst_res.c | 98 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 …]
|
D | tst_test.c | 169 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 …]
|
D | safe_net.c | 111 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()
|
D | tst_ansi_color.c | 13 char* tst_ttype2color(int ttype) in tst_ttype2color() argument 15 switch (TTYPE_RESULT(ttype)) { in tst_ttype2color()
|
/third_party/ltp/include/ |
D | tst_test.h | 51 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 …]
|
D | tst_res_flags.h | 16 #define TTYPE_RESULT(ttype) ((ttype) & TTYPE_MASK) argument
|
D | tst_ansi_color.h | 19 char* tst_ttype2color(int ttype);
|
/third_party/python/Tools/i18n/ |
D | pygettext.py | 322 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/include/old/ |
D | test.h | 116 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,
|
D | ltp_priv.h | 44 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/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 36 #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/toybox/toys/pending/ |
D | telnet.c | 33 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/skia/modules/skottie/src/ |
D | Layer.cpp | 341 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/ltp/testcases/kernel/fs/binfmt_misc/ |
D | binfmt_misc02.sh | 69 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/selinux/libsepol/src/ |
D | assertion.c | 48 unsigned int stype, unsigned int ttype, in report_failure() argument 55 p->p_type_val_to_name[ttype], in report_failure() 61 p->p_type_val_to_name[ttype], in report_failure() 67 p->p_type_val_to_name[ttype], in report_failure() 147 unsigned int stype, unsigned int ttype, in report_assertion_extended_permissions() argument 156 ebitmap_t *tattr = &p->type_attr_map[ttype]; in report_assertion_extended_permissions() 202 p->p_type_val_to_name[ttype], in report_assertion_extended_permissions() 325 unsigned int stype, unsigned int ttype, in check_assertion_extended_permissions_avtab() argument 333 ebitmap_t *tattr = &p->type_attr_map[ttype]; in check_assertion_extended_permissions_avtab()
|
D | expand.c | 1495 static int exp_rangetr_helper(uint32_t stype, uint32_t ttype, uint32_t tclass, in exp_rangetr_helper() argument 1515 key.target_type = ttype; in exp_rangetr_helper() 1530 state->out->p_type_val_to_name[ttype - 1], in exp_rangetr_helper() 1541 rt->target_type = ttype; in exp_rangetr_helper() 1707 uint32_t ttype, class_perm_node_t * perms, in expand_terule_helper() argument 1724 avkey.target_type = ttype + 1; in expand_terule_helper() 1838 uint32_t stype, uint32_t ttype, in expand_avrule_helper() argument 1853 avkey.target_type = ttype + 1; in expand_avrule_helper() 3288 type_datum_t *ttype = p->type_val_to_struct[k->target_type - 1]; in expand_avtab_node() local 3299 if (stype && ttype && stype->flavor != TYPE_ATTRIB && ttype->flavor != TYPE_ATTRIB) { in expand_avtab_node() [all …]
|
/third_party/f2fs-tools/tools/sg_write_buffer/ |
D | sg_cmds_mmc.c | 230 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/ |
D | dispol.c | 65 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/mesa3d/src/vulkan/runtime/ |
D | vk_sync_timeline.c | 44 vk_sync_timeline_type_validate(const struct vk_sync_timeline_type *ttype) in vk_sync_timeline_type_validate() argument 53 assert(!(req_features & ~ttype->point_sync_type->features)); in vk_sync_timeline_type_validate() 64 ASSERTED const struct vk_sync_timeline_type *ttype = in vk_sync_timeline_init() local 66 vk_sync_timeline_type_validate(ttype); in vk_sync_timeline_init() 141 const struct vk_sync_timeline_type *ttype = in vk_sync_timeline_alloc_point_locked() local 143 const struct vk_sync_type *point_sync_type = ttype->point_sync_type; in vk_sync_timeline_alloc_point_locked()
|
/third_party/python/Lib/xml/etree/ |
D | ElementPath.py | 78 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/ |
D | test.sh | 48 local ttype="$1" 50 tst_flag2mask "$ttype"
|
/third_party/python/Lib/ |
D | cgitb.py | 83 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:
|
D | turtle.py | 2742 ttype = screen._shapes[self.turtle.shapeIndex]._type 2743 if ttype == "polygon": 2745 elif ttype == "image": 2747 elif ttype == "compound": 3001 ttype = shape._type 3006 if ttype == "polygon": 3014 elif ttype == "image": 3016 elif ttype == "compound": 3024 if ttype == "polygon": 3026 elif ttype == "image": [all …]
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | evaluate.c | 2975 struct symbol *ttype, *stype; in evaluate_cast() local 3005 tclass = classify_type(ctype, &ttype); in evaluate_cast() 3014 if (ttype == &void_ctype) in evaluate_cast() 3033 if ((member = find_member_type(ttype, stype))) { in evaluate_cast() 3061 if (ttype != stype) { in evaluate_cast() 3062 if ((tclass & TYPE_RESTRICT) && restricted_value(source, ttype)) in evaluate_cast() 3064 show_typename(ttype)); in evaluate_cast() 3066 if (ttype == &bool_ctype) { in evaluate_cast() 3077 if ((ttype == &ulong_ctype || ttype == uintptr_ctype) && !Wcast_from_as) in evaluate_cast() 3080 examine_pointer_target(ttype); in evaluate_cast() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/ppoll/ |
D | ppoll01.c | 32 #define TYPE_NAME(x) .ttype = x, .desc = #x 35 int ttype; /* test type (enum) */ member
|