/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-lp3952.c | 98 const char *str; in lp3952_get_label() local 100 ret = device_property_read_string(dev, label, &str); in lp3952_get_label() 104 strncpy(dest, str, LP3952_LABEL_MAX_LEN); in lp3952_get_label()
|
/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | gscps2.c | 98 u8 str; member 236 while ( (ps2port->buffer[ps2port->append].str = in gscps2_interrupt() 261 status = ps2port->buffer[ps2port->act].str; in gscps2_interrupt()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | cpumap.c | 133 static int cpu_map_print(const char *str) in cpu_map_print() argument 135 struct perf_cpu_map *map = perf_cpu_map__new(str); in cpu_map_print() 144 return !strcmp(buf, str); in cpu_map_print()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A D | test_util.c | 387 char *str; in strdup_printf() local 390 TEST_ASSERT(vasprintf(&str, fmt, ap) >= 0, "vasprintf() failed"); in strdup_printf() 393 return str; in strdup_printf()
|
/kernel/linux/linux-6.6/scripts/gcc-plugins/ |
H A D | stackleak_plugin.c | 447 #define STRING_EQUAL(node, str) string_equal(node, str, strlen(str))
|
/kernel/linux/linux-6.6/tools/spi/ |
H A D | spidev_test.c | 333 static void transfer_escaped_string(int fd, char *str) in transfer_escaped_string() argument 335 size_t size = strlen(str); in transfer_escaped_string() 347 size = unescape((char *)tx, str, size); in transfer_escaped_string()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | expr.y | 24 char *str; 52 %type <str> ID 53 %destructor { free ($$); } <str>
|
/kernel/linux/linux-6.6/tools/testing/vsock/ |
H A D | util.c | 35 unsigned int parse_cid(const char *str) in parse_cid() argument 41 n = strtoul(str, &endptr, 10); in parse_cid() 43 fprintf(stderr, "malformed CID \"%s\"\n", str); in parse_cid()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | rseq.c | 203 static bool rseq_warn_flags(const char *str, u32 flags) in rseq_warn_flags() argument 211 pr_warn_once("Deprecated flags (%u) in %s ABI structure", test_flags, str); in rseq_warn_flags() 214 pr_warn_once("Unknown flags (%u) in %s ABI structure", test_flags, str); in rseq_warn_flags()
|
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | attributes.c | 149 char *str = attr; in attr_string_filter() local 160 return (strcmp(input + 2, str) != 0); in attr_string_filter() 162 return (strcmp(input + 1, str) == 0); in attr_string_filter()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_stack.c | 542 static __init int enable_stacktrace(char *str) in enable_stacktrace() argument 546 if ((len = str_has_prefix(str, "_filter="))) in enable_stacktrace() 547 strncpy(stack_trace_filter_buf, str + len, COMMAND_LINE_SIZE); in enable_stacktrace()
|
/kernel/linux/linux-6.6/net/ieee802154/ |
H A D | core.c | 26 struct wpan_phy *wpan_phy_find(const char *str) in wpan_phy_find() argument 30 if (WARN_ON(!str)) in wpan_phy_find() 33 dev = class_find_device_by_name(&wpan_phy_class, str); in wpan_phy_find()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | main.c | 215 bool is_prefix(const char *pfx, const char *str) in is_prefix() argument 219 if (strlen(str) < strlen(pfx)) in is_prefix() 222 return !memcmp(str, pfx, strlen(pfx)); in is_prefix()
|
/test/testfwk/xdevice/plugins/devicetest/driver/ |
H A D | windows.py | 120 if str(request.root.source.source_file).endswith(PYD_SUFFIX) or \ 121 str(request.root.source.source_file).endswith(PY_SUFFIX): 131 testcase_list = str(testcase).split(";")
|
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | impl.py | 121 task_id = str(uuid.uuid1()).split("-")[0] 148 err_msg = "%s[%s]" % (str(exception), error_no) if error_no else str(exception)
|
/test/testfwk/arkxtest/jsunit/src/module/config/ |
H A D | configService.js | 49 isNormalInteger(str) { 50 const n = Math.floor(Number(str)); 51 return n !== Infinity && String(n) === String(str) && n >= 0;
|
/third_party/ffmpeg/libavcodec/ |
H A D | libaribb24.c | 275 buf.str); in libaribb24_handle_regions() 277 ret = ff_ass_add_rect(sub, buf.str, b24->read_order++, in libaribb24_handle_regions() 371 OFFSET(aribb24_base_path), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, SD },
|
H A D | ttmlenc.c | 62 av_bprint_escape(buffer, cur_line.str, NULL, AV_ESCAPE_MODE_XML, in ttml_text_cb() 139 if (av_strlcpy(buf, s->buffer.str, bufsize) > bufsize - 1) { in ttml_encode_frame() 360 s->buffer.str, additional_extradata_size); in ttml_write_header_content()
|
/third_party/ffmpeg/libavfilter/ |
H A D | f_segment.c | 267 { "timestamps", "timestamps of input at which to split input", OFFSET(timestamps_str), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS }, \ 279 { "frames", "frames at which to split input", OFFSET(points_str), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS }, 318 { "samples", "samples at which to split input", OFFSET(points_str), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS },
|
/third_party/ffmpeg/libavdevice/ |
H A D | libdc1394.c | 82 { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), AV_OPT_TYPE_STRING, {.str = "qvga"}, 0, 0, DEC }, 83 { "pixel_format", "", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = "uyvy422"}, 0, 0, DEC }, 84 { "framerate", "", OFFSET(framerate), AV_OPT_TYPE_STRING, {.str = "ntsc"}, 0, 0, DEC },
|
/third_party/ffmpeg/libavformat/ |
H A D | img2enc.c | 65 const char *str = strrchr(s->url, '.'); in write_header() local 66 img->split_planes = str in write_header() 67 && !av_strcasecmp(str + 1, "y") in write_header()
|
H A D | rtpdec_mpeg4.c | 70 const char *str; member 304 for (i = 0; attr_names[i].str; ++i) { in parse_fmtp() 305 if (!av_strcasecmp(attr, attr_names[i].str)) { in parse_fmtp()
|
/third_party/curl/lib/ |
H A D | http_proxy.c | 135 data->set.str[STRING_USERAGENT] && *data->set.str[STRING_USERAGENT]) { in Curl_http_proxy_create_CONNECT() 137 data->set.str[STRING_USERAGENT]); in Curl_http_proxy_create_CONNECT()
|
/third_party/benchmark/src/ |
H A D | json_reporter.cc | 85 return ss.str(); in FormatKV() 103 return ss.str(); in FormatKV() 229 out << indent << FormatKV("run_name", run.run_name.str()) << ",\n";
|
/third_party/googletest/googletest/test/ |
H A D | gtest-unittest-api_test.cc | 132 AssertionResult IsNull(const char* str) { in IsNull() argument 133 if (str != nullptr) { in IsNull() 134 return testing::AssertionFailure() << "argument is " << str; in IsNull()
|