Home
last modified time | relevance | path

Searched refs:substr (Results 926 - 950 of 3188) sorted by relevance

1...<<31323334353637383940>>...128

/foundation/filemanagement/app_file_service/interfaces/innerkits/native/remote_file_share/src/
H A Dremote_file_share.cpp128 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 Dfile_share.cpp218 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 Dfile_n_exporter.cpp157 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 Dlistfile.cpp162 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 Dtest_progs.h326 #define ASSERT_HAS_SUBSTR(str, substr, name) ({ \
329 const char *___substr = substr; \
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh365 S=$(expr substr $CMD 1 1)
494 EVAL=$(expr substr $STATE 2 2)
/test/testfwk/developer_test/aw/cxx/distributed/
H A Ddistributed_major.cpp67 ipaddr = iplist.substr(pos, posend - pos); in Init()
69 ipaddr = iplist.substr(pos); in Init()
/third_party/glslang/glslang/ResourceLimits/
H A DResourceLimits.cpp295 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 Dcommand_args.cc75 std::string line_stripped(line.substr(line.find('#') + 1)); in StripHashFromLine()
81 return line_stripped.substr(1); in StripHashFromLine()
H A Dcommand_refs.cc366 base::ReadFileToString(UTF8ToFilePath(args[i].substr(1)), &contents);
368 Err(Location(), "Response file " + args[i].substr(1) + " not found.")
H A Drust_project_writer.cc145 auto value = arg.substr(prefix.size()); in FindArgValueAfterPrefix()
158 auto value = arg.substr(prefix.size()); in FindAllArgValuesAfterPrefix()
/third_party/libwebsockets/test-apps/
H A Dtest.js171 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 Dtest.js171 u = u.substr(8);
175 u = u.substr(7);
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_instr.cpp71 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 Ddebug_utils.cc73 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 Dbenchmark_framework.cpp202 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 DvktApiBufferViewCreateTests.cpp431 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 DvktApiBufferViewCreateTests.cpp431 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 DxeTestCase.cpp76 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 Dparser.cc363 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 Dval_layout_test.cpp166 // 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 Dval_layout_test.cpp166 // 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 DPassBuilder.h751 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 DBPFAsmParser.cpp390 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 Dimporter.cc284 path = "\\\\" + StringReplace(path.substr(2), "\\", "/", true); in CanonicalizePath()
373 std::string after_prefix = filename.substr(after_prefix_start); in ApplyMapping()

Completed in 22 milliseconds

1...<<31323334353637383940>>...128