/third_party/python/Lib/email/ |
H A D | charset.py | 222 if isinstance(input_charset, str): 225 input_charset = str(input_charset, 'ascii') 253 return str(self) == str(other).lower() 392 if isinstance(string, str): 402 if isinstance(string, str): 407 if isinstance(string, str):
|
/third_party/python/Lib/test/ |
H A D | test_baseexception.py | 83 interface_tests = ("length", "args", "str", "repr") 95 [str(exc), str(arg)], 105 [str(exc), str(args)], 113 [str(exc), ''], 122 class HashThisKeyWillClearTheDict(str): 126 class Value(str):
|
/third_party/openssl/crypto/ec/ |
H A D | eck_prn.c | 67 static int print_bin(BIO *fp, const char *str, const unsigned char *num, 229 char str[128 + 1 + 4]; in print_bin() local 236 memset(str, ' ', off); in print_bin() 237 if (BIO_write(fp, str, off) <= 0) in print_bin() 248 str[0] = '\n'; in print_bin() 249 memset(&(str[1]), ' ', off + 4); in print_bin() 250 if (BIO_write(fp, str, off + 1 + 4) <= 0) in print_bin()
|
/third_party/skia/third_party/externals/angle2/src/common/serializer/ |
H A D | JsonSerializer.cpp | 65 addString(hashName.str(), os.str()); in addBlob() 72 addVector(rawName.str(), data); in addBlob() 95 rapidjson::Value str(v.c_str(), mAllocator); in addVectorOfStrings() 96 arrayValue.PushBack(str, mAllocator); in addVectorOfStrings() 113 addCString(name, hexStream.str().c_str()); in addHexValue() 139 mResult = os.str(); in ensureEndDocument()
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | unit_spirv.h | 43 return os.str(); in to_string() 80 std::string str() const { in str() function in spvtest::WordVector 83 return os.str(); in str() 140 : str(value), text({str.data(), str.size()}) {} in AutoText() 142 std::string str; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | unit_spirv.h | 43 return os.str(); in to_string() 80 std::string str() const { in str() function in spvtest::WordVector 83 return os.str(); in str() 140 : str(value), text({str.data(), str.size()}) {} in AutoText() 142 std::string str; member
|
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | fthash.c | 52 const char* kp = key->str; in hash_str_lookup() 85 if ( a->str[0] == b->str[0] && in hash_str_compare() 86 ft_strcmp( a->str, b->str ) == 0 ) in hash_str_compare() 279 hk.str = key; in ft_hash_str_insert() 319 hk.str = key; in ft_hash_str_lookup()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceTypes.cpp | 29 #define X(tag, str, is_elf64, e_machine, e_flags) str, 38 #define X(tag, sizeLog2, align, elts, elty, str, rcstr) _table_tag_##tag, 53 #define X(tag, sizeLog2, align, elts, elty, str, rcstr) \ 72 #define X(tag, sizeLog2, align, elts, elty, str, rcstr) \ 104 #define X(tag, sizeLog2, align, elts, elty, str, rcstr) \ 105 {sizeLog2, align, elts, IceType_##elty, str, rcstr},
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | json_escaping.cc | 108 // Input str is encoded in UTF-8. A unicode code point could be encoded in 112 // This function reads the next unicode code point from the input (str) at 117 // This function assumes that the input (str) is valid at the given position 126 // otherwise, including the case when we reach the end of the input (str) 128 bool ReadCodePoint(StringPiece str, int index, uint32* cp, int* num_left, in ReadCodePoint() argument 132 *cp = static_cast<uint8>(str[index++]); in ReadCodePoint() 180 while (*num_left > 0 && index < str.size()) { in ReadCodePoint() 181 uint32 ch = static_cast<uint8>(str[index++]); in ReadCodePoint() 307 StringPiece str = input->Peek(); in Escape() local 317 // iv) end of the StringPiece str i in Escape() [all...] |
/third_party/python/Lib/test/test_json/ |
H A D | test_enum.py | 54 self.assertEqual(self.dumps(enum), str(enum.value)) 60 str([SMALL, BIG, HUGE, REALLY_HUGE])) 64 str([E, PI, TAU])) 83 self.assertEqual(nd[str(SMALL)], 'tiny') 84 self.assertEqual(nd[str(BIG)], 'large') 85 self.assertEqual(nd[str(HUGE)], 'larger') 86 self.assertEqual(nd[str(REALLY_HUGE)], 'largest')
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | objc.rs | 66 fn new(name: &str) -> ObjCInterface { in new() 81 pub fn name(&self) -> &str { in name() 216 name: &str, in new() 220 let split_name: Vec<&str> = name.split(':').collect(); in new() 234 pub fn name(&self) -> &str { in name() 240 pub fn rust_name(&self) -> &str { in rust_name() 298 let name_and_sig: Vec<&str> = arg.split(' ').collect(); in format_method_call()
|
/third_party/spirv-tools/test/ |
H A D | unit_spirv.h | 43 return os.str(); in to_string() 80 std::string str() const { in str() function in spvtest::WordVector 83 return os.str(); in str() 140 : str(value), text({str.data(), str.size()}) {} in AutoText() 142 std::string str; member
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | debug.cpp | 218 std::string str(message); in Trace() 261 str.c_str()); in Trace() 285 LogSeverityName(severity), str.c_str()); in Trace() 290 str.c_str()); in Trace() 300 OutputDebugStringA(str.c_str()); in Trace() 319 *file << str << "\n"; in Trace() local 332 return mStream.str(); in getMessage()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-script.c | 165 const char *str; member 168 {.str = "comm", .field = PERF_OUTPUT_COMM}, 169 {.str = "tid", .field = PERF_OUTPUT_TID}, 170 {.str = "pid", .field = PERF_OUTPUT_PID}, 171 {.str = "time", .field = PERF_OUTPUT_TIME}, 172 {.str = "cpu", .field = PERF_OUTPUT_CPU}, 173 {.str = "event", .field = PERF_OUTPUT_EVNAME}, 174 {.str = "trace", .field = PERF_OUTPUT_TRACE}, 175 {.str = "ip", .field = PERF_OUTPUT_IP}, 176 {.str 404 const char *str = ""; output_field2str() local 1640 perf_sample__sprintf_flags(u32 flags, char *str, size_t sz) perf_sample__sprintf_flags() argument 1688 char str[SAMPLE_FLAGS_BUF_SIZE]; perf_sample__fprintf_flags() local 1811 char str[sizeof(u64) + 1] = ""; perf_sample__fprintf_synth_ptwrite() local 2148 char str[PAGE_SIZE_NAME_LEN]; process_event() local 2957 parse_scriptname(const struct option *opt __maybe_unused, const char *str, int unset __maybe_unused) parse_scriptname() argument 3012 char *str = strdup(arg); parse_output_fields() local 3243 ends_with(const char *str, const char *suffix) ends_with() argument 3300 char *script_root, *str; get_script_root() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 59 void **str, int *strtype); 193 void *str = NULL; in key_to_epki_der_priv_bio() local 201 &str, &strtype)) in key_to_epki_der_priv_bio() 204 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_der_priv_bio() 221 void *str = NULL; in key_to_epki_pem_priv_bio() local 229 &str, &strtype)) in key_to_epki_pem_priv_bio() 232 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_pem_priv_bio() 249 void *str = NULL; in key_to_pki_der_priv_bio() local 258 &str, &strtype)) in key_to_pki_der_priv_bio() 261 p8info = key_to_p8info(key, key_nid, str, strtyp in key_to_pki_der_priv_bio() 281 void *str = NULL; key_to_pki_pem_priv_bio() local 313 void *str = NULL; key_to_spki_der_pub_bio() local 339 void *str = NULL; key_to_spki_pem_pub_bio() local 856 unsigned char *str = NULL; prepare_rsa_params() local [all...] |
/third_party/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 59 void **str, int *strtype); 193 void *str = NULL; in key_to_epki_der_priv_bio() local 201 &str, &strtype)) in key_to_epki_der_priv_bio() 204 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_der_priv_bio() 221 void *str = NULL; in key_to_epki_pem_priv_bio() local 229 &str, &strtype)) in key_to_epki_pem_priv_bio() 232 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_pem_priv_bio() 249 void *str = NULL; in key_to_pki_der_priv_bio() local 258 &str, &strtype)) in key_to_pki_der_priv_bio() 261 p8info = key_to_p8info(key, key_nid, str, strtyp in key_to_pki_der_priv_bio() 281 void *str = NULL; key_to_pki_pem_priv_bio() local 313 void *str = NULL; key_to_spki_der_pub_bio() local 339 void *str = NULL; key_to_spki_pem_pub_bio() local 848 unsigned char *str = NULL; prepare_rsa_params() local [all...] |
/third_party/python/Lib/test/test_email/ |
H A D | test_headerregistry.py | 86 self.assertIsInstance(h, str) 88 self.assertEqual(str(h), 'this is a test') 1252 self.assertEqual(str(a), decoded) 1274 self.assertEqual(str(a), decoded) 1289 self.assertEqual(str(h.addresses[0]), 'Fred <dinsdale@python.org>') 1290 self.assertEqual(str(h.addresses[1]), 'foo@example.com') 1291 self.assertEqual(str(h.addresses[2]), 1323 self.assertEqual(str(h.groups[i+2].addresses[0]), examples[i][2]) 1326 self.assertEqual(str(h.groups[i].addresses[0]), examples[i-1][2]) 1328 self.assertEqual(str( [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | caltest.cpp | 401 UnicodeString str; in TestGenericAPI() local 468 if (z->getID(str) != tzid || in TestGenericAPI() 782 UnicodeString str; in TestGregorianChange768() local 785 logln(UnicodeString("With cutoff ") + dateToString(c->getGregorianChange(), str)); in TestGregorianChange768() 792 logln(UnicodeString("With cutoff ") + dateToString(c->getGregorianChange(), str)); in TestGregorianChange768() 911 UnicodeString str; in verify765() local 920 logln("PASS: " + msg + dateToString(c->getTime(status), str)); in verify765() 924 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day + in verify765() 958 UnicodeString str; in test4064654() local 966 logln("date = " + dateToString(date, str)); in test4064654() 1464 UnicodeString str; TestEpochStartFields() local 1597 UnicodeString str, str2; yearAddTest() local 1747 UnicodeString str; marchByDelta() local 1813 UnicodeString str; TestWOY() local 2040 UnicodeString str; TestYWOY() local [all...] |
H A D | srchtest.cpp | 283 char *str = toCharString(strsrch->getText()); in assertEqualWithStringSearch() local 284 errln("Text: %s", str); in assertEqualWithStringSearch() 285 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch() 286 errln("Pattern: %s", str); in assertEqualWithStringSearch() 309 char *str = toCharString(strsrch->getText()); in assertEqualWithStringSearch() local 310 errln("Text: %s", str); in assertEqualWithStringSearch() 311 str = toCharString(strsrch->getPattern()); in assertEqualWithStringSearch() 312 errln("Pattern: %s", str); in assertEqualWithStringSearch() 326 char *str = toCharString(strsrch->getText()); in assertEqualWithStringSearch() local 327 errln("Text: %s", str); in assertEqualWithStringSearch() 352 char *str = toCharString(strsrch->getText()); assertEqualWithStringSearch() local 375 char *str = toCharString(strsrch->getText()); assertEqualWithStringSearch() local 392 char *str = toCharString(strsrch->getText()); assertEqualWithStringSearch() local 425 char *str = toCharString(strsrch->getText()); assertEqualWithStringSearch() local 444 char *str = toCharString(strsrch->getText()); assertEqualWithStringSearch() local 1318 char *str = toCharString(strsrch->getText()); TestGetSetOffset() local 1341 char *str = toCharString(strsrch->getText()); TestGetSetOffset() local 1448 char *str = toCharString(strsrch->getText()); TestGetMatch() local 2151 char *str = toCharString(strsrch->getText()); TestGetSetOffsetCanonical() local 2174 char *str = toCharString(strsrch->getText()); TestGetSetOffsetCanonical() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | traps.c | 100 do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, in do_trap_no_signal() argument 119 die(str, regs, error_code); in do_trap_no_signal() 152 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument 157 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap() 160 show_signal(tsk, signr, "trap ", str, regs, error_code); in do_trap() 169 static void do_error_trap(struct pt_regs *regs, long error_code, char *str, in do_error_trap() argument 174 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != in do_error_trap() 177 do_trap(trapnr, signr, str, regs, error_code, sicode, addr); in do_error_trap() 291 char *str = "alignment check"; in DEFINE_IDTENTRY_ERRORCODE() local 293 if (notify_die(DIE_TRAP, str, reg in DEFINE_IDTENTRY_ERRORCODE() 347 static const char str[] = "double fault"; DEFINE_IDTENTRY_DF() local 1053 char *str = (trapnr == X86_TRAP_MF) ? "fpu exception" : math_error() local [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | mconsole_kern.c | 289 static int mem_config(char *str, char **error_out) in mem_config() argument 295 if (str[0] != '=') { in mem_config() 300 str++; in mem_config() 301 if (str[0] == '-') in mem_config() 303 else if (str[0] == '+') { in mem_config() 311 str++; in mem_config() 312 diff = memparse(str, &ret); in mem_config() 382 static int mem_get_config(char *name, char *str, int size, char **error_out) in mem_get_config() argument 388 CONFIG_CHUNK(str, size, len, buf, 1); in mem_get_config() 393 static int mem_id(char **str, in argument 818 mconsole_setup(char *str) mconsole_setup() argument [all...] |
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | mconsole_kern.c | 290 static int mem_config(char *str, char **error_out) in mem_config() argument 296 if (str[0] != '=') { in mem_config() 301 str++; in mem_config() 302 if (str[0] == '-') in mem_config() 304 else if (str[0] == '+') { in mem_config() 312 str++; in mem_config() 313 diff = memparse(str, &ret); in mem_config() 383 static int mem_get_config(char *name, char *str, int size, char **error_out) in mem_get_config() argument 389 CONFIG_CHUNK(str, size, len, buf, 1); in mem_get_config() 394 static int mem_id(char **str, in argument 819 mconsole_setup(char *str) mconsole_setup() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | ipc.c | 53 u8 *str; in ipc_log_header() local 64 str = "GLB_REPLY"; break; in ipc_log_header() 66 str = "GLB_COMPOUND"; break; in ipc_log_header() 68 str = "GLB_TPLG_MSG"; in ipc_log_header() 93 str = "GLB_PM_MSG"; in ipc_log_header() 114 str = "GLB_COMP_MSG"; in ipc_log_header() 129 str = "GLB_STREAM_MSG"; in ipc_log_header() 161 str = "FW_READY"; break; in ipc_log_header() 163 str = "GLB_DAI_MSG"; in ipc_log_header() 174 str in ipc_log_header() [all...] |
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | catalog.c | 44 hfsplus_btree_key *key, u32 parent, const struct qstr *str) in hfsplus_cat_build_key() 50 str->name, str->len); in hfsplus_cat_build_key() 178 u32 parentid, const struct qstr *str) in hfsplus_fill_cat_thread() 186 str->name, str->len); in hfsplus_fill_cat_thread() 254 const struct qstr *str, struct inode *inode) in hfsplus_create_cat() 263 str->name, cnid, inode->i_nlink); in hfsplus_create_cat() 280 dir->i_ino, str); in hfsplus_create_cat() 296 err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfsplus_create_cat() 43 hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *key, u32 parent, const struct qstr *str) hfsplus_cat_build_key() argument 176 hfsplus_fill_cat_thread(struct super_block *sb, hfsplus_cat_entry *entry, int type, u32 parentid, const struct qstr *str) hfsplus_fill_cat_thread() argument 253 hfsplus_create_cat(u32 cnid, struct inode *dir, const struct qstr *str, struct inode *inode) hfsplus_create_cat() argument 330 hfsplus_delete_cat(u32 cnid, struct inode *dir, const struct qstr *str) hfsplus_delete_cat() argument [all...] |
/kernel/linux/linux-5.10/kernel/power/ |
H A D | hibernate.c | 1271 static int __init resume_setup(char *str) in resume_setup() argument 1276 strncpy(resume_file, str, 255); in resume_setup() 1280 static int __init resume_offset_setup(char *str) in resume_offset_setup() argument 1287 if (sscanf(str, "%llu", &offset) == 1) in resume_offset_setup() 1293 static int __init hibernate_setup(char *str) in hibernate_setup() argument 1295 if (!strncmp(str, "noresume", 8)) { in hibernate_setup() 1297 } else if (!strncmp(str, "nocompress", 10)) { in hibernate_setup() 1299 } else if (!strncmp(str, "no", 2)) { in hibernate_setup() 1303 && !strncmp(str, "protect_image", 13)) { in hibernate_setup() 1309 static int __init noresume_setup(char *str) in noresume_setup() argument 1315 resumewait_setup(char *str) resumewait_setup() argument 1321 resumedelay_setup(char *str) resumedelay_setup() argument 1330 nohibernate_setup(char *str) nohibernate_setup() argument [all...] |