/kernel/linux/linux-5.10/drivers/scsi/arm/ |
H A D | acornscsi.c | 118 #include <linux/string.h> 2766 * Purpose : return a string describing this interface 2768 * Returns : a constant string 2773 static char string[100], *p; in acornscsi_info() local 2775 p = string; in acornscsi_info() 2777 p += sprintf(string, "%s at port %08lX irq %d v%d.%d.%d" in acornscsi_info() 2789 return string; in acornscsi_info()
|
/kernel/linux/linux-6.6/drivers/scsi/arm/ |
H A D | acornscsi.c | 114 #include <linux/string.h> 2678 * Purpose : return a string describing this interface 2680 * Returns : a constant string 2685 static char string[100], *p; in acornscsi_info() local 2687 p = string; in acornscsi_info() 2689 p += sprintf(string, "%s at port %08lX irq %d v%d.%d.%d" in acornscsi_info() 2698 return string; in acornscsi_info()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | ULocaleTest.java | 317 * Compare two locale IDs. If they are equal, return 0. If `string' 318 * starts with `prefix' plus an additional element, that is, string == 321 static int loccmp(String string, String prefix) { in loccmp() argument 322 int slen = string.length(), in loccmp() 326 return string.equals("root") ? 0 : 1; in loccmp() 333 if (!string.startsWith(prefix)) return -1; /* mismatch */ in loccmp() 335 if (string.charAt(plen) == '_') return 1; in loccmp() 1247 assertEquals("en (string) in de", "Englisch", in TestDisplayLanguageWithDialectCoverage() 1249 assertEquals("en (string) in de (string)", "Englisc in TestDisplayLanguageWithDialectCoverage() [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-code-manager.cc | 221 std::string WasmCode::DebugName() const { in DebugName() 231 std::string name_buffer; in DebugName() 264 std::string fn_name = DebugName(); in LogCode() 274 std::string external_url_string(external_url.data(), external_url.size()); in LogCode() 357 std::string name = DebugName(); in MaybePrint()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | MachineVerifier.cpp | 80 #include <string> 298 const std::string Banner; 300 MachineVerifierPass(std::string banner = std::string()) in MachineVerifierPass() 325 FunctionPass *llvm::createMachineVerifierPass(const std::string &Banner) { in createMachineVerifierPass() 851 // The first two operands on INLINEASM are the asm string and global flags. in verifyInlineAsm() 857 report("Asm string must be an external symbol", MI); in verifyInlineAsm()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A D | LowerTypeTests.cpp | 79 #include <string> 110 static cl::opt<std::string> ClReadSummary( 115 static cl::opt<std::string> ClWriteSummary( 1035 "Second argument of llvm.type.test must be a metadata string"); in importTypeTest() 1051 std::string Name = F->getName(); in importFunction() 1355 std::string AsmStr, ConstraintStr; in createJumpTable() 1438 // We output the jump table as module-level inline asm string. The end result in buildBitSetsFromFunctionsNative()
|
/third_party/protobuf/python/google/protobuf/internal/ |
H A D | text_format_test.py | 39 import string namespace 847 # itself for string fields. It also demonstrates escaped binary data. 848 # The ur"" string prefix is unfortunately missing from Python 3 1200 for letter in string.ascii_uppercase[13:26]: 1202 for letter in reversed(string.ascii_uppercase[0:13]): 1205 % (letter,) for letter in string.ascii_uppercase)) 1454 ' str: "malformed string\n' # Missing closing quote. 1468 ' str: "malformed\n multiline\n string\n' 1647 packed_message.data = 'string' 1655 ' data: "string"\ [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineBlendOperationAdvancedTests.cpp | 218 const std::string generateTestName (struct BlendOperationAdvancedParam param) in generateTestName() 233 const std::string generateTestDescription () in generateTestDescription() 235 std::string result("Test advanced blend operations"); in generateTestDescription() 1531 const std::string& name, 1532 const std::string& description,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 51 #include <string> 506 const std::string& name, 507 const std::string& description, 520 const std::string& name, 521 const std::string& description,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context.cpp | 11 #include <string.h> 235 std::string GetObjectLabelFromPointer(GLsizei length, const GLchar *label) in GetObjectLabelFromPointer() 237 std::string labelName; in GetObjectLabelFromPointer() 241 labelName = std::string(label, labelLength); in GetObjectLabelFromPointer() 246 void GetObjectLabelBase(const std::string &objectLabel, 1147 std::string labelName = GetObjectLabelFromPointer(length, label); in objectLabel() 1160 std::string labelName = ""; in labelObject() 1164 labelName = std::string(label, labelLength); in labelObject() 1175 std::string labelName = GetObjectLabelFromPointer(length, label); in objectPtrLabel() 1188 const std::string in getObjectLabel() 7158 shaderSource(ShaderProgramID shader, GLsizei count, const GLchar *const *string, const GLint *length) shaderSource() argument [all...] |
/third_party/skia/third_party/externals/wuffs/release/c/ |
H A D | wuffs-v0.3.c | 55 #include <string.h> 75 // and build metadata are part of the string representation (such as 2925 // string, not just this current token. CHAIN_ETC_UTF_8 therefore distinguishes 2952 // When src is the empty string, multiple conversion algorithms are applicable 2954 // same empty dst string. 2974 // For a source string of "123" or "0x9A", it is valid for a tokenizer to 2980 // For a source string of "+123" or "-0x9A", only the first two are valid. 2982 // For a source string of "123.", only the first one is valid. 5051 // smallest number of digits so that parsing the resultant string will recover 5178 // - It takes a slice (a pointer and length), not a NUL-terminated C string 40114 std::pair<std::string, size_t> // global() member in std 40405 std::pair<std::string, size_t> split = DecodeJson_SplitJsonPointer( DecodeJson() member in std [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | TextureTest.cpp | 679 const std::string &positionAttribName, in ppoDrawQuad() 2676 std::string label = "TestKHR.DebugLabel"; in TEST_P() 2707 std::string label = "TestKHR.DebugLabel"; in TEST_P() 3680 drawQuad(blueProgram.get(), std::string(essl1_shaders::PositionAttrib()), 0.0f); in TEST_P() 3700 drawQuad(greenProgram.get(), std::string(essl1_shaders::PositionAttrib()), 0.0f); in TEST_P() 3716 drawQuad(texProgram.get(), std::string(essl1_shaders::PositionAttrib()), 0.0f); in TEST_P() 6763 void compileProgramWithTextureCounts(const std::string &vertexPrefix, 6766 const std::string &fragPrefix, 6813 const std::string &vertexShaderSource = vertexShaderStr.str(); 6814 const std::string [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 79 #include <string> 407 const std::map<std::string, GVSummaryMapTy> *ModuleToSummariesForIndex; 422 const std::map<std::string, GVSummaryMapTy> in IndexBitcodeWriter() 461 /// should be written to the module path string table. This hides the details 1135 /// Determine the encoding to use for the given string name and length. 1158 const std::string &DL = M.getDataLayoutStr(); in writeModuleInfo() 1167 std::map<std::string, unsigned> SectionMap; in writeModuleInfo() 1168 std::map<std::string, unsigned> GCMap; in writeModuleInfo() 2327 // Add the asm string. in writeConstants() 2328 const std::string in writeConstants() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | shmem.c | 59 #include <linux/string.h> 3916 size = memparse(param->string, &rest); in shmem_parse_one() 3929 ctx->blocks = memparse(param->string, &rest); in shmem_parse_one() 3935 ctx->inodes = memparse(param->string, &rest); in shmem_parse_one() 3983 if (mpol_parse_str(param->string, &ctx->mpol)) in shmem_parse_one() 4027 size = memparse(param->string, &rest); in shmem_parse_one() 4036 size = memparse(param->string, &rest); in shmem_parse_one() 4045 size = memparse(param->string, &rest); in shmem_parse_one() 4054 size = memparse(param->string, &rest); in shmem_parse_one()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cmsccoll.c | 32 #include "string.h" 1023 /* Test 2: Non-normal sequence in a string that extends to the last character*/ in TestIncrementalNormalize() 1024 /* of the string. Checks a couple of edge cases.*/ in TestIncrementalNormalize() 1047 /* Test 4: Embedded nulls do not terminate a string when length is specified.*/ in TestIncrementalNormalize() 2293 UChar string[256]; in TestBeforePrefixFailure() 2297 uStringLen = u_unescape(rule1, string, 256); in TestBeforePrefixFailure() 2299 coll = ucol_openRules(string, uStringLen, UCOL_DEFAULT, UCOL_DEFAULT, NULL, &status); in TestBeforePrefixFailure() 2302 it = ucol_openElements(coll, string, 0, &status); in TestBeforePrefixFailure() 2306 uStringLen = u_unescape(test[i], string, 256); in TestBeforePrefixFailure() 2307 ucol_setText(it, string, uStringLe in TestBeforePrefixFailure() 2336 UChar string[256]; TestPrefixCompose() local [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | mkntfs.c | 51 #include <string.h> 520 static BOOL mkntfs_parse_long(const char *string, const char *name, long *num) in mkntfs_parse_long() argument 525 if (!string || !name || !num) in mkntfs_parse_long() 533 tmp = strtol(string, &end, 0); in mkntfs_parse_long() 535 ntfs_log_error("Cannot understand the %s '%s'.\n", name, string); in mkntfs_parse_long() 546 static BOOL mkntfs_parse_llong(const char *string, const char *name, in mkntfs_parse_llong() argument 552 if (!string || !name || !num) in mkntfs_parse_llong() 560 tmp = strtoll(string, &end, 0); in mkntfs_parse_llong() 563 string); in mkntfs_parse_llong() 2205 * terminated char string o [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 84 #include <string> 436 /// (if the string only contains simple characters) or is surrounded with ""'s 458 /// (if the string only contains simple characters) or is surrounded with ""'s 1159 // Find the TypeId string in the map in getTypeIdSlot() 1322 // Check to make sure that the stringized number is not some string like in WriteConstantInternal() 1324 // that the string matches the "[-+]?[0-9]" regex. in WriteConstantInternal() 1337 // output the string in hexadecimal format! Note that loading and storing in WriteConstantInternal() 1420 // As a special case, print the array as a string if it is an array of in WriteConstantInternal() 2591 M->getModuleIdentifier().find('\n') == std::string::npos) in printModule() 2600 const std::string in printModule() [all...] |
/third_party/skia/src/sksl/codegen/ |
H A D | SkSLSPIRVCodeGenerator.cpp | 337 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, skstd::string_view string, in writeInstruction() argument 339 this->writeOpCode(opCode, 1 + (string.length() + 4) / 4, out); in writeInstruction() 340 this->writeString(string, out); in writeInstruction() 344 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, int32_t word1, skstd::string_view string, in writeInstruction() argument 346 this->writeOpCode(opCode, 2 + (string.length() + 4) / 4, out); in writeInstruction() 348 this->writeString(string, out); in writeInstruction() 352 skstd::string_view string, OutputStream& out) { in writeInstruction() 353 this->writeOpCode(opCode, 3 + (string.length() + 4) / 4, out); in writeInstruction() 356 this->writeString(string, out); in writeInstruction() 351 writeInstruction(SpvOp_ opCode, int32_t word1, int32_t word2, skstd::string_view string, OutputStream& out) writeInstruction() argument
|
/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
H A D | builder.cc | 597 error_ = "unknown expression type: " + std::string(expr->TypeInfo().name); in GenerateExpression() 1144 "invalid accessor in list: " + std::string(accessor->TypeInfo().name); in GenerateAccessorExpression() 2361 std::string(address_of->TypeInfo().name); in GenerateIntrinsicCall() 2370 std::string(array_expr->TypeInfo().name); in GenerateIntrinsicCall() 2669 error_ = "unknown method " + std::string(intrinsic->str()); in GenerateIntrinsicCall() 2679 "unable to determine operator for: " + std::string(intrinsic->str()); in GenerateIntrinsicCall() 3117 "unable to determine operator for: " + std::string(intrinsic->str()); in GenerateTextureIntrinsic() 3853 error_ = "Unknown statement: " + std::string(stmt->TypeInfo().name); in GenerateStatement() 3881 std::string type_name; in GenerateTypeIfNeeded()
|
/third_party/nghttp2/src/ |
H A D | shrpx_config.cc | 259 << expectedlen * 2 << " bytes hex encoded string"; in read_quic_secret_file() 337 std::string read_passwd_from_file(const StringRef &opt, in read_passwd_from_file() 339 std::string line; in read_passwd_from_file() 1061 << "backend: affinity-cookie-name: non empty string is expected"; in parse_downstream_params() 1133 LOG(ERROR) << "backend: group: empty string is not allowed"; in parse_downstream_params() 1181 // This returns at least 1 element (it could be empty string). We in parse_mapping() 1542 // must be NULL-terminated string. 1580 std::string path; in read_tls_sct_from_dir() 1670 std::string line; in parse_psk_secrets() 1698 << ": secret must be hex string a in parse_psk_secrets() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 55 #include <string> 134 const std::string& name, in addInstanceTestCaseWithPrograms() 148 std::string getString (const VkSampleCountFlagBits sampleCount) in getString() 1362 std::string declareSampleDataSSBO (void) in declareSampleDataSSBO() 1847 std::string testSuffix; in addCases() 1991 std::string getTestOptionFlagsString (const deUint32 flags) in getTestOptionFlagsString()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGISel.cpp | 106 #include <string> 142 static cl::opt<std::string> 779 std::string BlockName; in CodeGenAndEmitDAG() 1524 std::string InstStrStorage; in SelectAllBasicBlocks() 1574 std::string InstStrStorage; in SelectAllBasicBlocks() 3707 std::string msg;
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessBuffersTests.cpp | 54 #include <string> 519 std::string the_log = "The test of "; in LogFail() 603 std::string the_log = "Unexpected error occurred during the test of "; in LogError() 780 std::string the_log = "The test of "; in LogFail() 832 std::string the_log = "Unexpected error occurred during Test of "; in LogError() 2032 std::string access_string = "GL_MAP_WRITE_BIT"; in CompareWithReference()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 212 std::string InitType; in SetValue() 542 std::string Msg("Couldn't find class '" + Lex.getCurStrVal() + "'"); in ParseClassID() 790 /// Type ::= STRING // string type 992 TokError("expected list or string type argument in unary operator"); in ParseOperation() 999 TokError("expected list or string type argument in unary operator"); in ParseOperation() 1226 Error(InitLoc, Twine("expected int, bits, or string; got value of " in ParseOperation() 1489 Error(RHSLoc, Twine("expected list<string>, got type '") + in ParseOperation() 1839 std::string Val = Lex.getCurStrVal(); in ParseSimpleValue() 2250 // a string if necessary. in ParseValue() 2257 Twine("can't cast '") + LHS->getAsString() + "' to string"); in ParseValue() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsTextureStateQueryTests.cpp | 2535 tcu::TestCase* createIsTextureTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, glw::GLenum target) in createIsTextureTest() 2540 tcu::TestCase* createTexParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, QueryType queryType, glw::GLenum target, TesterType tester) in createTexParamTest() 2621 tcu::TestCase* createSamplerParamTest (tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const std::string& name, const std::string& description, StateQueryUtil::QueryType queryType, TesterType tester) in createSamplerParamTest()
|