/external/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()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | TypeUtils.java | 56 int lastSlash = type.lastIndexOf('/'); in getPackage() local 57 if (lastSlash < 0) { in getPackage() 60 return type.substring(1, lastSlash); in getPackage()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | AnyPartial.cs | 58 int lastSlash = typeUrl.LastIndexOf('/'); in GetTypeName() 59 return lastSlash == -1 ? "" : typeUrl.Substring(lastSlash + 1); in GetTypeName()
|
/external/emma/core/java12/com/vladium/util/ |
D | Descriptors.java | 177 int lastSlash = -1; in typeDescriptorToJavaName() local 180 if (descriptor [s] == '/') lastSlash = s; in typeDescriptorToJavaName() 183 … for (start = lastSlash > 0 ? lastSlash + 1 : start; descriptor [start] != ';'; ++ start) in typeDescriptorToJavaName()
|
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
D | ExtensionNamespacesManager.java | 171 int lastSlash = className.lastIndexOf("/"); in defineJavaNamespace() local 172 if (-1 != lastSlash) in defineJavaNamespace() 173 className = className.substring(lastSlash + 1); in defineJavaNamespace()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberFormat.java | 1321 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local 1323 if ( lastSlash > firstSlash ) { in createInstance() 1325 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance() 1326 nsRuleSetName = nsDesc.substring(lastSlash+1); in createInstance()
|
/external/swiftshader/third_party/PowerVR_SDK/Shell/ |
D | PVRShell.cpp | 1453 char* lastSlash = strrchr(m_pReadPath, PVRSHELL_DIR_SYM); in SetReadPath() local 1455 if(lastSlash) in SetReadPath() 1456 lastSlash[1] = 0; in SetReadPath() 1471 char* lastSlash = strrchr(m_pWritePath, PVRSHELL_DIR_SYM); in SetWritePath() local 1473 if(lastSlash) in SetWritePath() 1474 lastSlash[1] = 0; in SetWritePath()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberFormat.java | 1412 int lastSlash = nsDesc.lastIndexOf("/"); in createInstance() local 1414 if ( lastSlash > firstSlash ) { in createInstance() 1416 nsRuleSetGroup = nsDesc.substring(firstSlash+1,lastSlash); in createInstance() 1417 nsRuleSetName = nsDesc.substring(lastSlash+1); in createInstance()
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | LambdaDesugaring.java | 365 int lastSlash = internalClassName.lastIndexOf('/'); in packageName() local 366 return lastSlash > 0 ? internalClassName.substring(0, lastSlash) : ""; in packageName()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
D | URI.java | 508 int lastSlash = basePath.lastIndexOf('/'); in initialize() local 510 if (lastSlash != -1) in initialize() 512 path = basePath.substring(0, lastSlash + 1); in initialize()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | URI.java | 528 int lastSlash = basePath.lastIndexOf('/'); in initialize() local 530 if (lastSlash != -1) in initialize() 532 path = basePath.substring(0, lastSlash + 1); in initialize()
|
/external/icu/icu4c/source/i18n/ |
D | numfmt.cpp | 1447 int32_t lastSlash = nsDesc.lastIndexOf(gSlash); in makeInstance() local 1448 if ( lastSlash > firstSlash ) { in makeInstance() 1452 nsRuleSetGroup.setTo(nsDesc,firstSlash+1,lastSlash-firstSlash-1); in makeInstance() 1453 nsRuleSetName.setTo(nsDesc,lastSlash+1); in makeInstance()
|
/external/emma/core/java12/com/vladium/emma/instr/ |
D | InstrVisitor.java | 2034 final int lastSlash = fullName.lastIndexOf ('/'); in setClassName() local 2035 if (lastSlash < 0) in setClassName() 2042 if ($assert.ENABLED) $assert.ASSERT (lastSlash < fullName.length () - 1, in setClassName() 2045 m_classPackageName = fullName.substring (0, lastSlash); in setClassName() 2046 m_className = fullName.substring (lastSlash + 1); in setClassName()
|
/external/skqp/tools/bookmaker/ |
D | includeWriter.cpp | 1440 size_t lastSlash = includeMapper.first.rfind('/'); in populate() local 1441 if (string::npos == lastSlash) { in populate() 1442 lastSlash = includeMapper.first.rfind('\\'); in populate() 1444 if (string::npos == lastSlash || lastSlash >= includeMapper.first.length() - 1) { in populate() 1447 string fileName = includeMapper.first.substr(lastSlash + 1); in populate()
|
/external/skia/tools/bookmaker/ |
D | includeWriter.cpp | 1542 size_t lastSlash = includeMapper.first.rfind('/'); in populate() local 1543 if (string::npos == lastSlash) { in populate() 1544 lastSlash = includeMapper.first.rfind('\\'); in populate() 1546 if (string::npos == lastSlash || lastSlash >= includeMapper.first.length() - 1) { in populate() 1549 string fileName = includeMapper.first.substr(lastSlash + 1); in populate()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Grammar.java | 581 int lastSlash = saneFile.lastIndexOf('/'); in setName() local 582 String onlyFileName = saneFile.substring(lastSlash+1, fileName.length()); in setName()
|