Searched refs:pathSegment (Results 1 – 5 of 5) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/json/ |
D | CldrNode.java | 14 public static CldrNode createNode(String parent, String pathSegment, in createNode() argument 19 node.name = extractAttrs(pathSegment, node.distinguishingAttributes); in createNode() 23 throw new ParseException("Error in parsing \"" + pathSegment + " \":\"" + in createNode() 59 private static String extractAttrs(String pathSegment, in extractAttrs() argument 65 int ind1 = pathSegment.indexOf("[@", start); in extractAttrs() 68 trunk = pathSegment; in extractAttrs() 73 trunk = pathSegment.substring(0, ind1); in extractAttrs() 76 int ind2 = pathSegment.indexOf("=", ind1); in extractAttrs() 81 String attr = pathSegment.substring(ind1, ind2); in extractAttrs() 84 if (pathSegment.charAt(ind1) == '"') { in extractAttrs() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | HttpUrl.java | 736 public Builder addPathSegment(String pathSegment) { in addPathSegment() argument 737 if (pathSegment == null) throw new IllegalArgumentException("pathSegment == null"); in addPathSegment() 738 push(pathSegment, 0, pathSegment.length(), false, false); in addPathSegment() 750 public Builder setPathSegment(int index, String pathSegment) { in setPathSegment() argument 751 if (pathSegment == null) throw new IllegalArgumentException("pathSegment == null"); in setPathSegment() 753 pathSegment, 0, pathSegment.length(), PATH_SEGMENT_ENCODE_SET, false, false, false, true); in setPathSegment() 755 throw new IllegalArgumentException("unexpected path segment: " + pathSegment); in setPathSegment() 893 String pathSegment = encodedPathSegments.get(i); in reencodeForUri() local 895 canonicalize(pathSegment, PATH_SEGMENT_ENCODE_SET_URI, true, true, false, true)); in reencodeForUri()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | HttpUrl.java | 745 public Builder addPathSegment(String pathSegment) { in addPathSegment() argument 746 if (pathSegment == null) throw new IllegalArgumentException("pathSegment == null"); in addPathSegment() 747 push(pathSegment, 0, pathSegment.length(), false, false); in addPathSegment() 759 public Builder setPathSegment(int index, String pathSegment) { in setPathSegment() argument 760 if (pathSegment == null) throw new IllegalArgumentException("pathSegment == null"); in setPathSegment() 762 pathSegment, 0, pathSegment.length(), PATH_SEGMENT_ENCODE_SET, false, false, false, true); in setPathSegment() 764 throw new IllegalArgumentException("unexpected path segment: " + pathSegment); in setPathSegment() 902 String pathSegment = encodedPathSegments.get(i); in reencodeForUri() local 904 canonicalize(pathSegment, PATH_SEGMENT_ENCODE_SET_URI, true, true, false, true)); in reencodeForUri()
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | ResourceSplitter.java | 72 void push(String pathSegment) { in push() argument 80 sb.append(pathSegment).append("/"); in push()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | UrlComponentEncodingTester.java | 371 String pathSegment = url.pathSegments().get(0); in get() local 372 return pathSegment.substring(1, pathSegment.length() - 1); in get()
|