/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | unum.h | 1168 * @param attr The attribute to query. This can be any value of UNumberFormatterAttribute, 1181 UNumberFormatAttribute attr); 1188 * @param attr The attribute to query; one of UNUM_PARSE_INT_ONLY, UNUM_GROUPING_USED, 1193 * @return The value of attr, or -1 if the formatter doesn't have the requested attribute. The caller should use unum_hasAttribute() to tell if the attribute 1203 UNumberFormatAttribute attr); 1211 * @param attr The attribute to set; one of UNUM_PARSE_INT_ONLY, UNUM_GROUPING_USED, 1216 * @param newValue The new value of attr. 1227 UNumberFormatAttribute attr, 1237 * @param attr The attribute to query; e.g. UNUM_ROUNDING_INCREMENT. 1238 * @return The value of attr, o [all...] |
/third_party/python/Lib/distutils/ |
H A D | cmd.py | 95 def __getattr__(self, attr): 96 if attr == 'dry_run': 97 myval = getattr(self, "_" + attr) 99 return getattr(self.distribution, attr) 103 raise AttributeError(attr)
|
/third_party/python/Lib/ |
H A D | operator.py | 242 def __init__(self, attr, *attrs): 244 if not isinstance(attr, str): 246 self._attrs = (attr,) 247 names = attr.split('.') 254 self._attrs = (attr,) + attrs
|
H A D | filecmp.py | 249 def __getattr__(self, attr): 250 if attr not in self.methodmap: 251 raise AttributeError(attr) 252 self.methodmap[attr](self) 253 return getattr(self, attr)
|
/third_party/skia/third_party/externals/angle2/util/windows/ |
H A D | test_utils_win.cpp | 441 const DWORD attr = ::GetFileAttributesA(path); in DeleteSystemFile() local 443 if (attr == INVALID_FILE_ATTRIBUTES) in DeleteSystemFile() 449 if ((attr & FILE_ATTRIBUTE_READONLY) && in DeleteSystemFile() 450 !::SetFileAttributesA(path, attr & ~FILE_ATTRIBUTE_READONLY)) in DeleteSystemFile() 457 if ((attr & FILE_ATTRIBUTE_DIRECTORY) != 0) in DeleteSystemFile()
|
/third_party/rust/crates/serde/serde_derive/src/ |
H A D | bound.rs | 2 use crate::internals::{attr, ungroup}; 44 from_field: fn(&attr::Field) -> Option<&[syn::WherePredicate]>, in with_where_predicates_from_fields() 60 from_variant: fn(&attr::Variant) -> Option<&[syn::WherePredicate]>, in with_where_predicates_from_variants() 94 filter: fn(&attr::Field, Option<&attr::Variant>) -> bool, in with_bound()
|
/third_party/ntfs-3g/src/ |
H A D | lowntfs-3g.c | 1014 if (!ntfs_fuse_getstat(scx, ni, &pentry->attr)) { in ntfs_fuse_fillstat() 2213 static void ntfs_fuse_setattr(fuse_req_t req, fuse_ino_t ino, struct stat *attr, in ntfs_fuse_setattr() argument 2247 attr->st_mode & 07777, &stbuf); in ntfs_fuse_setattr() 2250 res = ntfs_fuse_chown(&security, ino, attr->st_uid, in ntfs_fuse_setattr() 2255 attr->st_gid, &stbuf); in ntfs_fuse_setattr() 2258 res = ntfs_fuse_chown(&security, ino, attr->st_uid, in ntfs_fuse_setattr() 2259 attr->st_gid, &stbuf); in ntfs_fuse_setattr() 2262 res = ntfs_fuse_chownmod(&security, ino, attr->st_uid, in ntfs_fuse_setattr() 2263 (gid_t)-1,attr->st_mode, in ntfs_fuse_setattr() 2268 attr in ntfs_fuse_setattr() 3317 ntfs_check_access_xattr(fuse_req_t req, struct SECURITY_CONTEXT *security, fuse_ino_t ino, int attr, BOOL setting) ntfs_check_access_xattr() argument 3549 enum SYSTEMXATTRS attr; global() local 3730 enum SYSTEMXATTRS attr; global() local 3977 enum SYSTEMXATTRS attr; global() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_input.cpp | 82 bool DOMInput::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr() argument 87 if (attr.first == DOM_INPUT_TYPE) { in SetSpecializedAttr() 88 std::string typeName = attr.second; in SetSpecializedAttr() 94 } else if (attr.first == DOM_INPUT_NAME) { in SetSpecializedAttr() 95 SetName(attr.second); in SetSpecializedAttr() 96 } else if (attr.first == DOM_INPUT_VALUE) { in SetSpecializedAttr() 97 SetOriginValue(attr.second); in SetSpecializedAttr() 98 } else if (attr.first == DOM_INPUT_CHECKED) { in SetSpecializedAttr() 99 SetOriginChecked(StringToBool(attr.second)); in SetSpecializedAttr() 101 inputAttrs_[attr in SetSpecializedAttr() [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfscmp.c | 452 ATTR_TYPES atype = ctx->attr->type; in get_attr_name_ctx() 454 return get_attr_name(mft_no, atype, GET_ATTR_NAME(ctx->attr)); in get_attr_name_ctx() 475 print_attribute(ctx->attr->type, name); in print_attribute_ctx() 483 print_attribute(ctx->attr->type, name); in print_ctx() 674 ATTR_RECORD *a1 = ctx1->attr; in cmp_attribute() 675 ATTR_RECORD *a2 = ctx2->attr; in cmp_attribute() 702 if (ntfs_inode_badclus_bad(inumber(ctx1->ntfs_ino), ctx1->attr) == 1) { in cmp_attribute() 770 if (!ctx->attr->non_resident) in new_attribute() 773 if (prev_atype != ctx->attr->type) in new_attribute() 784 (long long)sle64_to_cpu(ctx->attr in new_attribute() [all...] |
H A D | ntfscp.c | 131 " -N, --attr-name NAME Write to attribute with this name\n" in usage() 159 { "attr-name", required_argument, NULL, 'N' }, in parse_options() 174 s64 attr; in parse_options() local 209 attr = strtol(optarg, &s, 0); in parse_options() 214 opts.attribute = (ATTR_TYPES)cpu_to_le32(attr); in parse_options() 615 ATTR_RECORD *attr; in set_sizes() local 624 attr = ctx->attr; in set_sizes() 625 attr->non_resident = 1; in set_sizes() 626 attr in set_sizes() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_clip.c | 124 const uint attr = clipper->const_attribs[i]; in copy_flat() local 125 COPY_4FV(dst->data[attr], src->data[attr]); in copy_flat() 178 const unsigned attr = clip->perspect_attribs[j]; in interp() local 179 interp_attr(dst->data[attr], t, in->data[attr], out->data[attr]); in interp() 206 const unsigned attr = clip->linear_attribs[j]; in interp() local 207 interp_attr(dst->data[attr], t_nopersp, in->data[attr], ou in interp() [all...] |
/device/qemu/riscv32_virt/liteos_m/board/libc/ |
H A D | dprintf.c | 77 int hal_trace_printf(int attr, const char *fmt, ...)
in hal_trace_printf() argument 79 if (attr > HDF_KM_LOG_LEVEL)
in hal_trace_printf()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/efuse/ |
H A D | efuse_drv.h | 23 hi_u8 attr; /* 0x0:None,0x1:RO,0x2:WO,0x3:R/W */ member 68 hi_void get_efuse_cfg_by_id(hi_efuse_idx idx, hi_u16 *start_bit, hi_u16 *size, hi_u8 *attr);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/ |
H A D | efuse_drv.h | 23 hi_u8 attr; member 65 hi_void get_efuse_cfg_by_id(hi_efuse_idx idx, hi_u16 *start_bit, hi_u16 *size, hi_u8 *attr);
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/ |
H A D | svg_stop_declaration.h | 34 bool SetSpecializedAttr(const std::pair<std::string, std::string>& attr) override; 65 bool SetSpecializedValue(const std::pair<std::string, std::string>& attr);
|
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avbuffer/ |
H A D | avbuffer_mock.h | 39 virtual int32_t GetBufferAttr(OH_AVCodecBufferAttr &attr) = 0; 40 virtual int32_t SetBufferAttr(const OH_AVCodecBufferAttr &attr) = 0;
|
/foundation/resourceschedule/ffrt/src/queue/ |
H A D | serial_queue.cpp | 69 std::unique_ptr<BaseQueue> CreateSerialQueue(const ffrt_queue_attr_t* attr) in CreateSerialQueue() argument 71 (void)attr; in CreateSerialQueue()
|
/foundation/resourceschedule/ffrt/src/sync/ |
H A D | thread.cpp | 29 int ffrt_thread_create(ffrt_thread_t* thr, const ffrt_thread_attr_t* attr, void* (*func)(void*), void* arg) in ffrt_thread_create() argument 35 if (attr) { in ffrt_thread_create() 36 FFRT_LOGE("attr should be empty"); in ffrt_thread_create()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/pluginlistenerimpl/src/ |
H A D | mock_hardware_handler.cpp | 61 int32_t MockHardwareHandler::PluginHardware(const std::string &dhId, const std::string &attr, in PluginHardware() argument 65 listener_->PluginHardware(dhId, attr, subtype); in PluginHardware()
|
/third_party/ltp/testcases/kernel/syscalls/llistxattr/ |
H A D | llistxattr01.c | 39 static int has_attribute(const char *list, int llen, const char *attr) in has_attribute() argument 44 if (!strcmp(list + i, attr)) in has_attribute()
|
/third_party/rust/crates/cxx/src/ |
H A D | extern_type.rs | 190 ($([$kind:ident] $($(#[$($attr:tt)*])* $ty:path = $cxxpath:literal)*)*) => { 192 $(#[$($attr)*])* 194 #[allow(unused_attributes)] // incorrect lint; this doc(hidden) attr *is* respected by rustdoc
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_extension.py | 48 for attr in ('include_dirs', 'define_macros', 'undef_macros', 52 self.assertEqual(getattr(ext, attr), [])
|
/third_party/mbedtls/library/ |
H A D | psa_crypto.c | 1110 if (PSA_KEY_TYPE_IS_PUBLIC_KEY(slot->attr.type)) { in psa_get_and_lock_key_slot_with_policy() 1114 if ((slot->attr.policy.usage & usage) != usage) { in psa_get_and_lock_key_slot_with_policy() 1121 status = psa_key_policy_permits(&slot->attr.policy, in psa_get_and_lock_key_slot_with_policy() 1122 slot->attr.type, in psa_get_and_lock_key_slot_with_policy() 1169 if (psa_key_lifetime_is_external((*p_slot)->attr.lifetime)) { in psa_get_and_lock_transparent_key_slot_with_policy() 1307 if (PSA_KEY_LIFETIME_IS_READ_ONLY(slot->attr.lifetime)) { in psa_destroy_key() 1318 driver = psa_get_se_driver_entry(slot->attr.lifetime); in psa_destroy_key() 1326 psa_crypto_transaction.key.lifetime = slot->attr.lifetime; in psa_destroy_key() 1328 psa_crypto_transaction.key.id = slot->attr.id; in psa_destroy_key() 1352 if (!PSA_KEY_LIFETIME_IS_VOLATILE(slot->attr in psa_destroy_key() [all...] |
/third_party/python/Lib/test/ |
H A D | test_gc.py | 497 del self.attr 502 a.attr = b 503 b.attr = a 510 # __getattr__ deletes the internal "attr" attributes as a side effect. 526 del self.attr 531 a.attr = b 532 b.attr = a 551 del self.attr 556 a.attr = b 557 b.attr [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Host.cpp | 376 } attr = {}; in getHostCPUNameForBPF() 377 attr.prog_type = 1; /* BPF_PROG_TYPE_SOCKET_FILTER */ in getHostCPUNameForBPF() 378 attr.insn_cnt = 5; in getHostCPUNameForBPF() 379 attr.insns = (uint64_t)v3_insns; in getHostCPUNameForBPF() 380 attr.license = (uint64_t)"DUMMY"; in getHostCPUNameForBPF() 382 int fd = syscall(321 /* __NR_bpf */, 5 /* BPF_PROG_LOAD */, &attr, in getHostCPUNameForBPF() 383 sizeof(attr)); in getHostCPUNameForBPF() 389 /* Clear the whole attr in case its content changed by syscall. */ in getHostCPUNameForBPF() 390 memset(&attr, 0, sizeof(attr)); in getHostCPUNameForBPF() [all...] |