/third_party/node/deps/icu-small/source/tools/genrb/ |
D | rbutil.c | 33 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR); in get_dirname() local 34 if (lastSlash != NULL) { in get_dirname() 35 lastSlash++; in get_dirname() 38 if(lastSlash>filename) { in get_dirname() 39 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname() 40 *(dirname + (lastSlash - filename)) = '\0'; in get_dirname() 52 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR); in get_basename() local 53 if (lastSlash != NULL) { in get_basename() 54 lastSlash++; in get_basename() 58 if(lastSlash>filename) { in get_basename() [all …]
|
/third_party/icu/icu4c/source/tools/genrb/ |
D | rbutil.c | 33 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_dirname() local 35 if(lastSlash>filename) { in get_dirname() 36 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname() 37 *(dirname + (lastSlash - filename)) = '\0'; in get_dirname() 49 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_basename() local 52 if(lastSlash>filename) { in get_basename() 53 uprv_strcpy(basename, lastSlash); in get_basename()
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | rbutil.c | 33 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_dirname() local 35 if(lastSlash>filename) { in get_dirname() 36 uprv_strncpy(dirname, filename, (lastSlash - filename)); in get_dirname() 37 *(dirname + (lastSlash - filename)) = '\0'; in get_dirname() 49 const char *lastSlash = uprv_strrchr(filename, U_FILE_SEP_CHAR) + 1; in get_basename() local 52 if(lastSlash>filename) { in get_basename() 53 uprv_strcpy(basename, lastSlash); in get_basename()
|
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/ |
D | from-url.js | 76 const lastSlash = pathname.lastIndexOf('/') constant 77 if (lastSlash > -1) { 78 user = decodeURIComponent(pathname.slice(0, lastSlash)) 83 project = decodeURIComponent(pathname.slice(lastSlash + 1))
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | AnyPartial.cs | 66 int lastSlash = typeUrl.LastIndexOf('/'); in GetTypeName() 67 return lastSlash == -1 ? "" : typeUrl.Substring(lastSlash + 1); in GetTypeName()
|
/third_party/skia/tools/lottiecap/ |
D | lottiecap.js | 191 let lastSlash = shortenedName.lastIndexOf('/'); 192 if (lastSlash !== -1) { 193 shortenedName = shortenedName.slice(lastSlash+1);
|
/third_party/node/lib/ |
D | path.js | 69 let lastSlash = -1; 81 if (lastSlash === i - 1 || dots === 1) { 97 lastSlash = i; 103 lastSlash = i; 114 res += `${separator}${StringPrototypeSlice(path, lastSlash + 1, i)}`; 116 res = StringPrototypeSlice(path, lastSlash + 1, i); 117 lastSegmentLength = i - lastSlash - 1; 119 lastSlash = i;
|
/third_party/skia/third_party/externals/angle2/util/posix/ |
D | crash_handler_posix.cpp | 562 size_t lastSlash = resolvedModule.rfind('/'); 563 ASSERT(lastSlash != std::string::npos); 564 resolvedModule = resolvedModule.substr(0, lastSlash + 1) + linkBuf;
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | NumberFormat.java | 1395 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local 1397 if ( lastSlash > firstSlash ) { in createInstance() 1399 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance() 1400 nsRuleSetName = nsDesc.substring(lastSlash+1); in createInstance()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1483 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local 1485 if ( lastSlash > firstSlash ) { in createInstance() 1487 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance() 1488 nsRuleSetName = nsDesc.substring(lastSlash+1); in createInstance()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | numfmt.cpp | 1443 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1444 if ( lastSlash > firstSlash ) { in makeInstance() 1448 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1449 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | numfmt.cpp | 1433 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1434 if ( lastSlash > firstSlash ) { in makeInstance() 1438 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1439 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/third_party/icu/icu4c/source/i18n/ |
D | numfmt.cpp | 1441 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1442 if ( lastSlash > firstSlash ) { in makeInstance() 1446 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1447 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/third_party/typescript/src/harness/ |
D | harnessIO.ts | 967 const lastSlash = ts.normalizeSlashes(fn).lastIndexOf("/"); constant 968 return fn.substr(lastSlash + 1).toLowerCase();
|
/third_party/libabigail/tests/lib/ |
D | catch.hpp | 9330 auto lastSlash = newName.find_last_of( "\\/" ); in set() local 9331 auto filename = ( lastSlash == std::string::npos ) in set() 9333 : newName.substr( lastSlash+1 ); in set() 13391 auto lastSlash = filename.find_last_of("\\/"); in applyFilenamesAsTags() local 13392 if (lastSlash != std::string::npos) { in applyFilenamesAsTags() 13393 filename.erase(0, lastSlash); in applyFilenamesAsTags()
|