/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderLibraryCase.cpp | 102 if (!extensionList.str().empty()) in checkAndSpecializeExtensions() 108 throw tcu::NotSupportedError("Test requires extension " + extensionList.str()); in checkAndSpecializeExtensions() 110 throw tcu::NotSupportedError("Test requires any extension of " + extensionList.str()); in checkAndSpecializeExtensions() 189 return res.str(); in genVertexShader() 279 return shader.str(); in genFragmentShader() 343 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeVertexShader() 344 params.insert(pair<string, string>("SETUP", setup.str())); in specializeVertexShader() 345 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeVertexShader() 410 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeFragmentShader() 411 params.insert(pair<string, string>("SETUP", setup.str())); in specializeFragmentShader() [all...] |
/kernel/linux/linux-5.10/tools/lib/traceevent/ |
H A D | event-parse.c | 856 free(fsym->str); in free_flag_sym() 991 static enum tep_event_type force_token(const char *str, char **tok); 1159 static enum tep_event_type force_token(const char *str, char **tok) in force_token() argument 1171 init_input_buf(str, strlen(str)); in force_token() 1280 static int __read_expected(enum tep_event_type expect, const char *str, in __read_expected() argument 1292 ret = test_type_token(type, token, expect, str); in __read_expected() 1299 static int read_expected(enum tep_event_type expect, const char *str) in read_expected() argument 1301 return __read_expected(expect, str, 1); in read_expected() 1304 static int read_expected_item(enum tep_event_type expect, const char *str) in read_expected_item() argument 1407 append(char **buf, const char *delim, const char *str) append() argument 3909 print_str_to_seq(struct trace_seq *s, const char *format, int len_arg, const char *str) print_str_to_seq() argument 3926 char *str; print_bitmask_to_seq() local 3982 char *str; print_str_arg() local 4235 struct trace_seq str; process_defined_func() local 4238 char *str; process_defined_func() member 6128 char *str = format + 1; tep_print_event_param_type() local 6184 char *str = format; tep_print_event() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_dataclasses.py | 221 self: str 233 selfx: str 243 object: str 250 object: str 271 attributes = [(name, str) for name in builtins_names] 289 attributes = [(name, str) for name in builtins_names] 608 y: str = field(init=False, default=None) 609 z: str = field(repr=False) 627 self.assertEqual(the_fields[1].type, str) 632 self.assertEqual(the_fields[2].type, str) [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | nettest.c | 505 static int str_to_uint(const char *str, int min, int max, unsigned int *value) in str_to_uint() argument 511 number = (unsigned int) strtoul(str, &end, 0); in str_to_uint() 516 if (((*end == '\0') || (*end == '\n')) && (end != str) && in str_to_uint() 1436 char *str, *dev, *sep; in convert_addr() local 1443 str = strdup(_str); in convert_addr() 1444 if (!str) in convert_addr() 1479 sep = strchr(str, '/'); in convert_addr() 1500 if (str) { in convert_addr() 1501 if (inet_pton(AF_INET, str, in) == 0) { in convert_addr() 1512 dev = strchr(str, ' in convert_addr() [all...] |
/kernel/linux/linux-5.10/fs/isofs/ |
H A D | inode.c | 40 unsigned int len, const char *str, const struct qstr *name); 46 unsigned int len, const char *str, const struct qstr *name); 48 unsigned int len, const char *str, const struct qstr *name); 203 unsigned int len, const char *str, in isofs_dentry_cmp_common() 214 while (blen && str[blen-1] == '.') in isofs_dentry_cmp_common() 219 if (strncasecmp(name->name, str, alen) == 0) in isofs_dentry_cmp_common() 222 if (strncmp(name->name, str, alen) == 0) in isofs_dentry_cmp_common() 237 unsigned int len, const char *str, const struct qstr *name) in isofs_dentry_cmpi() 239 return isofs_dentry_cmp_common(len, str, name, 0, 1); in isofs_dentry_cmpi() 278 unsigned int len, const char *str, cons in isofs_dentry_cmp_ms() 202 isofs_dentry_cmp_common( unsigned int len, const char *str, const struct qstr *name, int ms, int ci) isofs_dentry_cmp_common() argument 236 isofs_dentry_cmpi(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) isofs_dentry_cmpi() argument 277 isofs_dentry_cmp_ms(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) isofs_dentry_cmp_ms() argument 284 isofs_dentry_cmpi_ms(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) isofs_dentry_cmpi_ms() argument [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_output.c | 33 trace_seq_puts(s, field->str); in trace_print_bputs_msg_only() 70 const char *str; in trace_print_flags_seq() local 80 str = flag_array[i].name; in trace_print_flags_seq() 86 trace_seq_puts(p, str); in trace_print_flags_seq() 134 const char *str; in trace_print_flags_seq_u64() local 144 str = flag_array[i].name; in trace_print_flags_seq_u64() 150 trace_seq_puts(p, str); in trace_print_flags_seq_u64() 370 char str[KSYM_SYMBOL_LEN]; in seq_print_sym() local 374 sprint_symbol(str, address); in seq_print_sym() 376 kallsyms_lookup(address, NULL, NULL, NULL, str); in seq_print_sym() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/adv7511/ |
H A D | adv7511_drv.c | 1109 const char *str; in adv7511_parse_dt() local 1117 ret = of_property_read_string(np, "adi,input-colorspace", &str); in adv7511_parse_dt() 1121 if (!strcmp(str, "rgb")) in adv7511_parse_dt() 1123 else if (!strcmp(str, "yuv422")) in adv7511_parse_dt() 1125 else if (!strcmp(str, "yuv444")) in adv7511_parse_dt() 1130 ret = of_property_read_string(np, "adi,input-clock", &str); in adv7511_parse_dt() 1134 if (!strcmp(str, "1x")) in adv7511_parse_dt() 1136 else if (!strcmp(str, "2x")) in adv7511_parse_dt() 1138 else if (!strcmp(str, "ddr")) in adv7511_parse_dt() 1154 &str); in adv7511_parse_dt() [all...] |
/kernel/linux/linux-6.6/fs/isofs/ |
H A D | inode.c | 40 unsigned int len, const char *str, const struct qstr *name); 46 unsigned int len, const char *str, const struct qstr *name); 48 unsigned int len, const char *str, const struct qstr *name); 203 unsigned int len, const char *str, in isofs_dentry_cmp_common() 214 while (blen && str[blen-1] == '.') in isofs_dentry_cmp_common() 219 if (strncasecmp(name->name, str, alen) == 0) in isofs_dentry_cmp_common() 222 if (strncmp(name->name, str, alen) == 0) in isofs_dentry_cmp_common() 237 unsigned int len, const char *str, const struct qstr *name) in isofs_dentry_cmpi() 239 return isofs_dentry_cmp_common(len, str, name, 0, 1); in isofs_dentry_cmpi() 278 unsigned int len, const char *str, cons in isofs_dentry_cmp_ms() 202 isofs_dentry_cmp_common( unsigned int len, const char *str, const struct qstr *name, int ms, int ci) isofs_dentry_cmp_common() argument 236 isofs_dentry_cmpi(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) isofs_dentry_cmpi() argument 277 isofs_dentry_cmp_ms(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) isofs_dentry_cmp_ms() argument 284 isofs_dentry_cmpi_ms(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) isofs_dentry_cmpi_ms() argument [all...] |
/kernel/linux/linux-6.6/kernel/dma/ |
H A D | swiotlb.c | 182 setup_io_tlb_npages(char *str) in setup_io_tlb_npages() argument 184 if (isdigit(*str)) { in setup_io_tlb_npages() 187 ALIGN(simple_strtoul(str, &str, 0), IO_TLB_SEGSIZE); in setup_io_tlb_npages() 189 if (*str == ',') in setup_io_tlb_npages() 190 ++str; in setup_io_tlb_npages() 191 if (isdigit(*str)) in setup_io_tlb_npages() 192 swiotlb_adjust_nareas(simple_strtoul(str, &str, 0)); in setup_io_tlb_npages() 193 if (*str in setup_io_tlb_npages() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/adv7511/ |
H A D | adv7511_drv.c | 1113 const char *str; in adv7511_parse_dt() local 1121 ret = of_property_read_string(np, "adi,input-colorspace", &str); in adv7511_parse_dt() 1125 if (!strcmp(str, "rgb")) in adv7511_parse_dt() 1127 else if (!strcmp(str, "yuv422")) in adv7511_parse_dt() 1129 else if (!strcmp(str, "yuv444")) in adv7511_parse_dt() 1134 ret = of_property_read_string(np, "adi,input-clock", &str); in adv7511_parse_dt() 1138 if (!strcmp(str, "1x")) in adv7511_parse_dt() 1140 else if (!strcmp(str, "2x")) in adv7511_parse_dt() 1142 else if (!strcmp(str, "ddr")) in adv7511_parse_dt() 1158 &str); in adv7511_parse_dt() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_scale.c | 939 { "flags", "Flags to pass to libswscale", OFFSET(flags_str), AV_OPT_TYPE_STRING, { .str = "" }, .flags = FLAGS }, 941 { "size", "set video size", OFFSET(size_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, FLAGS }, 942 { "s", "set video size", OFFSET(size_str), AV_OPT_TYPE_STRING, {.str = NULL}, 0, FLAGS }, 943 { "in_color_matrix", "set input YCbCr type", OFFSET(in_color_matrix), AV_OPT_TYPE_STRING, { .str = "auto" }, .flags = FLAGS, "color" }, 944 { "out_color_matrix", "set output YCbCr type", OFFSET(out_color_matrix), AV_OPT_TYPE_STRING, { .str = NULL }, .flags = FLAGS, "color"}, 945 { "auto", NULL, 0, AV_OPT_TYPE_CONST, { .str = "auto" }, 0, 0, FLAGS, "color" }, 946 { "bt601", NULL, 0, AV_OPT_TYPE_CONST, { .str = "bt601" }, 0, 0, FLAGS, "color" }, 947 { "bt470", NULL, 0, AV_OPT_TYPE_CONST, { .str = "bt470" }, 0, 0, FLAGS, "color" }, 948 { "smpte170m", NULL, 0, AV_OPT_TYPE_CONST, { .str = "smpte170m" }, 0, 0, FLAGS, "color" }, 949 { "bt709", NULL, 0, AV_OPT_TYPE_CONST, { .str [all...] |
/third_party/gn/src/gn/ |
H A D | desc_builder.cc | 665 std::string str = in RecursivePrintDeps() local 677 str += "..."; in RecursivePrintDeps() 681 out->AppendString(str); in RecursivePrintDeps() 739 std::string str; in RenderRuntimeDeps() local 744 str = " "; in RenderRuntimeDeps() 748 str + "From " + in RenderRuntimeDeps() 750 str = " "; in RenderRuntimeDeps() 754 res->AppendString(str + pair.first.value()); in RenderRuntimeDeps() 898 std::string str; in RenderConfigValues() local 900 if (blame_ && rendered->GetAsString(&str)) { in RenderConfigValues() [all...] |
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 649 // Skips to the first non-space char after the first comma in 'str'; 650 // returns NULL if no comma is found in 'str'. 651 inline const char* SkipComma(const char* str) { in SkipComma() argument 652 const char* comma = strchr(str, ','); in SkipComma() 661 // Returns the prefix of 'str' before the first comma in it; returns 663 inline std::string GetPrefixUntilComma(const char* str) { in GetPrefixUntilComma() argument 664 const char* comma = strchr(str, ','); in GetPrefixUntilComma() 665 return comma == nullptr ? str : std::string(str, comma); in GetPrefixUntilComma() 670 void SplitString(const ::std::string& str, cha [all...] |
/third_party/node/deps/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 634 // Skips to the first non-space char after the first comma in 'str'; 635 // returns NULL if no comma is found in 'str'. 636 inline const char* SkipComma(const char* str) { in SkipComma() argument 637 const char* comma = strchr(str, ','); in SkipComma() 646 // Returns the prefix of 'str' before the first comma in it; returns 648 inline std::string GetPrefixUntilComma(const char* str) { in GetPrefixUntilComma() argument 649 const char* comma = strchr(str, ','); in GetPrefixUntilComma() 650 return comma == nullptr ? str : std::string(str, comma); in GetPrefixUntilComma() 655 void SplitString(const ::std::string& str, cha [all...] |
/third_party/mksh/ |
H A D | histrap.c | 389 hist_get(const char *str, bool approx, bool allow_cur) in hist_get() argument 394 if (getn(str, &n)) { in hist_get() 400 bi_errorf(Tf_sD_s, str, Tnot_in_history); in hist_get() 407 bi_errorf(Tf_sD_s, str, Tnot_in_history); in hist_get() 411 bi_errorf(Tf_sD_s, str, "invalid range"); in hist_get() 415 bool anchored = *str == '?' ? (++str, false) : true; in hist_get() 418 if ((n = findhist(histptr - history - 1, str, false, in hist_get() 420 bi_errorf(Tf_sD_s, str, Tnot_in_history); in hist_get() 483 findhist(int start, const char *str, boo argument [all...] |
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | s_cb.c | 462 const char *str; in apps_ssl_info_callback() local 468 str = "SSL_connect"; in apps_ssl_info_callback() 470 str = "SSL_accept"; in apps_ssl_info_callback() 472 str = "undefined"; in apps_ssl_info_callback() 475 BIO_printf(bio_err, "%s:%s\n", str, SSL_state_string_long(s)); in apps_ssl_info_callback() 477 str = (where & SSL_CB_READ) ? "read" : "write"; in apps_ssl_info_callback() 479 str, in apps_ssl_info_callback() 485 str, SSL_state_string_long(s)); in apps_ssl_info_callback() 488 str, SSL_state_string_long(s)); in apps_ssl_info_callback() 1251 int config_ctx(SSL_CONF_CTX *cctx, STACK_OF(OPENSSL_STRING) *str, in config_ctx() argument [all...] |
/third_party/python/Lib/ |
H A D | pickletools.py | 194 assert isinstance(name, str) 207 assert isinstance(doc, str) 381 This is a str-style string, without embedded escapes, 401 These are str-style strings, without embedded 615 return str(data, 'raw-unicode-escape') 651 return str(data, 'utf-8', 'surrogatepass') 692 return str(data, 'utf-8', 'surrogatepass') 733 return str(data, 'utf-8', 'surrogatepass') 962 assert isinstance(name, str) 971 assert isinstance(doc, str) [all...] |
/third_party/openssl/apps/lib/ |
H A D | s_cb.c | 462 const char *str; in apps_ssl_info_callback() local 468 str = "SSL_connect"; in apps_ssl_info_callback() 470 str = "SSL_accept"; in apps_ssl_info_callback() 472 str = "undefined"; in apps_ssl_info_callback() 475 BIO_printf(bio_err, "%s:%s\n", str, SSL_state_string_long(s)); in apps_ssl_info_callback() 477 str = (where & SSL_CB_READ) ? "read" : "write"; in apps_ssl_info_callback() 479 str, in apps_ssl_info_callback() 485 str, SSL_state_string_long(s)); in apps_ssl_info_callback() 488 str, SSL_state_string_long(s)); in apps_ssl_info_callback() 1251 int config_ctx(SSL_CONF_CTX *cctx, STACK_OF(OPENSSL_STRING) *str, in config_ctx() argument [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderLibraryCase.cpp | 573 return res.str(); in genVertexShader() 776 return shader.str(); in genFragmentShader() 830 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeVertexShader() 831 params.insert(pair<string, string>("SETUP", setup.str())); in specializeVertexShader() 832 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeVertexShader() 891 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeFragmentShader() 892 params.insert(pair<string, string>("SETUP", setup.str())); in specializeFragmentShader() 893 params.insert(pair<string, string>("OUTPUT", output.str())); in specializeFragmentShader() 941 params.insert(pair<string, string>("VERTEX_DECLARATIONS", decl.str())); in specializeShaders() 942 params.insert(pair<string, string>("VERTEX_SETUP", setup.str())); in specializeShaders() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrBackendSurface.cpp | 403 SkString str; in toStr() local 406 str.append("invalid"); in toStr() 407 return str; in toStr() 410 str.appendf("%s-", GrBackendApiToStr(fBackend)); in toStr() 415 str.append(GrGLFormatToStr(fGLFormat)); in toStr() 420 str.append(GrVkFormatToStr(fVk.fFormat)); in toStr() 425 str.append(GrMtlFormatToStr(fMtlFormat)); in toStr() 430 str.append(GrDxgiFormatToStr(fDxgiFormat)); in toStr() 435 str.append(GrDawnFormatToStr(fDawnFormat)); in toStr() 439 str in toStr() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | Shader.cpp | 293 instructionString += buffer.str(); in string() 451 case 0: return "[r" + buffer.str() + ".x]"; in relativeString() 452 case 1: return "[r" + buffer.str() + ".y]"; in relativeString() 453 case 2: return "[r" + buffer.str() + ".z]"; in relativeString() 454 case 3: return "[r" + buffer.str() + ".w]"; in relativeString() 468 case 0: return "[c" + buffer.str() + ".x]"; in relativeString() 469 case 1: return "[c" + buffer.str() + ".y]"; in relativeString() 470 case 2: return "[c" + buffer.str() + ".z]"; in relativeString() 471 case 3: return "[c" + buffer.str() + ".w]"; in relativeString() 520 return "cb" + buffer.str() in string() [all...] |
/third_party/python/Python/ |
H A D | ast_opt.c | 268 PyObject *str = PyUnicode_Substring(fmt, start, pos); in parse_literal() local 269 /* str = str.replace('%%', '%') */ in parse_literal() 270 if (str && has_percents) { in parse_literal() 273 Py_SETREF(str, PyUnicode_Replace(str, &_Py_STR(dbl_percent), in parse_literal() 276 if (!str) { in parse_literal() 280 if (_PyArena_AddPyObject(arena, str) < 0) { in parse_literal() 281 Py_DECREF(str); in parse_literal() 284 return _PyAST_Constant(str, NUL in parse_literal() 370 PyObject *str = PyUnicode_FromString(buf); parse_format() local [all...] |
/third_party/rust/crates/clap/tests/builder/ |
H A D | require.rs | 86 static POSITIONAL_REQ: &str = "\ in positional_required_with_requires() 107 static POSITIONAL_REQ_IF_NO_VAL: &str = "\ in positional_required_with_requires_if_no_value() 127 static POSITIONAL_REQ_IF_VAL: &str = "\ in positional_required_with_requires_if_value() 515 static MISSING_REQ: &str = "\ in missing_required_output() 760 static COND_REQ_IN_USAGE: &str = "\ in list_correct_required_args() 804 static COND_REQ_IN_USAGE: &str = "\ in required_if_val_present_fail_error_output() 929 static REQUIRE_EQUALS: &str = "\ in require_eq() 953 static REQUIRE_EQUALS_FILTERED: &str = "\ in require_eq_filtered() 988 static REQUIRE_EQUALS_FILTERED_GROUP: &str = "\ in require_eq_filtered_group() 1067 static MULTIPLE_REQUIRED_UNLESS_USAGE: &str in multiple_required_unless_usage_printing() [all...] |
/third_party/vk-gl-cts/modules/gles2/scripts/ |
H A D | genutil.py | 63 f.write(indentTextBlock(str(case) + "\n", indent)) 81 res.append("input %s = [ %s ];" % (name, " | ".join([str(v) for v in values]).lower())) 83 res.append("output %s = [ %s ];" % (name, " | ".join([str(v) for v in values]).lower())) 369 return "bvec2(%s, %s)" % (str(self.x).lower(), str(self.y).lower()) 455 return "bvec3(%s, %s, %s)" % (str(self.x).lower(), str(self.y).lower(), str(self.z).lower()) 548 return "bvec4(%s, %s, %s, %s)" % (str(self.x).lower(), str(sel [all...] |
/third_party/libinput/test/ |
H A D | litest.c | 3113 const char *str = NULL; in litest_event_type_str() local 3119 str = "ADDED"; in litest_event_type_str() 3122 str = "REMOVED"; in litest_event_type_str() 3125 str = "KEY"; in litest_event_type_str() 3128 str = "MOTION"; in litest_event_type_str() 3131 str = "ABSOLUTE"; in litest_event_type_str() 3134 str = "BUTTON"; in litest_event_type_str() 3137 str = "AXIS"; in litest_event_type_str() 3140 str = "SCROLL_WHEEL"; in litest_event_type_str() 3143 str in litest_event_type_str() [all...] |