/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | getxattr.c | 38 char str[] = "dat"; in getxattr_0100() local 39 write(fd, str, sizeof(str)); in getxattr_0100() 52 EXPECT_STREQ("getxattr_0100", buf, str); in getxattr_0100()
|
H A D | lremovexattr.c | 38 char str[] = "dat"; in lremovexattr_0100() local 39 write(fd, str, sizeof(str)); in lremovexattr_0100() 52 EXPECT_STREQ("lgetxattr_0100", buf, str); in lremovexattr_0100()
|
H A D | lsetxattr.c | 38 char str[] = "dat"; in lsetxattr_0100() local 39 write(fd, str, sizeof(str)); in lsetxattr_0100() 52 EXPECT_STREQ("lgetxattr_0100", buf, str); in lsetxattr_0100()
|
/third_party/mesa3d/src/util/ |
H A D | u_printf.c | 45 size_t util_printf_next_spec_pos(const char *str, size_t pos) in util_printf_next_spec_pos() argument 47 if (str == NULL) in util_printf_next_spec_pos() 50 const char *str_found = str + pos; in util_printf_next_spec_pos() 68 return spec_pos - str; in util_printf_next_spec_pos()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | fdatasync.c | 31 char str[] = "hello"; in fdatasync_0100() local 36 write(fd, str, sizeof(str)); in fdatasync_0100() 55 char str[] = "hello\n"; in fdatasync_0200() local
|
/third_party/libabigail/include/ |
H A D | abg-regex.h | 49 escape(const std::string& str) : ref(str) { } in escape() 60 compile(const std::string& str); 63 match(const regex_t_sptr& r, const std::string& str);
|
/third_party/rust/crates/env_logger/tests/ |
H A D | regexp_filter.rs | 7 use std::str; 29 str::from_utf8(out.stderr.as_ref()) in run_child() 34 fn assert_message_printed(rust_log: &str) { in assert_message_printed() 40 fn assert_message_not_printed(rust_log: &str) { in assert_message_not_printed()
|
/third_party/vk-gl-cts/executor/ |
H A D | xeTestCaseResult.cpp | 71 std::ostream& operator<< (std::ostream& str, const NumericValue& value) in operator <<() argument 76 return str << std::setprecision(std::numeric_limits<double>::digits10 + 2) << value.getFloat64(); in operator <<() 79 return str << value.getInt64(); in operator <<() 83 return str; in operator <<()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-string-array.hh | 48 #define _S(s) char HB_PASTE (str, __LINE__)[sizeof (s)]; 52 char str[HB_VAR_ARRAY]; member 64 #define _S(s) offsetof (union HB_STRING_ARRAY_TYPE_NAME, st.HB_PASTE(str, __LINE__)), 76 return hb_bytes_t (HB_STRING_ARRAY_POOL_NAME.str + HB_STRING_ARRAY_OFFS_NAME[i], in HB_STRING_ARRAY_NAME()
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | member_accessor_expression.cc | 27 const Expression* str, in MemberAccessorExpression() 29 : Base(pid, src), structure(str), member(mem) { in MemberAccessorExpression() 45 auto* str = ctx->Clone(structure); in Clone() local 47 return ctx->dst->create<MemberAccessorExpression>(src, str, mem); in Clone() 24 MemberAccessorExpression( ProgramID pid, const Source& src, const Expression* str, const IdentifierExpression* mem) MemberAccessorExpression() argument
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_context.py | 30 self.assertEqual(str(r1[0]), '0.333') 31 self.assertEqual(str(r1[1]), '0.111') 33 self.assertEqual(str(r2[0]), '0.333333') 34 self.assertEqual(str(r2[1]), '0.111111')
|
/third_party/rust/crates/nom/examples/ |
H A D | custom_error.rs | 24 pub fn parse(_input: &str) -> IResult<&str, &str, CustomError<&str>> { in parse()
|
/third_party/rust/crates/serde/serde/src/ |
H A D | macros.rs | 39 /// # i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 69 /// bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 100 /// bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string 183 (str<$l:tt, $v:ident>) => { 202 forward_to_deserialize_any_method!{deserialize_unit_struct<$l, $v>(name: &'static str)} 205 forward_to_deserialize_any_method!{deserialize_newtype_struct<$l, $v>(name: &'static str)} 214 forward_to_deserialize_any_method!{deserialize_tuple_struct<$l, $v>(name: &'static str, len: usize)} 220 forward_to_deserialize_any_method!{deserialize_struct<$l, $v>(name: &'static str, fields: &'static [&'static str])} 223 forward_to_deserialize_any_method!{deserialize_enum<$l, $v>(name: &'static str, variant [all...] |
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_magn.c | 265 char *str; in inv_mpu_magn_set_orient() local 285 str = devm_kzalloc(regmap_get_device(st->map), in inv_mpu_magn_set_orient() 287 if (str == NULL) in inv_mpu_magn_set_orient() 290 strcpy(str, orient); in inv_mpu_magn_set_orient() 292 strcpy(str, &orient[1]); in inv_mpu_magn_set_orient() 294 str[0] = '-'; in inv_mpu_magn_set_orient() 295 strcpy(&str[1], orient); in inv_mpu_magn_set_orient() 297 st->magn_orient.rotation[6 + i] = str; in inv_mpu_magn_set_orient()
|
/kernel/linux/linux-5.10/mm/ |
H A D | debug.c | 285 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument 293 if (*str++ != '=' || !*str) in setup_vm_debug() 297 if (*str == '-') in setup_vm_debug() 300 while (*str) { in setup_vm_debug() 301 switch (tolower(*str)) { in setup_vm_debug() 307 *str); in setup_vm_debug() 310 str++; in setup_vm_debug()
|
/kernel/linux/linux-5.10/kernel/power/ |
H A D | wakelock.c | 205 const char *str = buf; in pm_wake_lock() local 214 while (*str && !isspace(*str)) in pm_wake_lock() 215 str++; in pm_wake_lock() 217 len = str - buf; in pm_wake_lock() 221 if (*str && *str != '\n') { in pm_wake_lock() 223 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
|
/kernel/linux/linux-6.6/mm/ |
H A D | debug.c | 229 static int __init setup_vm_debug(char *str) in setup_vm_debug() argument 237 if (*str++ != '=' || !*str) in setup_vm_debug() 241 if (*str == '-') in setup_vm_debug() 244 while (*str) { in setup_vm_debug() 245 switch (tolower(*str)) { in setup_vm_debug() 251 *str); in setup_vm_debug() 254 str++; in setup_vm_debug()
|
/kernel/linux/linux-6.6/kernel/power/ |
H A D | wakelock.c | 205 const char *str = buf; in pm_wake_lock() local 214 while (*str && !isspace(*str)) in pm_wake_lock() 215 str++; in pm_wake_lock() 217 len = str - buf; in pm_wake_lock() 221 if (*str && *str != '\n') { in pm_wake_lock() 223 ret = kstrtou64(skip_spaces(str), 10, &timeout_ns); in pm_wake_lock()
|
/test/testfwk/xdevice/plugins/devicetest/core/ |
H A D | report.py | 65 testsuites.set("tests", str(tests_total)) 66 testsuites.set("failures", str(tests_error)) 128 testcase.set("result_content", literal_eval(str(result_content))) 133 testsuite.set("tests", str(1)) 134 testsuite.set("failures", str(case_error)) 181 testsuite.set("tests", str(1)) 194 test_suites[module_name]["test_suite"].set("tests", str(tests)) 195 test_suites[module_name]["test_suite"].set("failures", str(failures))
|
/test/xts/acts/powermgr/ndk/entry/src/main/cpp/ |
H A D | napi_init.cpp | 58 std::string str;
in GetPluggedType() local 61 str = "NONE";
in GetPluggedType() 64 str = "AC";
in GetPluggedType() 67 str = "USB";
in GetPluggedType() 70 str = "WIRELESS";
in GetPluggedType() 73 str = "BUTT";
in GetPluggedType() 76 str = "UNKNOWN";
in GetPluggedType() 80 napi_create_string_utf8(env, str.c_str(), NAPI_AUTO_LENGTH, &ret);
in GetPluggedType()
|
/third_party/elfio/elfio/ |
H A D | elfio_dynamic.hpp | 60 std::string str; in get_entries_num() local 62 get_entry( i, tag, value, str ); in get_entries_num() 76 std::string& str ) const in get_entry() 96 str.clear(); in get_entry() 99 str = result; in get_entry() 102 str.clear(); in get_entry() 120 void add_entry( Elf_Xword tag, const std::string& str ) in add_entry() 124 Elf_Xword value = strsec.add_string( str ); in add_entry()
|
/third_party/ffmpeg/libavformat/ |
H A D | lrcdec.c | 174 int64_t header_offset = find_header(line.str); in lrc_read_header() 176 char *comma_offset = strchr(line.str, ':'); in lrc_read_header() 178 char *right_bracket_offset = strchr(line.str, ']'); in lrc_read_header() 184 if(strcmp(line.str + 1, "offset") || in lrc_read_header() 186 av_dict_set(&s->metadata, line.str + 1, comma_offset + 1, 0); in lrc_read_header() 199 int64_t ts_strlength = count_ts(line.str); in lrc_read_header() 201 while((ts_stroffset_incr = read_ts(line.str + ts_stroffset, in lrc_read_header() 205 sub = ff_subtitles_queue_insert(&lrc->q, line.str + ts_strlength, in lrc_read_header()
|
/third_party/icu/icu4c/source/io/ |
H A D | sprintf.cpp | 40 const UChar *str, in u_sprintf_write() 46 if (output->str == 0) { in u_sprintf_write() 52 u_strncpy(output->str + (output->len - output->available), str, size); in u_sprintf_write() 68 if (output->str == 0 && in u_sprintf_pad_and_justify() 92 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify() 97 u_memset(&output->str[outputPos], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify() 246 outStr.str = buffer; in u_vsnprintf_u() 39 u_sprintf_write(void *context, const UChar *str, int32_t count) u_sprintf_write() argument
|
/third_party/icu/icu4c/source/i18n/ |
H A D | number_utils.cpp | 120 void DecNum::setTo(StringPiece str, UErrorCode& status) { in setTo() argument 122 CharString cstr(str, status); in setTo() 124 _setTo(cstr.data(), str.length(), status); in setTo() 127 void DecNum::setTo(const char* str, UErrorCode& status) { in setTo() argument 128 _setTo(str, static_cast<int32_t>(uprv_strlen(str)), status); in setTo() 163 void DecNum::_setTo(const char* str, int32_t maxDigits, UErrorCode& status) { in _setTo() argument 172 uprv_decNumberFromString(fData.getAlias(), str, &fContext); in _setTo()
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-printers.cc | 361 bool ContainsUnprintableControlCodes(const char* str, size_t length) { in ContainsUnprintableControlCodes() argument 362 const unsigned char *s = reinterpret_cast<const unsigned char *>(str); in ContainsUnprintableControlCodes() 382 bool IsValidUTF8(const char* str, size_t length) { in IsValidUTF8() argument 383 const unsigned char *s = reinterpret_cast<const unsigned char *>(str); in IsValidUTF8() 417 void ConditionalPrintAsText(const char* str, size_t length, ostream* os) { in ConditionalPrintAsText() argument 418 if (!ContainsUnprintableControlCodes(str, length) && in ConditionalPrintAsText() 419 IsValidUTF8(str, length)) { in ConditionalPrintAsText() 420 *os << "\n As Text: \"" << str << "\""; in ConditionalPrintAsText() local
|