Home
last modified time | relevance | path

Searched refs:str (Results 2751 - 2775 of 14722) sorted by relevance

1...<<111112113114115116117118119120>>...589

/kernel/linux/linux-6.6/include/xen/
H A Dxenbus.h199 #define XENBUS_IS_ERR_READ(str) ({ \
200 if (!IS_ERR(str) && strlen(str) == 0) { \
201 kfree(str); \
202 str = ERR_PTR(-ERANGE); \
204 IS_ERR(str); \
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Drestrict.c24 static int __init ca_keys_setup(char *str) in ca_keys_setup() argument
26 if (!str) /* default system keyring */ in ca_keys_setup()
29 if (strncmp(str, "id:", 3) == 0) { in ca_keys_setup()
31 size_t hexlen = (strlen(str) - 3) / 2; in ca_keys_setup()
39 ret = __asymmetric_key_hex_to_key_id(str + 3, p, hexlen); in ca_keys_setup()
44 } else if (strcmp(str, "builtin") == 0) { in ca_keys_setup()
/kernel/linux/linux-6.6/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_magn.c266 char *str; in inv_mpu_magn_set_orient() local
295 str = devm_kstrdup(dev, orient + 1, GFP_KERNEL); in inv_mpu_magn_set_orient()
297 str = devm_kstrdup(dev, orient, GFP_KERNEL); in inv_mpu_magn_set_orient()
299 str = devm_kasprintf(dev, GFP_KERNEL, "-%s", orient); in inv_mpu_magn_set_orient()
300 if (!str) in inv_mpu_magn_set_orient()
303 st->magn_orient.rotation[i] = str; in inv_mpu_magn_set_orient()
/kernel/linux/linux-6.6/tools/perf/util/
H A Drecord.c221 bool evlist__can_select_event(struct evlist *evlist, const char *str) in evlist__can_select_event() argument
234 err = parse_event(temp_evlist, str); in evlist__can_select_event()
271 int record__parse_freq(const struct option *opt, const char *str, int unset __maybe_unused) in record__parse_freq() argument
276 if (!str) in record__parse_freq()
279 if (strcasecmp(str, "max") == 0) { in record__parse_freq()
286 freq = atoi(str); in record__parse_freq()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtrace.c120 int trace_log_string(struct trace_buffer *tb, char *str) in trace_log_string() argument
126 len = strlen(str); in trace_log_string()
135 memcpy(p, str, len); in trace_log_string()
226 char *str; in trace_print_string() local
228 str = (char *)e->data; in trace_print_string()
229 puts(str); in trace_print_string()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_printk.c254 bool trace_is_tracepoint_string(const char *str) in trace_is_tracepoint_string() argument
259 if (str == *ptr) in trace_is_tracepoint_string()
314 const char *str = *fmt; in t_show() local
325 for (i = 0; str[i]; i++) { in t_show()
326 switch (str[i]) { in t_show()
340 seq_putc(m, str[i]); in t_show()
/third_party/elfio/elfio/
H A Delfio_utils.hpp243 std::string str; in to_hex_string() local
248 str = char( '0' + digit ) + str; in to_hex_string()
251 str = char( 'A' + digit - 0xA ) + str; in to_hex_string()
256 return "0x" + str; in to_hex_string()
/third_party/ffmpeg/libavformat/
H A Dapetag.c170 static int string_is_ascii(const uint8_t *str) in string_is_ascii() argument
172 while (*str && *str >= 0x20 && *str <= 0x7e ) str++; in string_is_ascii()
173 return !*str; in string_is_ascii()
H A Dffmetadec.c75 } while (!avio_feof(s) && (bp->str[0] == ';' || bp->str[0] == '#' || bp->str[0] == 0)); in get_bprint_line()
184 if (!memcmp(bp.str, ID_STREAM, strlen(ID_STREAM))) { in read_header()
194 } else if (!memcmp(bp.str, ID_CHAPTER, strlen(ID_CHAPTER))) { in read_header()
202 read_tag(bp.str, m); in read_header()
/third_party/curl/src/
H A Dtool_cb_hdr.c75 const char *str = ptr; in tool_header_cb() local
113 if(curl_strnequal(str, "etag:", 5)) { in tool_header_cb()
114 const char *etag_h = &str[5]; in tool_header_cb()
143 (cb > 20) && checkprefix("Content-disposition:", str) && in tool_header_cb()
145 const char *p = str + 20; in tool_header_cb()
172 len = (ssize_t)cb - (p - str); in tool_header_cb()
/third_party/PyYAML/lib/yaml/
H A Dresolver.py14 DEFAULT_SCALAR_TAG = 'tag:yaml.org,2002:str'
66 if node_check is str:
73 and not isinstance(node_check, str) \
76 if not isinstance(index_check, (str, int)) \
80 if kind is str:
123 if isinstance(node_check, str):
134 if isinstance(index_check, str):
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dpsa_storage.py25 def __init__(self, content: Union[int, str]):
35 value_cache = {} #type: Dict[str, int]
38 unknown_values = set() #type: Set[str]
53 include_path=includes) #type: List[str]
59 def normalize(string: str) -> str:
79 Exprable = Union[str, int, Expr]
125 fmt: str,
163 def hex(self) -> str:
/third_party/json/tests/src/
H A Dunit-serialization.cpp26 CHECK(ss.str() == "[\"foo\",1,2,3,false,{\"one\":1}]");
34 CHECK(ss.str() ==
43 CHECK(ss.str() ==
55 CHECK(ss.str() == "[\"foo\",1,2,3,false,{\"one\":1}]");
64 CHECK(ss.str() ==
75 CHECK(ss.str() ==
/third_party/mesa3d/src/freedreno/computerator/examples/
H A Dtest-opcodes.sh242 str=`cat - | grep " " | head -1 | xargs`
245 echo $str
249 cf=$(echo $str | cut -f1 -d' ')
250 tf=$(echo $str | cut -f2 -d' ')
251 ch=$(echo $str | cut -f3 -d' ')
252 th=$(echo $str | cut -f4 -d' ')
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
H A Dcpuset_cpu_hog.c61 int report_result(char str[]) in report_result() argument
71 if (write(fd, str, strlen(str)) == -1) { in report_result()
208 char str[50]; in cpu_hog() local
209 bitmask_displaylist(str, 50, cpumask); in cpu_hog()
211 " by cpuset(cpus: %s)\n", getpid(), cpu, str); in cpu_hog()
/third_party/node/deps/openssl/openssl/crypto/perlasm/
H A Dx86asm.pl249 { my @str=unpack("C*",shift);
250 push @str,0;
251 while ($#str>15) {
252 &data_byte(@str[0..15]);
253 foreach (0..15) { shift @str; }
255 &data_byte(@str) if (@str);
/third_party/openssl/crypto/perlasm/
H A Dx86asm.pl249 { my @str=unpack("C*",shift);
250 push @str,0;
251 while ($#str>15) {
252 &data_byte(@str[0..15]);
253 foreach (0..15) { shift @str; }
255 &data_byte(@str) if (@str);
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/
H A Dshared.py80 return '{}:{}'.format(str(my_fn), context.lineNum)
102 return str(self.name).lower()
107 return colored(str(self) + ':', 'magenta', attrs=['bold'])
109 return colored(str(self) + ':', 'red', attrs=['bold'])
110 return str(self) + ':'
228 if isinstance(message, str):
/third_party/skia/src/gpu/glsl/
H A DGrGLSLShaderBuilder.h94 void definitionAppend(const char* str) { this->definitions().append(str); } in definitionAppend() argument
115 void codeAppend(const char* str) { this->code().append(str); } in codeAppend() argument
117 void codeAppend(const char* str, size_t length) { this->code().append(str, length); } in codeAppend() argument
/third_party/skia/third_party/externals/icu/source/io/
H A Dsprintf.cpp40 const UChar *str, in u_sprintf_write()
46 u_strncpy(output->str + (output->len - output->available), str, size); in u_sprintf_write()
80 u_memset(&output->str[outputPos + resultLen], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify()
85 u_memset(&output->str[outputPos], info->fPadChar, paddingLeft); in u_sprintf_pad_and_justify()
234 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/skia/third_party/externals/oboe/tests/
H A DtestStreamWaitState.cpp73 AudioStream *str = mStream; in checkStopWhileWaiting() local
74 std::thread stopper([str] { in checkStopWhileWaiting()
76 str->requestStop(); in checkStopWhileWaiting()
98 AudioStream *str = mStream; in checkCloseWhileWaiting() local
99 std::thread closer([str] { in checkCloseWhileWaiting()
101 str->close(); in checkCloseWhileWaiting()
/third_party/skia/third_party/externals/angle2/util/
H A Dtest_utils_unittest.cpp33 std::string NormalizeNewLines(const std::string &str) in NormalizeNewLines() argument
37 for (size_t i = 0; i < str.size(); ++i) in NormalizeNewLines()
39 if (str[i] == '\r') in NormalizeNewLines()
41 if (i + 1 < str.size() && str[i + 1] == '\n') in NormalizeNewLines()
49 result += str[i]; in NormalizeNewLines()
/third_party/skia/third_party/externals/tint/src/diagnostic/
H A Dformatter.cc52 return ss.str(); in to_str()
76 auto str = stream.str(); in flush() local
77 if (str.length() > 0) { in flush()
78 printer->write(str, style); in flush()
253 return printer.str(); in format()
/third_party/toybox/toys/pending/
H A Dmdev.c148 char *str = strndup(pos, s-pos); in make_device() local
149 pass = getpwnam(str); in make_device()
150 free(str); in make_device()
159 char *str = strndup(s, end2-s); in make_device() local
160 grp = getgrnam(str); in make_device()
161 free(str); in make_device()
/third_party/python/Lib/test/
H A Dtest_ucn.py149 self.assertEqual(str(cm.exception), 'no such name')
156 self.assertEqual(str(cm.exception), 'no such name')
209 str, b"\\N{blah}", 'unicode-escape', 'strict'
214 str, bytes("\\N{%s}" % ("x" * 100000), "ascii"), 'unicode-escape', 'strict'
219 str, b"\\N{SPACE", 'unicode-escape', 'strict'
224 str, b"\\NSPACE", 'unicode-escape', 'strict'

Completed in 15 milliseconds

1...<<111112113114115116117118119120>>...589