/foundation/filemanagement/app_file_service/interfaces/innerkits/native/remote_file_share/src/ |
H A D | remote_file_share.cpp | 128 fileName = fileName.substr(firstSlash + 1, fileName.size() - firstSlash); in GetFileName() 512 part = sandboxPath.substr(pos + 1); in TransRemoteUriToLocal()
|
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_share/src/ |
H A D | file_share.cpp | 218 subPath = path.substr(0, index); in MakeDir() 286 sharePathDir = info.sharePath_[i].substr(0, posLast); in PreparePreShareDir()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_file/ |
H A D | file_n_exporter.cpp | 157 return NVal::CreateUTF8String(env, path.substr(pos + 1)).val_; in GetName() 194 return NVal::CreateUTF8String(env, path.substr(0, pos)).val_; in GetParent()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | listfile.cpp | 162 string suffixStr = string(filename.d_name).substr(found);
in FilterSuffix() 318 dirents[i] = dirents[i].substr(path.length());
in DoListFileVector2NV()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 326 #define ASSERT_HAS_SUBSTR(str, substr, name) ({ \ 329 const char *___substr = substr; \
|
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_prs.sh | 365 S=$(expr substr $CMD 1 1) 494 EVAL=$(expr substr $STATE 2 2)
|
/test/testfwk/developer_test/aw/cxx/distributed/ |
H A D | distributed_major.cpp | 67 ipaddr = iplist.substr(pos, posend - pos);
in Init() 69 ipaddr = iplist.substr(pos);
in Init()
|
/third_party/glslang/glslang/ResourceLimits/ |
H A D | ResourceLimits.cpp | 295 const std::string tokenStr = configStr.substr(token_s, token_e-token_s); in DecodeResourceLimits() 296 const std::string valueStr = configStr.substr(value_s, value_e-value_s); in DecodeResourceLimits()
|
/third_party/gn/src/gn/ |
H A D | command_args.cc | 75 std::string line_stripped(line.substr(line.find('#') + 1)); in StripHashFromLine() 81 return line_stripped.substr(1); in StripHashFromLine()
|
H A D | command_refs.cc | 366 base::ReadFileToString(UTF8ToFilePath(args[i].substr(1)), &contents); 368 Err(Location(), "Response file " + args[i].substr(1) + " not found.")
|
H A D | rust_project_writer.cc | 145 auto value = arg.substr(prefix.size()); in FindArgValueAfterPrefix() 158 auto value = arg.substr(prefix.size()); in FindAllArgValuesAfterPrefix()
|
/third_party/libwebsockets/test-apps/ |
H A D | test.js | 171 u = u.substr(8); 175 u = u.substr(7);
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/ |
H A D | test.js | 171 u = u.substr(8); 175 u = u.substr(7);
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_instr.cpp | 71 if (str.substr(0, prefix.length()) != prefix) { in int_from_string_with_prefix() 76 std::stringstream help(str.substr(prefix.length())); in int_from_string_with_prefix()
|
/third_party/node/src/ |
H A D | debug_utils.cc | 73 std::string wanted = ToLower(debug_categories.substr(0, comma_pos)); in Parse() 87 debug_categories = debug_categories.substr(comma_pos + 1); in Parse()
|
/third_party/musl/Benchmark/musl/ |
H A D | benchmark_framework.cpp | 202 std::string prefix = pattern.substr(0, jsonwildcard); in MatchFuncNameInJson() 311 return str.substr(first, (last - first + 1)); in Trim()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferViewCreateTests.cpp | 431 const std::string formatName = de::toLower(getFormatName((VkFormat)format)).substr(10); in createBufferViewCreateTests() 434 const std::string testName = de::toLower(getFormatName((VkFormat)format)).substr(10); in createBufferViewCreateTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferViewCreateTests.cpp | 431 const std::string formatName = de::toLower(getFormatName((VkFormat)format)).substr(10); in createBufferViewCreateTests() 434 const std::string testName = de::toLower(getFormatName((VkFormat)format)).substr(10); in createBufferViewCreateTests()
|
/third_party/vk-gl-cts/executor/ |
H A D | xeTestCase.cpp | 76 components.push_back(pathStr.substr(compStart, pos-compStart)); in splitPath() 82 components.push_back(pathStr.substr(compStart)); in splitPath()
|
/third_party/vk-gl-cts/external/amber/src/src/vkscript/ |
H A D | parser.cc | 363 auto type = parser.Parse(fmt_name.substr(1, fmt_name.length())); in ProcessVertexDataBlock() 367 fmt_name.substr(1, fmt_name.length()))); in ProcessVertexDataBlock()
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
H A D | val_layout_test.cpp | 166 // Creates a new vector which removes the string if the substr is found in the 168 // NOTE: This will not work correctly if there are two instances of substr in 170 std::vector<std::string> GenerateCode(std::string substr, int order) { in GenerateCode() argument 176 return std::string::npos == str.find(substr); in GenerateCode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
H A D | val_layout_test.cpp | 166 // Creates a new vector which removes the string if the substr is found in the 168 // NOTE: This will not work correctly if there are two instances of substr in 170 std::vector<std::string> GenerateCode(std::string substr, int order) { in GenerateCode() argument 176 return std::string::npos == str.find(substr); in GenerateCode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Passes/ |
H A D | PassBuilder.h | 751 PipelineName = PipelineName.substr(11, PipelineName.size() - 12); in parseAnalysisUtilityPasses() 760 PipelineName = PipelineName.substr(8, PipelineName.size() - 9); in parseAnalysisUtilityPasses()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/ |
H A D | BPFAsmParser.cpp | 390 getLexer().getTok().getString().substr(0, 1), S)); in parseOperandAsOperator() 392 getLexer().getTok().getString().substr(1, 1), S)); in parseOperandAsOperator()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | importer.cc | 284 path = "\\\\" + StringReplace(path.substr(2), "\\", "/", true); in CanonicalizePath() 373 std::string after_prefix = filename.substr(after_prefix_start); in ApplyMapping()
|