/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/ |
H A D | TestSuite.cpp | 188 TestResultType GetResultTypeFromString(const std::string &str) in GetResultTypeFromString() argument 190 if (str == "CRASH") in GetResultTypeFromString() 192 if (str == "FAIL") in GetResultTypeFromString() 194 if (str == "PASS") in GetResultTypeFromString() 196 if (str == "NOTRUN") in GetResultTypeFromString() 198 if (str == "SKIP") in GetResultTypeFromString() 200 if (str == "TIMEOUT") in GetResultTypeFromString() 571 return filterStream.str(); in GetTestFilter() 827 std::string fullName = nameStream.str(); in PrintTestOutputSnippet() 990 bool TestIdentifier::ParseFromString(const std::string &str, TestIdentifie argument [all...] |
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | ps.c | 234 other in str[] (separated by null terminators), and offset[] contains the 240 unsigned short offset[6]; // offset of fields in str[] (skip CMD, always 0) 242 char str[]; // CMD, TTY, WCHAN, LABEL, COMM, ARGS, NAME member 297 // String fields (-1 is procpid->str, rest are str+offset[1-slot]) 480 out = tb->str; in string_field() 492 if (which>=PS_COMM && !*out) sprintf(out = buf, "[%s]", tb->str); in string_field() 672 char *name, *s, *buf = tb->str, *end = 0; in get_ps() 719 if ((tb->str[i] = name[i]) < ' ') in get_ps() 720 if (!TT.tty) tb->str[ in get_ps() 1095 parse_rest(void *data, char *str, int len) parse_rest() argument [all...] |
/third_party/toybox/toys/posix/ |
H A D | ps.c | 277 other in str[] (separated by null terminators), and offset[] contains the 283 unsigned short offset[6]; // offset of fields in str[] (skip CMD, always 0) 285 char str[]; // CMD, TTY, WCHAN, LABEL, COMM, ARGS, NAME member 340 // String fields (-1 is procpid->str, rest are str+offset[1-slot]) 523 out = tb->str; in string_field() 535 if (which>=PS_COMM && !*out) sprintf(out = buf, "[%s]", tb->str); in string_field() 715 char *name, *s, *buf = tb->str, *end = 0; in get_ps() 762 if ((tb->str[i] = name[i]) < ' ') in get_ps() 763 if (!TT.tty) tb->str[ in get_ps() 1138 parse_rest(void *data, char *str, int len) parse_rest() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_float.py | 97 class CustomStr(str): pass 134 self.assertEqual(str(cm.exception), 205 # Issue 5759: __float__ not called on str subclasses (though it is on 207 class FooStr(str): 209 return float(str(self)) + 1 685 # empty presentation type should format in the same way as str 688 self.assertEqual(format(x, ''), str(x)) 689 self.assertEqual(format(x, '-'), str(x)) 690 self.assertEqual(format(x, '>'), str(x)) 691 self.assertEqual(format(x, '2'), str( [all...] |
/third_party/python/Modules/ |
H A D | pyexpat.c | 151 Returns None if str is a null pointer. */ 154 conv_string_to_unicode(const XML_Char *str) in conv_string_to_unicode() argument 159 if (str == NULL) { in conv_string_to_unicode() 162 return PyUnicode_DecodeUTF8(str, strlen(str), "strict"); in conv_string_to_unicode() 166 conv_string_len_to_unicode(const XML_Char *str, int len) in conv_string_len_to_unicode() argument 171 if (str == NULL) { in conv_string_len_to_unicode() 174 return PyUnicode_DecodeUTF8((const char *)str, len, "strict"); in conv_string_len_to_unicode() 229 string_intern(xmlparseobject *self, const char* str) in string_intern() argument 231 PyObject *result = conv_string_to_unicode(str); in string_intern() 774 PyObject *str; readinst() local 1752 PyObject *str = PyUnicode_FromString(error_string); add_error() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_vpp_qsv.c | 125 { "cw", "set the width crop area expression", OFFSET(cw), AV_OPT_TYPE_STRING, { .str = "iw" }, 0, 0, FLAGS }, 126 { "ch", "set the height crop area expression", OFFSET(ch), AV_OPT_TYPE_STRING, { .str = "ih" }, 0, 0, FLAGS }, 127 { "cx", "set the x crop area expression", OFFSET(cx), AV_OPT_TYPE_STRING, { .str = "(in_w-out_w)/2" }, 0, 0, FLAGS }, 128 { "cy", "set the y crop area expression", OFFSET(cy), AV_OPT_TYPE_STRING, { .str = "(in_h-out_h)/2" }, 0, 0, FLAGS }, 130 { "w", "Output video width", OFFSET(ow), AV_OPT_TYPE_STRING, { .str="cw" }, 0, 255, .flags = FLAGS }, 131 { "width", "Output video width", OFFSET(ow), AV_OPT_TYPE_STRING, { .str="cw" }, 0, 255, .flags = FLAGS }, 132 { "h", "Output video height", OFFSET(oh), AV_OPT_TYPE_STRING, { .str="w*ch/cw" }, 0, 255, .flags = FLAGS }, 133 { "height", "Output video height", OFFSET(oh), AV_OPT_TYPE_STRING, { .str="w*ch/cw" }, 0, 255, .flags = FLAGS }, 134 { "format", "Output pixel format", OFFSET(output_format_str), AV_OPT_TYPE_STRING, { .str = "same" }, .flags = FLAGS },
|
/third_party/gn/src/base/files/ |
H A D | file_path.cc | 429 StringType str = path_; in AddExtension() 431 *(str.end() - 1) != kExtensionSeparator) { in AddExtension() 432 str.append(1, kExtensionSeparator); in AddExtension() 434 str.append(extension); in AddExtension() 435 return FilePath(str); in AddExtension() 448 StringType str = no_ext.value(); in ReplaceExtension() 450 str.append(1, kExtensionSeparator); in ReplaceExtension() 451 str.append(extension); in ReplaceExtension() 452 return FilePath(str); in ReplaceExtension()
|
/third_party/alsa-utils/alsaloop/ |
H A D | alsaloop.c | 660 char *str, *ptr; in parse_config_file() local 680 str = line; in parse_config_file() 681 while (*str) { in parse_config_file() 683 while (*str && (*str == ' ' || *str < ' ')) in parse_config_file() 684 str++; in parse_config_file() 685 if (*str == '#') in parse_config_file() 687 if (*str == '\'' || *str in parse_config_file() [all...] |
/third_party/rust/crates/codespan/codespan-reporting/src/term/ |
H A D | renderer.rs | 22 pub type SingleLabel<'diagnostic> = (LabelStyle, Range<usize>, &'diagnostic str); 54 Bottom(usize, &'diagnostic str), 142 code: Option<&str>, in chars() 143 message: &str, in chars() 233 source: &str, in render_snippet_source() 644 message: &str, in render_snippet_note() 845 source: &str, in label_multi_top_caret() 878 source: &str, in label_multi_bottom_caret() 880 message: &str, in label_multi_bottom_caret()
|
/third_party/python/Lib/importlib/metadata/ |
H A D | __init__.py | 109 lines = filter(filter_, map(str.strip, text.splitlines())) 187 name: str 188 value: str 189 group: str 322 def _wrap_deprecated_method(method_name: str): # type: ignore 550 def from_name(cls, name: str): 951 stem = os.path.basename(str(self._path)) 1062 def packages_distributions() -> Mapping[str, List[str]]:
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/ |
H A D | vktPipelineIdentifierTests.cpp | 90 dst.glslSources.add(name.str()) << glu::VertexSource(code.str()); in createGraphicsShaders() 105 dst.glslSources.add(name.str()) << glu::FragmentSource(code.str()); in createGraphicsShaders() 125 dst.glslSources.add(name.str()) << glu::ComputeSource(code.str()); in createComputeShaders() 146 shaders.emplace_back(createShaderModule(vk, device, context.getBinaryCollection().get(name.str()), 0)); in testGraphicsPipelineIdentifier() 151 shaders.emplace_back(createShaderModule(vk, device, context.getBinaryCollection().get(name.str()), 0)); in testGraphicsPipelineIdentifier() 377 computeShaders.emplace_back(createShaderModule(vk, device, context.getBinaryCollection().get(name.str()), 0)); in testComputePipelineIdentifier()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
H A D | glcSubgroupsArithmeticTests.cpp | 478 << bdy.str() in initFrameBufferPrograms() 483 programCollection.add("vert") << glu::VertexSource(vertexSrc.str()); in initFrameBufferPrograms() 503 << bdy.str() in initFrameBufferPrograms() 510 programCollection.add("geometry") << glu::GeometrySource(geometry.str()); in initFrameBufferPrograms() 533 << bdy.str() in initFrameBufferPrograms() 539 programCollection.add("tesc") << glu::TessellationControlSource(controlSource.str()); in initFrameBufferPrograms() 559 << bdy.str() in initFrameBufferPrograms() 565 programCollection.add("tese") << glu::TessellationEvaluationSource(evaluationSource.str()); in initFrameBufferPrograms() 660 programCollection.add("comp") << glu::ComputeSource(src.str()); in initPrograms()
|
/third_party/vk-gl-cts/executor/ |
H A D | xeTestLogWriter.cpp | 126 std::ofstream str(filename, std::ofstream::binary|std::ofstream::trunc); in writeBatchResultToFile() 127 writeTestLog(result, str); in writeBatchResultToFile() 128 str.close(); in writeBatchResultToFile() 184 std::ostream& operator<< (std::ostream& str, const Base64Formatter& fmt) in operator <<() argument 221 str.write(&d[0], sizeof(d)); in operator <<() 224 return str; in operator <<() 530 std::ofstream str(filename, std::ofstream::binary|std::ofstream::trunc); in writeTestResultToFile() 531 writeTestResult(result, str); in writeTestResultToFile() 532 str.close(); in writeTestResultToFile()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | text.cpp | 113 if (pLiteral->str.size() >= SPV_LIMIT_LITERAL_STRING_BYTES_MAX) in spvTextToLiteral() 115 pLiteral->str.push_back(*val); in spvTextToLiteral() 380 spvExtInstImportTypeGet(literal.str.c_str()); in spvTextEncodeOperand() 383 << "Invalid extended instruction import '" << literal.str in spvTextEncodeOperand() 391 if (context->binaryEncodeString(literal.str.c_str(), pInst)) in spvTextEncodeOperand() 706 if (!text->str) return context.diagnostic() << "Missing assembly text."; in GetNumericIds() 750 if (!text->str) return context.diagnostic() << "Missing assembly text."; in spvTextToBinaryInternal() 838 if (text->str) delete[] text->str; in spvTextDestroy()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | text.cpp | 113 if (pLiteral->str.size() >= SPV_LIMIT_LITERAL_STRING_BYTES_MAX) in spvTextToLiteral() 115 pLiteral->str.push_back(*val); in spvTextToLiteral() 380 spvExtInstImportTypeGet(literal.str.c_str()); in spvTextEncodeOperand() 383 << "Invalid extended instruction import '" << literal.str in spvTextEncodeOperand() 391 if (context->binaryEncodeString(literal.str.c_str(), pInst)) in spvTextEncodeOperand() 706 if (!text->str) return context.diagnostic() << "Missing assembly text."; in GetNumericIds() 750 if (!text->str) return context.diagnostic() << "Missing assembly text."; in spvTextToBinaryInternal() 838 if (text->str) delete[] text->str; in spvTextDestroy()
|
/third_party/python/Lib/tkinter/test/ |
H A D | widget_tests.py | 30 return str(value) 48 expected = str(expected) 64 self.assertEqual(str(cm.exception), errmsg) 69 self.assertEqual(str(cm.exception), errmsg) 144 if isinstance(value, str): 145 if conv1 and conv1 is not str: 167 self.checkParam(widget, name, image, conv=str) 173 self.checkParam(widget, name, var, conv=str) 355 self.assertEqual(str(widget['orient']), self.default_orient)
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | filteredbrk.cpp | 86 inline UBool adopt(UnicodeString *str, UErrorCode &status) { in adopt() argument 87 if(U_FAILURE(status) || contains(*str)) { in adopt() 88 delete str; in adopt() 91 sortedInsert(str, compareUnicodeString, status); in adopt() 93 delete str; in adopt() 103 inline UBool add(const UnicodeString& str, UErrorCode &status) { in add() argument 105 UnicodeString *t = new UnicodeString(str); in add() 379 //if(debug2) u_printf("str, native len=%d\n", utext_nativeLength(fText.getAlias())); in internalNext() 408 //if(debug2) u_printf("str, native len=%d\n", utext_nativeLength(fText.getAlias())); in internalPrev() 550 UnicodeString str(ures_getUnicodeStrin in SimpleFilteredBreakIteratorBuilder() [all...] |
/third_party/toybox/kconfig/lxdialog/ |
H A D | util.c | 548 vsnprintf(item_cur->node.str, sizeof(item_cur->node.str), fmt, ap); in item_make() 557 avail = sizeof(item_cur->node.str) - strlen(item_cur->node.str); in item_add_str() 560 vsnprintf(item_cur->node.str + strlen(item_cur->node.str), in item_add_str() 562 item_cur->node.str[sizeof(item_cur->node.str) - 1] = '\0'; in item_add_str() 631 return item_cur->node.str; in item_str()
|
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testmagicmethods.py | 67 self.assertEqual(str(mock), object.__str__(mock)) 69 self.assertEqual(str(mock), 'foo') 282 self.assertEqual(str(mock), object.__str__(mock)) 308 self.assertEqual(str(mock), object.__str__(mock)) 416 str(mock) 453 self.assertEqual(str(m), 'foo') 497 self.assertEqual(str(m), "12") 502 self.assertEqual(str(m), "13") 505 self.assertEqual(str(m), "14")
|
/third_party/rust/crates/nom/src/bytes/ |
H A D | complete.rs | 24 /// fn parser(s: &str) -> IResult<&str, &str> { 64 /// fn parser(s: &str) -> IResult<&str, &str> { 108 /// fn not_space(s: &str) -> IResult<&str, &str> { 141 /// fn hex(s: &str) [all...] |
/third_party/spirv-tools/source/ |
H A D | text.cpp | 113 if (pLiteral->str.size() >= SPV_LIMIT_LITERAL_STRING_BYTES_MAX) in spvTextToLiteral() 115 pLiteral->str.push_back(*val); in spvTextToLiteral() 392 spvExtInstImportTypeGet(literal.str.c_str()); in spvTextEncodeOperand() 395 << "Invalid extended instruction import '" << literal.str in spvTextEncodeOperand() 403 if (context->binaryEncodeString(literal.str.c_str(), pInst)) in spvTextEncodeOperand() 723 if (!text->str) return context.diagnostic() << "Missing assembly text."; in GetNumericIds() 773 if (!text->str) return context.diagnostic() << "Missing assembly text."; in spvTextToBinaryInternal() 861 if (text->str) delete[] text->str; in spvTextDestroy()
|
/third_party/spirv-tools/test/opt/ |
H A D | types_test.cpp | 57 << "expected '" << types[i]->str() << "' is the same as '" \ 58 << types[j]->str() << "'"; \ 60 << "expected '" << types[i]->str() << "' is the same as '" \ 61 << types[j]->str() << "'"; \ 262 << "expected '" << types[i]->str() << "' is the same as '" in TEST() 263 << types[j]->str() << "'"; in TEST() 266 << "entry (" << i << "," << j << ") expected '" << types[i]->str() in TEST() 267 << "' is different to '" << types[j]->str() << "'"; in TEST() 401 << "expected '" << t->str() << "' to be a " in TEST()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktPipelineIdentifierTests.cpp | 90 dst.glslSources.add(name.str()) << glu::VertexSource(code.str()); in createGraphicsShaders() 105 dst.glslSources.add(name.str()) << glu::FragmentSource(code.str()); in createGraphicsShaders() 125 dst.glslSources.add(name.str()) << glu::ComputeSource(code.str()); in createComputeShaders() 146 shaders.emplace_back(createShaderModule(vk, device, context.getBinaryCollection().get(name.str()), 0)); in testGraphicsPipelineIdentifier() 151 shaders.emplace_back(createShaderModule(vk, device, context.getBinaryCollection().get(name.str()), 0)); in testGraphicsPipelineIdentifier() 377 computeShaders.emplace_back(createShaderModule(vk, device, context.getBinaryCollection().get(name.str()), 0)); in testComputePipelineIdentifier()
|
/third_party/libphonenumber/cpp/src/phonenumbers/ |
H A D | phonemetadata.pb.cc | 239 auto str = _internal_mutable_pattern(); in _InternalParse() local 240 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); in _InternalParse() 247 auto str = _internal_mutable_format(); in _InternalParse() local 248 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); in _InternalParse() 258 auto str = _internal_add_leading_digits_pattern(); in _InternalParse() local 259 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); in _InternalParse() 268 auto str = _internal_mutable_national_prefix_formatting_rule(); in _InternalParse() local 269 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx); in _InternalParse() 276 auto str = _internal_mutable_domestic_carrier_code_formatting_rule(); in _InternalParse() local 277 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, pt in _InternalParse() 615 auto str = _internal_mutable_national_number_pattern(); _InternalParse() local 623 auto str = _internal_mutable_example_number(); _InternalParse() local 1435 auto str = _internal_mutable_id(); _InternalParse() local 1451 auto str = _internal_mutable_international_prefix(); _InternalParse() local 1459 auto str = _internal_mutable_national_prefix(); _InternalParse() local 1467 auto str = _internal_mutable_preferred_extn_prefix(); _InternalParse() local 1475 auto str = _internal_mutable_national_prefix_for_parsing(); _InternalParse() local 1483 auto str = _internal_mutable_national_prefix_transform_rule(); _InternalParse() local 1491 auto str = _internal_mutable_preferred_international_prefix(); _InternalParse() local 1546 auto str = _internal_mutable_leading_digits(); _InternalParse() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleShaderBuiltInTests.cpp | 313 programCollection.glslSources.add("vertex_shader") << glu::VertexSource(vs.str()); in initPrograms() 327 programCollection.glslSources.add("fragment_shader") << glu::FragmentSource(fs.str()); in initPrograms() 468 programCollection.glslSources.add("vertex_shader") << glu::VertexSource(vs.str()); in initPrograms() 485 programCollection.glslSources.add("fragment_shader") << glu::FragmentSource(fs.str()); in initPrograms() 563 programCollection.glslSources.add("vertex_shader") << glu::VertexSource(vs.str()); in initPrograms() 598 programCollection.glslSources.add("fragment_shader") << glu::FragmentSource(fs.str()); in initPrograms() 763 programCollection.glslSources.add("vertex_shader") << glu::VertexSource(vs.str()); in initPrograms() 785 programCollection.glslSources.add("fragment_shader") << glu::FragmentSource(fs.str()); in initPrograms() 857 programCollection.glslSources.add("vertex_shader") << glu::VertexSource(vs.str()); in initPrograms() 881 programCollection.glslSources.add("fragment_shader") << glu::FragmentSource(fs.str()); in initPrograms() [all...] |