Home
last modified time | relevance | path

Searched refs:str (Results 3051 - 3075 of 10897) sorted by relevance

1...<<121122123124125126127128129130>>...436

/third_party/python/Lib/test/
H A Dtest_exceptions.py34 raise Exception("str() is broken")
45 buf1 = str(err)
49 buf2 = str(err)
213 if not isinstance(src, str):
235 check('[file for str(file) in []\n]', 1, 11)
237 check('[\nfile\nfor str(file)\nin\n[]\n]', 3, 5)
238 check('[file for\n str(file) in []]', 2, 2)
376 self.assertEqual(str(OSError(1001)), "1001")
377 self.assertEqual(str(OSError(1001, "message")),
383 self.assertEqual(str(
[all...]
/third_party/python/Modules/clinic/
H A D_cursesmodule.c.h78 "addstr([y, x,] str, [attr])\n"
85 " str\n"
90 "Paint the string str at (y, x) with attributes attr,\n"
100 int y, int x, PyObject *str, int group_right_1,
110 PyObject *str; in _curses_window_addstr() local
116 if (!PyArg_ParseTuple(args, "O:addstr", &str)) { in _curses_window_addstr()
121 if (!PyArg_ParseTuple(args, "Ol:addstr", &str, &attr)) { in _curses_window_addstr()
127 if (!PyArg_ParseTuple(args, "iiO:addstr", &y, &x, &str)) { in _curses_window_addstr()
133 if (!PyArg_ParseTuple(args, "iiOl:addstr", &y, &x, &str, &attr)) { in _curses_window_addstr()
143 return_value = _curses_window_addstr_impl(self, group_left_1, y, x, str, group_right_ in _curses_window_addstr()
184 PyObject *str; _curses_window_addnstr() local
1122 PyObject *str; _curses_window_insstr() local
1198 PyObject *str; _curses_window_insnstr() local
4017 const char *str; _curses_tparm() local
[all...]
/third_party/ffmpeg/libavformat/
H A Ddashenc.c206 const char *str; member
218 const char *str; member
268 return formats[i].str; in get_format_str()
337 AVRational *frame_rate, char *str, int size) { in set_vp9_codec_str()
341 av_strlcatf(str, size, "vp09.%02d.%02d.%02d", in set_vp9_codec_str()
346 av_strlcpy(str, "vp9", size); in set_vp9_codec_str()
352 AVRational *frame_rate, char *str, int size) in set_codec_str()
362 set_vp9_codec_str(s, par, frame_rate, str, size); in set_codec_str()
364 av_strlcpy(str, codecs[i].str, siz in set_codec_str()
336 set_vp9_codec_str(AVFormatContext *s, AVCodecParameters *par, AVRational *frame_rate, char *str, int size) set_vp9_codec_str() argument
351 set_codec_str(AVFormatContext *s, AVCodecParameters *par, AVRational *frame_rate, char *str, int size) set_codec_str() argument
720 xmlescape(const char *str) xmlescape() argument
989 char str[32]; parse_adaptation_sets() local
[all...]
/foundation/arkui/ace_engine/adapter/ohos/tools/raw_input_injector/
H A Draw_input_injector.cpp294 std::string str = "round " + std::to_string(round) + ": "; in DumpAllInjectingActions() local
296 str += ("finger " + std::to_string(action.finger) + " " + in DumpAllInjectingActions()
299 std::cout << str << std::endl; in DumpAllInjectingActions()
375 std::string str = "round " + std::to_string(round) + ": "; in DumpInjectingInfo() local
377 str += "|-ACTIVE(" + std::to_string(activedInjectingInfos.size()) + "): "; in DumpInjectingInfo()
379 dumpInfoToString(info, str); in DumpInjectingInfo()
384 str += "|-OTHER(" + std::to_string(otherInjectingInfos.size()) + "): "; in DumpInjectingInfo()
386 dumpInfoToString(info, str); in DumpInjectingInfo()
390 std::cout << str << std::endl; in DumpInjectingInfo()
/foundation/multimodalinput/input/libudev/src/
H A Dudev_device.cpp46 bool StartsWith(std::string_view str, std::string_view prefix) in StartsWith() argument
48 return str.size() >= prefix.size() && str.substr(0, prefix.size()) == prefix; in StartsWith()
51 bool ChopTail(std::string_view &str, char sep) in ChopTail() argument
53 auto pos = str.rfind(sep); in ChopTail()
57 str.remove_suffix(str.size() - pos); in ChopTail()
113 explicit BitVector(const std::string &str) in BitVector() argument
115 std::istringstream ss{ str }; in BitVector()
/third_party/ffmpeg/libavfilter/
H A Dvf_vpp_qsv.c125 { "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 Dfile_path.cc429 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 Dalsaloop.c660 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 Drenderer.rs22 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__.py109 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 DvktPipelineIdentifierTests.cpp90 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 DglcSubgroupsArithmeticTests.cpp478 << 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 DxeTestLogWriter.cpp126 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 Dtext.cpp113 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 Dtext.cpp113 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 Dwidget_tests.py30 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 Dfilteredbrk.cpp86 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 Dutil.c548 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 Dtestmagicmethods.py67 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 Dcomplete.rs24 /// 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 Dtext.cpp113 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 Dtypes_test.cpp57 << "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 DvktPipelineIdentifierTests.cpp90 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()
/drivers/peripheral/camera/test/hdi/metadata_test/src/
H A Dcamera_metadata_utils_uttest.cpp240 std::string str = "test"; in HWTEST_F() local
241 auto metaData = MetadataUtils::DecodeFromString(str); in HWTEST_F()
244 str = "CameraMetadataUtilsTest.Metadata_Utils_006"; in HWTEST_F()
245 metaData = MetadataUtils::DecodeFromString(str); in HWTEST_F()
/foundation/ability/idl_tool/test/hdi_unittest/base/
H A Dutil.py51 def dump_ast_compare(line_lhd:str, line_rhd:str):
190 def hdi_gen_fail_check_ignore_line(result: str, target: str):

Completed in 31 milliseconds

1...<<121122123124125126127128129130>>...436