/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/ |
H A D | softbus_session_dispatcher.cpp | 38 LOGE("%{public}s", ss.str().c_str()); in RegisterSessionListener() 39 throw runtime_error(ss.str()); in RegisterSessionListener() 46 LOGE("%{public}s", ss.str().c_str()); in RegisterSessionListener() 47 throw runtime_error(ss.str()); in RegisterSessionListener() 62 LOGE("%{public}s", ss.str().c_str()); in UnregisterSessionListener() 63 throw runtime_error(ss.str()); in UnregisterSessionListener()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | traps.c | 28 void die(const char *str, struct pt_regs *regs, unsigned long address) in die() argument 30 show_kernel_fault_diag(str, regs, address); in die() 42 unhandled_exception(const char *str, struct pt_regs *regs, in unhandled_exception() argument 57 die(str, regs, (unsigned long)addr); in unhandled_exception() 63 #define DO_ERROR_INFO(signr, str, name, sicode) \ 66 return unhandled_exception(str, regs, signr, sicode, \
|
/kernel/linux/linux-5.10/arch/m68k/emu/ |
H A D | nfcon.c | 26 static void nfputs(const char *str, unsigned int count) in nfputs() argument 33 memcpy(buf, str, 64); in nfputs() 35 str += 64; in nfputs() 38 memcpy(buf, str, count); in nfputs() 43 static void nfcon_write(struct console *con, const char *str, in nfcon_write() argument 46 nfputs(str, count); in nfcon_write()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | fsl_85xx_l2ctlr.c | 38 static int __init get_size_from_cmdline(char *str) in get_size_from_cmdline() argument 40 if (!str) in get_size_from_cmdline() 43 sram_size = str; in get_size_from_cmdline() 47 static int __init get_offset_from_cmdline(char *str) in get_offset_from_cmdline() argument 49 if (!str) in get_offset_from_cmdline() 52 sram_offset = str; in get_offset_from_cmdline()
|
/kernel/linux/linux-6.6/arch/m68k/emu/ |
H A D | nfcon.c | 26 static void nfputs(const char *str, unsigned int count) in nfputs() argument 33 memcpy(buf, str, 64); in nfputs() 35 str += 64; in nfputs() 38 memcpy(buf, str, count); in nfputs() 43 static void nfcon_write(struct console *con, const char *str, in nfcon_write() argument 46 nfputs(str, count); in nfcon_write()
|
/kernel/linux/linux-6.6/arch/arc/kernel/ |
H A D | traps.c | 24 void die(const char *str, struct pt_regs *regs, unsigned long address) in die() argument 26 show_kernel_fault_diag(str, regs, address); in die() 38 unhandled_exception(const char *str, struct pt_regs *regs, in unhandled_exception() argument 53 die(str, regs, (unsigned long)addr); in unhandled_exception() 59 #define DO_ERROR_INFO(signr, str, name, sicode) \ 62 return unhandled_exception(str, regs, signr, sicode, \
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/ |
H A D | check_ksm_options.c | 26 static unsigned long read_sysfs(char *str) in read_sysfs() argument 31 f = fopen(str, "r"); in read_sysfs() 33 ksft_print_msg("ERR: missing %s\n", str); in read_sysfs() 41 static void write_sysfs(char *str, unsigned long val) in write_sysfs() argument 45 f = fopen(str, "w"); in write_sysfs() 47 ksft_print_msg("ERR: missing %s\n", str); in write_sysfs()
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
H A D | delta-mjpeg-hdr.c | 16 char *str, in header_str() 19 char *cur = str; in header_str() 37 return str; in header_str() 89 unsigned char str[200]; in delta_mjpeg_read_header() local 138 header_str(header, str, sizeof(str))); in delta_mjpeg_read_header() 15 header_str(struct mjpeg_header *header, char *str, unsigned int len) header_str() argument
|
/kernel/linux/linux-5.10/net/ceph/ |
H A D | string_table.c | 11 struct ceph_string *ceph_find_or_create_string(const char* str, size_t len) in ceph_find_or_create_string() argument 22 ret = ceph_compare_string(exist, str, len); in ceph_find_or_create_string() 46 memcpy(cs->str, str, len); in ceph_find_or_create_string() 47 cs->str[len] = 0; in ceph_find_or_create_string() 57 ret = ceph_compare_string(exist, str, len); in ceph_find_or_create_string()
|
/kernel/linux/linux-6.6/drivers/vdpa/solidrun/ |
H A D | snet_hwmon.c | 129 int channel, const char **str) in snet_hwmon_read_string() 135 *str = "main_vin"; in snet_hwmon_read_string() 138 *str = "soc_pin"; in snet_hwmon_read_string() 141 *str = "soc_iin"; in snet_hwmon_read_string() 145 *str = "power_stage_temp"; in snet_hwmon_read_string() 147 *str = "ic_junction_temp"; in snet_hwmon_read_string() 127 snet_hwmon_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, const char **str) snet_hwmon_read_string() argument
|
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/ |
H A D | delta-mjpeg-hdr.c | 16 char *str, in header_str() 19 char *cur = str; in header_str() 37 return str; in header_str() 89 unsigned char str[200]; in delta_mjpeg_read_header() local 138 header_str(header, str, sizeof(str))); in delta_mjpeg_read_header() 15 header_str(struct mjpeg_header *header, char *str, unsigned int len) header_str() argument
|
/kernel/linux/linux-6.6/net/ceph/ |
H A D | string_table.c | 11 struct ceph_string *ceph_find_or_create_string(const char* str, size_t len) in ceph_find_or_create_string() argument 22 ret = ceph_compare_string(exist, str, len); in ceph_find_or_create_string() 46 memcpy(cs->str, str, len); in ceph_find_or_create_string() 47 cs->str[len] = 0; in ceph_find_or_create_string() 57 ret = ceph_compare_string(exist, str, len); in ceph_find_or_create_string()
|
/kernel/liteos_a/apps/perf/src/ |
H A D | option.c | 40 const char *str = NULL; in ParseOption() local 49 *opts->str = argv[++(*index)]; in ParseOption() 52 str = argv[++(*index)]; in ParseOption() 53 if ((*opts->cb)(str) != 0) { in ParseOption() 132 static inline const PerfEvent *StrToEvent(const char *str) in StrToEvent() argument 137 if (strcmp(str, evt->name) == 0) { in StrToEvent()
|
/third_party/curl/tests/ |
H A D | test1139.pl | 231 my $str = $1; 233 if($str =~ /^-(.), --([a-z0-9.-]*)/) { 237 elsif($str =~ /^--([a-z0-9.-]*)/) { 259 my $str=$1; 261 if($str =~ /^-(.), --([a-z0-9.-]*)/) { 265 elsif($str =~ /^--([a-z0-9.-]*)/) {
|
/third_party/benchmark/src/ |
H A D | commandlineflags.h | 89 bool ParseBoolFlag(const char* str, const char* flag, bool* value); 96 bool ParseInt32Flag(const char* str, const char* flag, int32_t* value); 103 bool ParseDoubleFlag(const char* str, const char* flag, double* value); 110 bool ParseStringFlag(const char* str, const char* flag, std::string* value); 117 bool ParseKeyValueFlag(const char* str, const char* flag, 122 bool IsFlag(const char* str, const char* flag);
|
/third_party/gn/src/gn/ |
H A D | string_atom.h | 66 StringAtom(std::string_view str) noexcept; 90 const std::string& str() const { return value_; } in str() function in StringAtom 165 return a.str() < b.str(); 169 return a.str() < b; 173 return a < b.str();
|
H A D | visual_studio_utils.cc | 22 std::string str = base::ToUpperASCII(base::MD5String(seed + entry_path)); in MakeGuid() local 23 return '{' + str.substr(0, 8) + '-' + str.substr(8, 4) + '-' + in MakeGuid() 24 str.substr(12, 4) + '-' + str.substr(16, 4) + '-' + in MakeGuid() 25 str.substr(20, 12) + '}'; in MakeGuid()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | unumberrangeformattertst.c | 68 const UChar* str = ufmtval_getString(unumrf_resultAsValue(uresult, &ec), &len, &ec); in TestExampleCode() local 70 assertUEquals("Should produce expected string result", u"$3 – $5", str); in TestExampleCode() 71 int32_t resultLength = str != NULL ? u_strlen(str) : 0; in TestExampleCode() 178 const UChar* str = ufmtval_getString(unumrf_resultAsValue(uresult, &ec), NULL, &ec); in TestGetDecimalNumbers() local 180 assertUEquals("Should produce expected string result", u"$3.00 \u2013 $5.00", str); in TestGetDecimalNumbers()
|
/third_party/icu/icu4c/source/samples/numfmt/ |
H A D | main.cpp | 60 UnicodeString str("9876543210.123"); in cppapi() 62 fmt->parse(str, result, status); in cppapi() 66 uprintf(str); in cppapi() 73 str.remove(); // format() will APPEND to this string in cppapi() 74 fmt->format(result, str, status); in cppapi() 80 uprintf(str); in cppapi()
|
/third_party/icu/tools/unicode/c/genregexcasing/ |
H A D | genregexcasing.cpp | 49 const UnicodeString &str = setIter.getString(); in main() local 52 cout << " \"" << sstring(str) << "\" ["; in main() 53 for (int32_t j=0; j<str.length(); j=str.moveIndex32(j, 1)) { in main() 54 cout << hex << "\\u" << str.char32At(j) << " "; in main() 57 UChar32 c32 = str.char32At(0); in main()
|
/third_party/libuv/src/unix/ |
H A D | proctitle.c | 28 char* str; member 56 pt.str = argv[0]; in uv_setup_args() 116 memcpy(pt->str, title, len); in uv_set_process_title() 117 memset(pt->str + len, '\0', pt->cap - len); in uv_set_process_title() 119 uv__set_process_title(pt->str); in uv_set_process_title() 144 memcpy(buffer, process_title.str, process_title.len + 1); in uv_get_process_title()
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | bignum_mod.py | 44 def arguments(self) -> List[str]: 50 def result(self) -> List[str]: 66 def result(self) -> List[str]: 83 def result(self) -> List[str]: 101 def result(self) -> List[str]: 123 def result(self) -> List[str]:
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | arrow-function.js | 16 function must_throw (str) 20 eval ("switch (1) { default: " + str + "}"); 29 eval (str); 37 function must_throw_strict (str) 41 eval ("'use strict'; switch (1) { default: " + str + "}"); 50 eval ("'use strict'; " + str);
|
/third_party/node/benchmark/buffers/ |
H A D | buffer-from.js | 83 const str = 'a'.repeat(len); 86 Buffer.from(str); 92 const str = 'a'.repeat(len); 95 Buffer.from(str, 'utf8'); 101 const str = 'a'.repeat(len); 104 Buffer.from(str, 'base64');
|
/third_party/mesa3d/src/vulkan/registry/ |
H A D | update-aliases.py | 40 def remove_prefix(string: str, prefix: str): 64 def prepare_identifier(identifier: str) -> str: 101 def file_matches_path(file: str, path: str) -> bool:
|