Home
last modified time | relevance | path

Searched refs:colonPos (Results 1 – 15 of 15) sorted by relevance

/external/guava/android/guava/src/com/google/common/net/
DHostAndPort.java178 int colonPos = hostPortString.indexOf(':'); in fromString() local
179 if (colonPos >= 0 && hostPortString.indexOf(':', colonPos + 1) == -1) { in fromString()
181 host = hostPortString.substring(0, colonPos); in fromString()
182 portString = hostPortString.substring(colonPos + 1); in fromString()
186 hasBracketlessColons = (colonPos >= 0); in fromString()
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java178 int colonPos = hostPortString.indexOf(':'); in fromString() local
179 if (colonPos >= 0 && hostPortString.indexOf(':', colonPos + 1) == -1) { in fromString()
181 host = hostPortString.substring(0, colonPos); in fromString()
182 portString = hostPortString.substring(colonPos + 1); in fromString()
186 hasBracketlessColons = (colonPos >= 0); in fromString()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/
DXMPPathParser.java399 int colonPos = qualName.indexOf(':'); in verifyQualName() local
400 if (colonPos > 0) in verifyQualName()
402 String prefix = qualName.substring(0, colonPos); in verifyQualName()
482 int colonPos = rootProp.indexOf(':'); in verifyXPathRoot() local
483 if (colonPos < 0) in verifyXPathRoot()
496 verifySimpleXMLName(rootProp.substring(0, colonPos)); in verifyXPathRoot()
497 verifySimpleXMLName(rootProp.substring(colonPos)); in verifyXPathRoot()
499 prefix = rootProp.substring(0, colonPos + 1); in verifyXPathRoot()
/external/gptfdisk/
Ddiskio-windows.cc39 size_t colonPos; in MakeRealName() local
41 colonPos = userFilename.find(':', 0); in MakeRealName()
42 if ((colonPos != string::npos) && (colonPos <= 3)) { in MakeRealName()
44 realFilename += userFilename.substr(0, colonPos); in MakeRealName()
/external/lzma/CPP/Windows/
DFileFind.cpp452 int colonPos = FindAltStreamColon(path); in Find() local
453 if (colonPos >= 0 && path[(unsigned)colonPos + 1] != 0) in Find()
455 UString streamName = fs2us(path + (unsigned)colonPos); in Find()
457 filePath.DeleteFrom(colonPos); in Find()
470 (colonPos == 2 || colonPos == 3 && filePath[2] == '\\')) in Find()
475 if (colonPos == 2) in Find()
DFileName.cpp218 int colonPos = -1; in FindAltStreamColon() local
223 return colonPos; in FindAltStreamColon()
226 if (colonPos < 0) in FindAltStreamColon()
227 colonPos = i; in FindAltStreamColon()
231 colonPos = -1; in FindAltStreamColon()
/external/cronet/third_party/boringssl/src/ssl/test/runner/
Dtls.go126 colonPos := strings.LastIndex(addr, ":")
127 if colonPos == -1 {
128 colonPos = len(addr)
130 hostname := addr[:colonPos]
/external/boringssl/src/ssl/test/runner/
Dtls.go126 colonPos := strings.LastIndex(addr, ":")
127 if colonPos == -1 {
128 colonPos = len(addr)
130 hostname := addr[:colonPos]
/external/doclava/src/com/google/doclava/
DCompatInfo.java111 int colonPos = sourcePosition.indexOf(":"); in sourcePosition() local
112 if (colonPos == -1) { in sourcePosition()
115 mSourceFile = sourcePosition.substring(0, colonPos); in sourcePosition()
117 mSourceLine = Integer.parseInt(sourcePosition.substring(colonPos + 1)); in sourcePosition()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DMatchValue.java53 int colonPos = command.indexOf('/'); in of() local
55 if (colonPos >= 0) { in of()
56 subargument = command.substring(colonPos + 1); in of()
57 command = command.substring(0, colonPos); in of()
DDtdData.java237 int colonPos = commentIn.indexOf(':'); in addComment() local
238 if (colonPos < 0) { in addComment()
242 String command = commentIn.substring(0, colonPos); in addComment()
243 String argument = commentIn.substring(colonPos + 1); in addComment()
/external/lzma/CPP/7zip/UI/Common/
DArchiveExtractCallback.cpp1201 int colonPos = NName::FindAltStreamColon(fullProcessedPath); in GetStream() local
1202 if (colonPos >= 0 && fullProcessedPath[(unsigned)colonPos + 1] != 0) in GetStream()
1205 parentFsPath.DeleteFrom(colonPos); in GetStream()
DUpdate.cpp614 int colonPos = FindAltStreamColon_in_Path(ai.Name); in Compress() local
615 if (colonPos >= 0) in Compress()
617 UString mainName = ai.Name.Left(colonPos); in Compress()
626 dest += ai.Name.Ptr(colonPos + 1); in Compress()
DOpenArchive.cpp766 int colonPos = -1; in FindAltStreamColon_in_Path() local
771 return colonPos; in FindAltStreamColon_in_Path()
774 if (colonPos < 0) in FindAltStreamColon_in_Path()
775 colonPos = i; in FindAltStreamColon_in_Path()
779 colonPos = -1; in FindAltStreamColon_in_Path()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DShowLocaleCoverage.java272 int colonPos = directories.indexOf(':'); in main() local
273 if (colonPos >= 0) { in main()
274 base = directories.substring(0, colonPos).trim(); in main()
275 directories = directories.substring(colonPos + 1).trim(); in main()