/third_party/protobuf/python/google/protobuf/internal/ |
H A D | keywords_test.py | 49 message = getattr(more_messages_pb2, 'class')() 56 message = getattr(more_messages_pb2, 'class')() 63 message = getattr(more_messages_pb2, 'class')() 66 self.assertEqual(getattr(message, 'if'), 123) 67 self.assertEqual(getattr(message, 'as'), 1) 70 class_ = getattr(more_messages_pb2, 'class') 76 message.enum_field = getattr(more_messages_pb2, 'else') 79 message.nested_enum_field = getattr(class_, 'True') 83 message = getattr(more_messages_pb2, 'class')() 85 extension1 = getattr(more_messages_pb [all...] |
/third_party/python/Lib/unittest/ |
H A D | suite.py | 12 func = getattr(parent, attr, lambda: None) 104 if getattr(result, '_testRunEntered', False) is False: 117 if (getattr(test.__class__, '_classSetupFailed', False) or 118 getattr(result, '_moduleSetUpFailed', False)): 143 previousClass = getattr(result, '_previousTestClass', None) 149 if getattr(currentClass, "__unittest_skip__", False): 160 setUpClass = getattr(currentClass, 'setUpClass', None) 161 doClassCleanups = getattr(currentClass, 'doClassCleanups', None) 190 previousClass = getattr(result, '_previousTestClass', None) 210 setUpModule = getattr(modul [all...] |
/test/testfwk/xdevice/src/xdevice/_core/testkit/ |
H A D | json_parser.py | 112 return getattr(self.config, "description", "") 115 return getattr(self.config, "kits", []) 118 return getattr(self.config, "environment", []) 121 return getattr(self.config, "driver", {}) 124 return getattr(self.config, "module_subsystem", "zzzzzzzz") 127 return getattr(self.config, "module_part", "") 130 driver = getattr(self.config, "driver", {}) 134 return getattr(self.config, "testSuiteName", "AppTest") 137 return getattr(self.config, "test_case_list", [])
|
/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | orangefs-utils.c | 30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op() 264 new_op->upcall.req.getattr.refn = orangefs_inode->refn; in orangefs_inode_getattr() 270 new_op->upcall.req.getattr.mask = ORANGEFS_ATTR_SYS_ALL_NOHINT; in orangefs_inode_getattr() 272 new_op->upcall.req.getattr.mask = in orangefs_inode_getattr() 302 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr() 303 new_op->downcall.resp.getattr.link_target); in orangefs_inode_getattr() 311 downcall.resp.getattr.attributes.objtype); in orangefs_inode_getattr() 315 downcall.resp.getattr.attributes); in orangefs_inode_getattr() 318 downcall.resp.getattr.attributes.size; in orangefs_inode_getattr() 320 inode->i_blkbits = ffs(new_op->downcall.resp.getattr in orangefs_inode_getattr() [all...] |
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | orangefs-utils.c | 30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op() 264 new_op->upcall.req.getattr.refn = orangefs_inode->refn; in orangefs_inode_getattr() 270 new_op->upcall.req.getattr.mask = ORANGEFS_ATTR_SYS_ALL_NOHINT; in orangefs_inode_getattr() 272 new_op->upcall.req.getattr.mask = in orangefs_inode_getattr() 302 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr() 303 new_op->downcall.resp.getattr.link_target); in orangefs_inode_getattr() 311 downcall.resp.getattr.attributes.objtype); in orangefs_inode_getattr() 315 downcall.resp.getattr.attributes); in orangefs_inode_getattr() 318 downcall.resp.getattr.attributes.size; in orangefs_inode_getattr() 320 inode->i_blkbits = ffs(new_op->downcall.resp.getattr in orangefs_inode_getattr() [all...] |
/third_party/littlefs/scripts/ |
H A D | structs.py | 277 if all(getattr(r, k) in vs for k, vs in defines): 284 name = tuple(getattr(r, k) for k in by) 319 ','.join(str(getattr(r, k) or '') for k in by): r 322 ','.join(str(getattr(r, k) or '') for k in by): r 331 getattr(table.get(n), k, None), 332 getattr(diff_table.get(n), k, None)) 339 (getattr(table[n], k),) 340 if getattr(table.get(n), k, None) is not None else () 379 entry.append(getattr(r, k).table() 380 if getattr( [all...] |
H A D | stack.py | 292 if all(getattr(r, k) in vs for k, vs in defines): 299 name = tuple(getattr(r, k) for k in by) 336 ','.join(str(getattr(r, k) or '') for k in by): r 339 ','.join(str(getattr(r, k) or '') for k in by): r 348 getattr(table.get(n), k, None), 349 getattr(diff_table.get(n), k, None)) 356 (getattr(table[n], k),) 357 if getattr(table.get(n), k, None) is not None else () 396 entry.append(getattr(r, k).table() 397 if getattr( [all...] |
H A D | cov.py | 316 if all(getattr(r, k) in vs for k, vs in defines): 323 name = tuple(getattr(r, k) for k in by) 358 ','.join(str(getattr(r, k) or '') for k in by): r 361 ','.join(str(getattr(r, k) or '') for k in by): r 370 getattr(table.get(n), k, None), 371 getattr(diff_table.get(n), k, None)) 378 (getattr(table[n], k),) 379 if getattr(table.get(n), k, None) is not None else () 418 entry.append(getattr(r, k).table() 419 if getattr( [all...] |
H A D | code.py | 329 if all(getattr(r, k) in vs for k, vs in defines): 336 name = tuple(getattr(r, k) for k in by) 371 ','.join(str(getattr(r, k) or '') for k in by): r 374 ','.join(str(getattr(r, k) or '') for k in by): r 383 getattr(table.get(n), k, None), 384 getattr(diff_table.get(n), k, None)) 391 (getattr(table[n], k),) 392 if getattr(table.get(n), k, None) is not None else () 431 entry.append(getattr(r, k).table() 432 if getattr( [all...] |
H A D | data.py | 329 if all(getattr(r, k) in vs for k, vs in defines): 336 name = tuple(getattr(r, k) for k in by) 371 ','.join(str(getattr(r, k) or '') for k in by): r 374 ','.join(str(getattr(r, k) or '') for k in by): r 383 getattr(table.get(n), k, None), 384 getattr(diff_table.get(n), k, None)) 391 (getattr(table[n], k),) 392 if getattr(table.get(n), k, None) is not None else () 431 entry.append(getattr(r, k).table() 432 if getattr( [all...] |
H A D | summary.py | 322 **{k: getattr(self, k) for k in by}, 363 if all(getattr(r, k) in vs for k, vs in defines): 370 name = tuple(getattr(r, k) for k in by) 405 ','.join(str(getattr(r, k) or '') for k in by): r 408 ','.join(str(getattr(r, k) or '') for k in by): r 417 getattr(table.get(n), k, None), 418 getattr(diff_table.get(n), k, None)) 425 (getattr(table[n], k),) 426 if getattr(table.get(n), k, None) is not None else () 465 entry.append(getattr( [all...] |
H A D | perf.py | 646 if all(getattr(r, k) in vs for k, vs in defines): 653 name = tuple(getattr(r, k) for k in by) 698 ','.join(str(getattr(r, k) or '') for k in by): r 701 ','.join(str(getattr(r, k) or '') for k in by): r 710 getattr(table.get(n), k, None), 711 getattr(diff_table.get(n), k, None)) 718 (getattr(table[n], k),) 719 if getattr(table.get(n), k, None) is not None else () 758 entry.append(getattr(r, k).table() 759 if getattr( [all...] |
H A D | perfbd.py | 612 if all(getattr(r, k) in vs for k, vs in defines): 619 name = tuple(getattr(r, k) for k in by) 664 ','.join(str(getattr(r, k) or '') for k in by): r 667 ','.join(str(getattr(r, k) or '') for k in by): r 676 getattr(table.get(n), k, None), 677 getattr(diff_table.get(n), k, None)) 684 (getattr(table[n], k),) 685 if getattr(table.get(n), k, None) is not None else () 724 entry.append(getattr(r, k).table() 725 if getattr( [all...] |
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | scheduler.py | 143 test_type = getattr(task.config, "testtype", []) 144 task_name = getattr(task.config, "task", "") 168 task_info.repeat = getattr(task.config, ConfigConst.repeat, 1) 170 task_info.product_info = getattr(task, "product_info", "") 218 if getattr(driver_request, ConfigConst.product_info, ""): 219 product_info = getattr(driver_request, 247 if not getattr(device, ConfigConst.need_kit_setup, True): 254 for kit in getattr(device, ConfigConst.task_kits, []): 262 error_no = getattr(exception, "error_no", "00000") 274 if not getattr(devic [all...] |
H A D | concurrent.py | 142 error_no = getattr(exception, "error_no", "00000") 160 if getattr(config, "reboot_per_module", False): 194 if getattr(self.task.config, "history_report_path", ""): 227 module_kits = getattr(device, ConfigConst.common_module_kits) 238 for kit in getattr(device, ConfigConst.common_module_kits, []): 246 if check_mode(ModeType.decc) or getattr( 254 getattr(driver_request.config, ConfigConst.module_config, None)): 255 module_config_path = getattr(driver_request.config, ConfigConst.module_config, None) 267 if not getattr(device, ConfigConst.need_kit_setup, True): 274 for kit in getattr(devic [all...] |
H A D | source.py | 99 if getattr(config, ConfigConst.testcases_path, ""): 106 if getattr(config, ConfigConst.testcases_path, "") and os.path.normcase( 131 if getattr(config, ConfigConst.testdict, "") == "": 173 getattr(config, ConfigConst.component_mapper, dict()).update( 184 getattr(config, ConfigConst.component_base_kit, "") and \ 191 if getattr(config, ConfigConst.testlist, ""): 198 if getattr(config, ConfigConst.testfile, ""): 214 if getattr(config, ConfigConst.testcase, ""): 220 if getattr(config, ConfigConst.subsystems, []) or \ 221 getattr(confi [all...] |
/third_party/python/Lib/test/ |
H A D | test_unicode_identifiers.py | 11 self.assertEqual(getattr(T, "\xe4"), 1) 12 self.assertEqual(getattr(T, "\u03bc"), 2) 13 self.assertEqual(getattr(T, '\u87d2'), 3) 14 self.assertEqual(getattr(T, 'x\U000E0100'), 4)
|
H A D | time_hashlib.py | 54 print("testing speed of _hashlib.%s" % sys.argv[2], getattr(_hashlib, sys.argv[2])) 59 elif hasattr(hashlib, hName) and hasattr(getattr(hashlib, hName), '__call__'): 60 creatorFunc = getattr(hashlib, hName) 61 print("testing speed of hashlib."+hName, getattr(hashlib, hName))
|
H A D | test_stat.py | 101 fmt = getattr(self.statmod, "S_IF" + name.lstrip("F")) 106 func = getattr(self.statmod, funcname, None) 216 modvalue = getattr(self.statmod, key) 219 modvalue = getattr(self.statmod, key) 222 modvalue = getattr(self.statmod, key) 225 modvalue = getattr(self.statmod, key) 228 func = getattr(self.statmod, key) 237 modvalue = getattr(self.statmod, key)
|
/third_party/python/Lib/ |
H A D | _py_abc.py | 40 if getattr(value, "__isabstractmethod__", False)} 42 for name in getattr(base, "__abstractmethods__", set()): 43 value = getattr(cls, name, None) 44 if getattr(value, "__isabstractmethod__", False): 78 value = getattr(cls, name) 132 if cls in getattr(subclass, '__mro__', ()):
|
H A D | reprlib.py | 27 wrapper.__module__ = getattr(user_function, '__module__') 28 wrapper.__doc__ = getattr(user_function, '__doc__') 29 wrapper.__name__ = getattr(user_function, '__name__') 30 wrapper.__qualname__ = getattr(user_function, '__qualname__') 31 wrapper.__annotations__ = getattr(user_function, '__annotations__', {}) 61 return getattr(self, 'repr_' + typename)(x, level)
|
/third_party/python/Lib/multiprocessing/ |
H A D | spawn.py | 33 WINEXE = getattr(sys, 'frozen', False) 85 if getattr(sys, 'frozen', False): 137 if getattr(process.current_process(), '_inheriting', False): 187 main_mod_name = getattr(main_module.__spec__, "name", None) 191 main_path = getattr(main_module, '__file__', None) 254 if getattr(current_main.__spec__, "name", None) == mod_name: 283 if getattr(current_main, '__file__', None) == main_path:
|
/third_party/elfutils/libdw/ |
H A D | dwarf_getscopevar.c | 48 getattr (Dwarf_Die *die, int search_name, Dwarf_Word *value) in getattr() function 133 if (getattr (result, DW_AT_decl_file, &i) != 0 in dwarf_getscopevar() 142 && (getattr (result, DW_AT_decl_line, &i) != 0 in dwarf_getscopevar() 146 && (getattr (result, DW_AT_decl_column, &i) != 0 in dwarf_getscopevar()
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | ast_dump.py | 34 value = getattr(node, name) 38 if value is None and getattr(cls, name, ...) is None: 50 value = getattr(node, name) 53 if value is None and getattr(cls, name, ...) is None:
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | symlink.c | 67 .getattr = ext4_encrypted_symlink_getattr, 74 .getattr = ext4_getattr, 81 .getattr = ext4_getattr,
|