/external/jackson-core/src/test/java/com/fasterxml/jackson/core/util/ |
D | TestSerializedString.java | 22 SerializableString sstr = new SerializedString(INPUT); in testAppending() local 24 assertEquals(sstr.getValue(), INPUT); in testAppending() 25 assertEquals(QUOTED, new String(sstr.asQuotedChars())); in testAppending() 28 assertEquals(QUOTED.length(), sstr.writeQuotedUTF8(bytes)); in testAppending() 31 assertEquals(INPUT.length(), sstr.writeUnquotedUTF8(bytes)); in testAppending() 35 assertEquals(QUOTED.length(), sstr.appendQuotedUTF8(buffer, 3)); in testAppending() 38 assertEquals(INPUT.length(), sstr.appendUnquotedUTF8(buffer, 5)); in testAppending() 45 SerializableString sstr = new SerializedString(INPUT); in testFailedAccess() local 51 assertEquals(-1, sstr.appendQuotedUTF8(buffer, 0)); in testFailedAccess() 52 assertEquals(-1, sstr.appendQuoted(ch, 0)); in testFailedAccess() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/val/ |
D | val_modes_test.cpp | 471 std::ostringstream sstr; in TEST_P() local 472 sstr << "OpCapability Geometry\n"; in TEST_P() 473 sstr << "OpMemoryModel Logical GLSL450\n"; in TEST_P() 474 sstr << "OpEntryPoint Geometry %main \"main\"\n"; in TEST_P() 479 sstr << "OpExecutionMode %main " << input << "\n"; in TEST_P() 486 sstr << "OpExecutionMode %main " << output << "\n"; in TEST_P() 489 sstr << "%void = OpTypeVoid\n"; in TEST_P() 490 sstr << "%void_fn = OpTypeFunction %void\n"; in TEST_P() 491 sstr << "%int = OpTypeInt 32 0\n"; in TEST_P() 492 sstr << "%int1 = OpConstant %int 1\n"; in TEST_P() [all …]
|
D | val_non_uniform_test.cpp | 131 std::ostringstream sstr; in TEST_P() local 132 sstr << "%result = " << opcode << " "; in TEST_P() 133 sstr << type << " "; in TEST_P() 134 sstr << ConvertScope(execution_scope) << " "; in TEST_P() 135 sstr << args << "\n"; in TEST_P() 137 CompileSuccessfully(GenerateShaderCode(sstr.str()), SPV_ENV_VULKAN_1_1); in TEST_P() 164 std::ostringstream sstr; in TEST_P() local 165 sstr << "%result = " << opcode << " "; in TEST_P() 166 sstr << type << " "; in TEST_P() 167 sstr << ConvertScope(execution_scope) << " "; in TEST_P() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_modes_test.cpp | 469 std::ostringstream sstr; in TEST_P() local 470 sstr << "OpCapability Geometry\n"; in TEST_P() 471 sstr << "OpMemoryModel Logical GLSL450\n"; in TEST_P() 472 sstr << "OpEntryPoint Geometry %main \"main\"\n"; in TEST_P() 477 sstr << "OpExecutionMode %main " << input << "\n"; in TEST_P() 484 sstr << "OpExecutionMode %main " << output << "\n"; in TEST_P() 487 sstr << "%void = OpTypeVoid\n"; in TEST_P() 488 sstr << "%void_fn = OpTypeFunction %void\n"; in TEST_P() 489 sstr << "%int = OpTypeInt 32 0\n"; in TEST_P() 490 sstr << "%int1 = OpConstant %int 1\n"; in TEST_P() [all …]
|
D | val_non_uniform_test.cpp | 131 std::ostringstream sstr; in TEST_P() local 132 sstr << "%result = " << opcode << " "; in TEST_P() 133 sstr << type << " "; in TEST_P() 134 sstr << ConvertScope(execution_scope) << " "; in TEST_P() 135 sstr << args << "\n"; in TEST_P() 137 CompileSuccessfully(GenerateShaderCode(sstr.str()), SPV_ENV_VULKAN_1_1); in TEST_P() 164 std::ostringstream sstr; in TEST_P() local 165 sstr << "%result = " << opcode << " "; in TEST_P() 166 sstr << type << " "; in TEST_P() 167 sstr << ConvertScope(execution_scope) << " "; in TEST_P() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/ |
D | val_modes_test.cpp | 471 std::ostringstream sstr; in TEST_P() local 472 sstr << "OpCapability Geometry\n"; in TEST_P() 473 sstr << "OpMemoryModel Logical GLSL450\n"; in TEST_P() 474 sstr << "OpEntryPoint Geometry %main \"main\"\n"; in TEST_P() 479 sstr << "OpExecutionMode %main " << input << "\n"; in TEST_P() 486 sstr << "OpExecutionMode %main " << output << "\n"; in TEST_P() 489 sstr << "%void = OpTypeVoid\n"; in TEST_P() 490 sstr << "%void_fn = OpTypeFunction %void\n"; in TEST_P() 491 sstr << "%int = OpTypeInt 32 0\n"; in TEST_P() 492 sstr << "%int1 = OpConstant %int 1\n"; in TEST_P() [all …]
|
D | val_non_uniform_test.cpp | 131 std::ostringstream sstr; in TEST_P() local 132 sstr << "%result = " << opcode << " "; in TEST_P() 133 sstr << type << " "; in TEST_P() 134 sstr << ConvertScope(execution_scope) << " "; in TEST_P() 135 sstr << args << "\n"; in TEST_P() 137 CompileSuccessfully(GenerateShaderCode(sstr.str()), SPV_ENV_VULKAN_1_1); in TEST_P() 164 std::ostringstream sstr; in TEST_P() local 165 sstr << "%result = " << opcode << " "; in TEST_P() 166 sstr << type << " "; in TEST_P() 167 sstr << ConvertScope(execution_scope) << " "; in TEST_P() [all …]
|
/external/llvm-project/lldb/source/DataFormatters/ |
D | TypeFormat.cpp | 101 StreamString sstr; in FormatObject() local 103 &sstr, // The stream to use for display in FormatObject() 117 dest = std::string(sstr.GetString()); in FormatObject() 126 StreamString sstr; in GetDescription() local 127 sstr.Printf("%s%s%s%s", FormatManager::GetFormatAsCString(GetFormat()), in GetDescription() 131 return std::string(sstr.GetString()); in GetDescription() 189 StreamString sstr; in FormatObject() local 190 valobj_enum_type.DumpTypeValue(&sstr, lldb::eFormatEnum, data, 0, in FormatObject() 193 if (!sstr.GetString().empty()) in FormatObject() 194 dest = std::string(sstr.GetString()); in FormatObject() [all …]
|
D | TypeSummary.cpp | 102 StreamString sstr; in GetDescription() local 104 sstr.Printf("`%s`%s%s%s%s%s%s%s%s%s", m_format_str.c_str(), in GetDescription() 114 return std::string(sstr.GetString()); in GetDescription() 134 StreamString sstr; in GetDescription() local 135 sstr.Printf("%s%s%s%s%s%s%s %s", Cascades() ? "" : " (not cascading)", in GetDescription() 143 return std::string(sstr.GetString()); in GetDescription() 183 StreamString sstr; in GetDescription() local 184 sstr.Printf("%s%s%s%s%s%s%s\n ", Cascades() ? "" : " (not cascading)", in GetDescription() 193 sstr.PutCString("no backing script"); in GetDescription() 195 sstr.PutCString(m_function_name); in GetDescription() [all …]
|
D | TypeSynthetic.cpp | 74 StreamString sstr; in GetDescription() local 75 sstr.Printf("%s%s%s {\n", Cascades() ? "" : " (not cascading)", in GetDescription() 80 sstr.Printf(" %s\n", GetExpressionPathAtIndex(i)); in GetDescription() 83 sstr.Printf("}"); in GetDescription() 84 return std::string(sstr.GetString()); in GetDescription() 88 StreamString sstr; in GetDescription() local 89 sstr.Printf("%s%s%s %s", Cascades() ? "" : " (not cascading)", in GetDescription() 94 return std::string(sstr.GetString()); in GetDescription() 209 StreamString sstr; in GetDescription() local 210 sstr.Printf("%s%s%s Python class %s", Cascades() ? "" : " (not cascading)", in GetDescription() [all …]
|
D | CXXFunctionPointer.cpp | 25 StreamString sstr; in CXXFunctionPointerSummaryProvider() local 43 so_addr.Dump(&sstr, exe_ctx.GetBestExecutionContextScope(), in CXXFunctionPointerSummaryProvider() 51 if (sstr.GetSize() > 0) { in CXXFunctionPointerSummaryProvider() 52 stream.Printf("(%s)", sstr.GetData()); in CXXFunctionPointerSummaryProvider()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | PropertyName.java | 168 SerializableString sstr = _encodedSimple; in simpleAsEncoded() local 169 if (sstr == null) { in simpleAsEncoded() 171 sstr = new SerializedString(_simpleName); in simpleAsEncoded() 173 sstr = config.compileString(_simpleName); in simpleAsEncoded() 175 _encodedSimple = sstr; in simpleAsEncoded() 177 return sstr; in simpleAsEncoded()
|
/external/antlr/runtime/Cpp/tests/ |
D | t051.cpp | 95 stringstream sstr; in slurp() local 96 sstr << ifs.rdbuf(); in slurp() 97 return sstr.str(); in slurp()
|
D | t012.cpp | 184 stringstream sstr; in slurp() local 185 sstr << ifs.rdbuf(); in slurp() 186 return sstr.str(); in slurp()
|
/external/llvm-project/lldb/source/Utility/ |
D | DataExtractor.cpp | 915 StreamString sstr; in PutToLog() local 920 if (sstr.GetSize() > 0) { in PutToLog() 921 log->PutString(sstr.GetString()); in PutToLog() 922 sstr.Clear(); in PutToLog() 926 sstr.Printf("0x%8.8" PRIx64 ":", in PutToLog() 932 sstr.Printf(" %2.2x", GetU8(&offset)); in PutToLog() 936 sstr.Printf(" %c", llvm::isPrint(ch) ? ch : ' '); in PutToLog() 939 sstr.Printf(" %4.4x", GetU16(&offset)); in PutToLog() 942 sstr.Printf(" %8.8x", GetU32(&offset)); in PutToLog() 945 sstr.Printf(" %16.16" PRIx64, GetU64(&offset)); in PutToLog() [all …]
|
/external/eigen/Eigen/src/Core/ |
D | IO.h | 173 std::stringstream sstr; in print_matrix() local 174 sstr.copyfmt(s); in print_matrix() 175 sstr << m.coeff(i,j); in print_matrix() 176 width = std::max<Index>(width, Index(sstr.str().length())); in print_matrix()
|
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
D | EmulationStateARM.cpp | 325 StreamString sstr; in LoadStateFromDictionary() local 327 sstr.Clear(); in LoadStateFromDictionary() 328 sstr.Printf("r%d", i); in LoadStateFromDictionary() 329 ConstString reg_name(sstr.GetString()); in LoadStateFromDictionary() 345 sstr.Clear(); in LoadStateFromDictionary() 346 sstr.Printf("s%d", i); in LoadStateFromDictionary() 347 ConstString reg_name(sstr.GetString()); in LoadStateFromDictionary()
|
/external/catch2/include/internal/ |
D | catch_output_redirect.cpp | 103 std::stringstream sstr; in getContents() local 107 sstr << buffer; in getContents() 109 return sstr.str(); in getContents()
|
D | catch_matchers_floating.cpp | 197 Catch::ReusableStringStream sstr; in describe() local 198 sstr << "and " << m_target << " are within " << m_epsilon * 100. << "% of each other"; in describe() 199 return sstr.str(); in describe()
|
/external/llvm-project/lldb/source/Interpreter/ |
D | CommandObject.cpp | 683 StreamString sstr; in FormatHelpTextCallback() local 684 sstr << "One of the format names (or one-character names) that can be used " in FormatHelpTextCallback() 688 sstr.PutChar('\n'); in FormatHelpTextCallback() 692 sstr.Printf("'%c' or ", format_char); in FormatHelpTextCallback() 694 sstr.Printf("\"%s\"", FormatManager::GetFormatAsCString(f)); in FormatHelpTextCallback() 697 sstr.Flush(); in FormatHelpTextCallback() 699 help_text = std::string(sstr.GetString()); in FormatHelpTextCallback() 710 StreamString sstr; in LanguageTypeHelpTextCallback() local 711 sstr << "One of the following languages:\n"; in LanguageTypeHelpTextCallback() 713 Language::PrintAllLanguages(sstr, " ", "\n"); in LanguageTypeHelpTextCallback() [all …]
|
D | CommandAlias.cpp | 95 StreamString sstr; in CommandAlias() local 97 GetAliasExpansion(sstr); in CommandAlias() 100 "(%s) %s", sstr.GetData(), in CommandAlias()
|
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
D | ScriptInterpreterPython.cpp | 877 StreamString sstr; in GenerateUniqueName() local 883 sstr.Printf("%s_%d", base_name_wanted, functions_counter++); in GenerateUniqueName() 885 sstr.Printf("%s_%p", base_name_wanted, name_token); in GenerateUniqueName() 887 return std::string(sstr.GetString()); in GenerateUniqueName() 1352 StreamString sstr; in GenerateFunction() local 1371 sstr.Clear(); in GenerateFunction() 1372 sstr.Printf(" %s", input.GetStringAtIndex(i)); in GenerateFunction() 1373 auto_generated_function.AppendString(sstr.GetData()); in GenerateFunction() 1399 StreamString sstr; in GenerateTypeScriptFunction() local 1411 sstr.Printf("def %s (valobj, internal_dict):", in GenerateTypeScriptFunction() [all …]
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectHelp.cpp | 168 StreamString sstr; in DoExecute() local 169 m_interpreter.GetAlias(alias_full_name)->GetAliasExpansion(sstr); in DoExecute() 171 command[0].c_str(), sstr.GetData()); in DoExecute()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | FormatVariadic.h | 128 template <unsigned N> SmallString<N> sstr() const { in sstr() function 135 template <unsigned N> operator SmallString<N>() const { return sstr<N>(); }
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | FormatVariadic.h | 115 template <unsigned N> SmallString<N> sstr() const { in sstr() function 122 template <unsigned N> operator SmallString<N>() const { return sstr<N>(); }
|