/external/tensorflow/tensorflow/tools/docs/ |
D | pretty_docs.py | 60 parts = ['# %s\n\n' % page_info.full_name] 63 parts.append('### Aliases:\n\n') 64 parts.extend('* `%s`\n' % name for name in page_info.aliases) 65 parts.append('\n') 68 parts.append(_build_signature(page_info)) 71 parts.append('\n\n') 72 parts.append(str(page_info.defined_in)) 74 parts.append(page_info.guides) 75 parts.append(page_info.doc.docstring) 76 parts.append(_build_function_details(page_info.doc.function_details)) [all …]
|
/external/grpc-grpc/test/core/slice/ |
D | slice_string_helpers_test.cc | 64 grpc_slice_buffer* parts; in test_strsplit() local 69 parts = in test_strsplit() 71 grpc_slice_buffer_init(parts); in test_strsplit() 74 grpc_slice_split(str, ", ", parts); in test_strsplit() 75 GPR_ASSERT(4 == parts->count); in test_strsplit() 76 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[0], "one")); in test_strsplit() 77 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[1], "two")); in test_strsplit() 78 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[2], "three")); in test_strsplit() 79 GPR_ASSERT(0 == grpc_slice_str_cmp(parts->slices[3], "four")); in test_strsplit() 80 grpc_slice_buffer_reset_and_unref(parts); in test_strsplit() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | ConfigurationV25.java | 75 ArrayList<String> parts = new ArrayList<String>(); in resourceQualifierString() local 78 parts.add("mcc" + config.mcc); in resourceQualifierString() 80 parts.add("mnc" + config.mnc); in resourceQualifierString() 88 parts.add(resourceQualifier); in resourceQualifierString() 94 parts.add("ldltr"); in resourceQualifierString() 97 parts.add("ldrtl"); in resourceQualifierString() 104 parts.add("sw" + config.smallestScreenWidthDp + "dp"); in resourceQualifierString() 108 parts.add("w" + config.screenWidthDp + "dp"); in resourceQualifierString() 112 parts.add("h" + config.screenHeightDp + "dp"); in resourceQualifierString() 117 parts.add("small"); in resourceQualifierString() [all …]
|
/external/skqp/infra/bots/recipe_modules/builder_name_schema/ |
D | builder_name_schema.py | 19 # Character which separates parts of a builder name. 77 def MakeBuilderName(**parts): argument 78 for v in parts.itervalues(): 80 raise ValueError('Parts cannot contain "%s"' % BUILDER_NAME_SEP) 84 def process(depth, parts): argument 88 role = parts.get(role_key) 90 raise ValueError('Invalid parts; missing key %s' % role_key) 93 raise ValueError('Invalid parts; unknown role %s' % role) 95 del parts[role_key] 98 value = parts.get(key) [all …]
|
/external/skia/infra/bots/recipe_modules/builder_name_schema/ |
D | builder_name_schema.py | 19 # Character which separates parts of a builder name. 77 def MakeBuilderName(**parts): argument 78 for v in parts.itervalues(): 80 raise ValueError('Parts cannot contain "%s"' % BUILDER_NAME_SEP) 84 def process(depth, parts): argument 88 role = parts.get(role_key) 90 raise ValueError('Invalid parts; missing key %s' % role_key) 93 raise ValueError('Invalid parts; unknown role %s' % role) 95 del parts[role_key] 98 value = parts.get(key) [all …]
|
/external/libbrillo/brillo/strings/ |
D | string_utils_unittest.cc | 17 std::vector<std::string> parts; in TEST() local 19 parts = string_utils::Split("", ",", false, false); in TEST() 20 EXPECT_EQ(0, parts.size()); in TEST() 22 parts = string_utils::Split("abc", ",", false, false); in TEST() 23 EXPECT_EQ(1, parts.size()); in TEST() 24 EXPECT_EQ("abc", parts[0]); in TEST() 26 parts = string_utils::Split(",a,bc , d, ,e, ", ",", true, true); in TEST() 27 EXPECT_EQ(4, parts.size()); in TEST() 28 EXPECT_EQ("a", parts[0]); in TEST() 29 EXPECT_EQ("bc", parts[1]); in TEST() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | LogicalGrouping.java | 58 XPathParts parts = new XPathParts(); in getPaths() local 59 parts.set(path); in getPaths() 62 String metazoneName = parts.getAttributeValue(3, "type"); in getPaths() 69 String dayName = parts.size() > 7 ? parts.getAttributeValue(7, "type") : null; in getPaths() 73 parts.setAttribute("day", "type", str); in getPaths() 74 result.add(parts.toString()); in getPaths() 81 String dayPeriodType = parts.findAttributeValue("dayPeriod", "type"); in getPaths() 85 parts.setAttribute("dayPeriod", "type", s); in getPaths() 86 result.add(parts.toString()); in getPaths() 91 …DayPeriodInfo.Type dayPeriodContext = DayPeriodInfo.Type.fromString(parts.findAttributeValue("dayP… in getPaths() [all …]
|
/external/skqp/infra/bots/ |
D | gen_tasks.go | 108 alternateSwarmDimensions func(parts map[string]string) []string 112 internalHardwareLabelFn func(parts map[string]string) *int 334 func internalHardwareLabel(parts map[string]string) *int { 336 return internalHardwareLabelFn(parts) 363 func deriveCompileTaskName(jobName string, parts map[string]string) string { 366 } else if parts["role"] == "Test" || parts["role"] == "Perf" || parts["role"] == "Calmbench" { 367 task_os := parts["os"] 369 if val := parts["extra_config"]; val != "" { 402 "compiler": parts["compiler"], 403 "target_arch": parts["arch"], [all …]
|
/external/skia/infra/bots/ |
D | gen_tasks.go | 106 alternateSwarmDimensions func(parts map[string]string) []string 110 internalHardwareLabelFn func(parts map[string]string) *int 333 func internalHardwareLabel(parts map[string]string) *int { 335 return internalHardwareLabelFn(parts) 362 func deriveCompileTaskName(jobName string, parts map[string]string) string { 365 } else if parts["role"] == "Test" || parts["role"] == "Perf" || parts["role"] == "Calmbench" { 366 task_os := parts["os"] 368 if val := parts["extra_config"]; val != "" { 403 "compiler": parts["compiler"], 404 "target_arch": parts["arch"], [all …]
|
/external/epid-sdk/ |
D | SConstruct | 25 from parts import * 32 """Get Parts related versions given SCons environment env""" 35 'parts': str(PartsExtensionVersion())}) 126 'parts': 'Parts Version', 147 ipp_parts = ['ext/ipp/ippcp.parts'] 148 utest_parts = ['ext/gtest/gtest.parts', 149 'epid/common-testhelper/common-testhelper.parts'] 150 common_parts = ['epid/common/common.parts'] 151 member_parts = ['epid/member/member.parts'] 152 verifier_parts = ['epid/verifier/verifier.parts'] [all …]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ExtractIsoCurrencyData.java | 45 String[][] parts = new String[5][5]; in main() local 64 for (int i = 0; i < parts.length; ++i) { in main() 66 for (int j = 0; j < parts[i].length; ++j) { in main() 67 parts[i][j] = parts[i][j].replace(" ", " "); in main() 68 parts[i][j] = parts[i][j].replace("\u2020", " "); in main() 69 parts[i][j] = parts[i][j].replace("\u2021", " "); in main() 70 parts[i][j] = parts[i][j].replace("\u00A0", " "); in main() 71 parts[i][j] = parts[i][j].trim(); in main() 72 empty &= parts[i][j].length() == 0; in main() 77 if (parts[i][0].length() == 0) { in main() [all …]
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | StringRefTest.cpp | 144 SmallVector<StringRef, 5> parts; in TEST() local 148 StringRef(",ab,,c,").split(parts, ",", -1, false); in TEST() 149 EXPECT_TRUE(parts == expected); in TEST() 151 expected.clear(); parts.clear(); in TEST() 154 StringRef(",ab,,c,").split(parts, ",", -1, true); in TEST() 155 EXPECT_TRUE(parts == expected); in TEST() 157 expected.clear(); parts.clear(); in TEST() 159 StringRef("").split(parts, ",", -1, true); in TEST() 160 EXPECT_TRUE(parts == expected); in TEST() 162 expected.clear(); parts.clear(); in TEST() [all …]
|
/external/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 151 SmallVector<StringRef, 5> parts; in TEST() local 155 StringRef(",ab,,c,").split(parts, ",", -1, false); in TEST() 156 EXPECT_TRUE(parts == expected); in TEST() 158 expected.clear(); parts.clear(); in TEST() 161 StringRef(",ab,,c,").split(parts, ",", -1, true); in TEST() 162 EXPECT_TRUE(parts == expected); in TEST() 164 expected.clear(); parts.clear(); in TEST() 166 StringRef("").split(parts, ",", -1, true); in TEST() 167 EXPECT_TRUE(parts == expected); in TEST() 169 expected.clear(); parts.clear(); in TEST() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Joiner.java | 92 * Appends the string representation of each of {@code parts}, using the previously configured 95 public <A extends Appendable> A appendTo(A appendable, Iterable<?> parts) throws IOException { in appendTo() argument 96 return appendTo(appendable, parts.iterator()); in appendTo() 100 * Appends the string representation of each of {@code parts}, using the previously configured 105 public <A extends Appendable> A appendTo(A appendable, Iterator<?> parts) throws IOException { in appendTo() argument 107 if (parts.hasNext()) { in appendTo() 108 appendable.append(toString(parts.next())); in appendTo() 109 while (parts.hasNext()) { in appendTo() 111 appendable.append(toString(parts.next())); in appendTo() 118 * Appends the string representation of each of {@code parts}, using the previously configured [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/utils/ |
D | generate_language_headers.py | 86 parts = [] 88 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 89 parts.append('') 93 parts.append('#ifndef {}'.format(guard)) 94 parts.append('#define {}'.format(guard)) 95 parts.append('') 97 parts.append(self.cpp_guard_preamble()) 100 parts.append(self.const_definition(grammar.name, 'Version', grammar.version)) 103 parts.append(self.const_definition(grammar.name, 'Revision', grammar.revision)) 105 parts.append('') [all …]
|
/external/deqp-deps/SPIRV-Tools/utils/ |
D | generate_language_headers.py | 86 parts = [] 88 parts.extend(["{}{}".format(self.comment_prefix(), f) for f in grammar.copyright]) 89 parts.append('') 93 parts.append('#ifndef {}'.format(guard)) 94 parts.append('#define {}'.format(guard)) 95 parts.append('') 97 parts.append(self.cpp_guard_preamble()) 100 parts.append(self.const_definition(grammar.name, 'Version', grammar.version)) 103 parts.append(self.const_definition(grammar.name, 'Revision', grammar.revision)) 105 parts.append('') [all …]
|
/external/lzma/CPP/7zip/UI/Common/ |
D | ExtractingFilePath.cpp | 178 void Correct_FsPath(bool absIsAllowed, bool keepAndReplaceEmptyPrefixes, UStringVector &parts, bool… in Correct_FsPath() argument 188 if (parts[0].IsEmpty()) in Correct_FsPath() 192 if (parts.Size() > 1 && parts[1].IsEmpty()) in Correct_FsPath() 195 if (parts.Size() > 2 && parts[2] == L"?") in Correct_FsPath() 198 if (parts.Size() > 3 && NWindows::NFile::NName::IsDrivePath2(parts[3])) in Correct_FsPath() 208 else if (NWindows::NFile::NName::IsDrivePath2(parts[0])) in Correct_FsPath() 217 UString &ds = parts[i - 1]; in Correct_FsPath() 220 parts.Insert(i, ds.Ptr(2)); in Correct_FsPath() 230 for (; i < parts.Size();) in Correct_FsPath() 232 UString &s = parts[i]; in Correct_FsPath() [all …]
|
/external/apache-http/android/src/com/android/internal/http/multipart/ |
D | MultipartEntity.java | 57 * a series of parts. Each part is expected to contain a content-disposition 71 * Part[] parts = { 76 * new MultipartRequestEntity(parts, filePost.getParams()) 117 /** The MIME parts as set by the constructor */ 118 protected Part[] parts; field in MultipartEntity 127 * Creates a new multipart entity containing the given parts. 128 * @param parts The parts to include. 131 public MultipartEntity(Part[] parts, HttpParams params) { in MultipartEntity() argument 132 if (parts == null) { in MultipartEntity() 133 throw new IllegalArgumentException("parts cannot be null"); in MultipartEntity() [all …]
|
D | Part.java | 351 * Write all parts and the last boundary to the specified output stream. 354 * @param parts The parts to write. 356 * @throws IOException If an I/O error occurs while writing the parts. 358 public static void sendParts(OutputStream out, final Part[] parts) in sendParts() argument 360 sendParts(out, parts, DEFAULT_BOUNDARY_BYTES); in sendParts() 364 * Write all parts and the last boundary to the specified output stream. 367 * @param parts The parts to write. 370 * @throws IOException If an I/O error occurs while writing the parts. 374 public static void sendParts(OutputStream out, Part[] parts, byte[] partBoundary) in sendParts() argument 377 if (parts == null) { in sendParts() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ExampleGenerator.java | 163 private XPathParts parts = new XPathParts(); field in ExampleGenerator 307 parts.set(xpath); in getExampleHtml() 308 if (parts.contains("dateRangePattern")) { // {0} - {1} in getExampleHtml() 310 } else if (parts.contains("timeZoneNames")) { in getExampleHtml() 312 } else if (parts.contains("localeDisplayNames")) { in getExampleHtml() 313 result = handleDisplayNames(xpath, parts, value); in getExampleHtml() 314 } else if (parts.contains("currency")) { in getExampleHtml() 316 } else if (parts.contains("dayPeriods")) { in getExampleHtml() 318 } else if (parts.contains("pattern") || parts.contains("dateFormatItem")) { in getExampleHtml() 319 if (parts.contains("calendar")) { in getExampleHtml() [all …]
|
D | CheckZones.java | 51 XPathParts parts = new XPathParts(null, null); field in CheckZones 66 parts.set(path); in handleCheck() 68 String zone = parts.getAttributeValue(3, "type"); in handleCheck() 70 if (parts.containsAttribute("from")) in handleCheck() 71 from = parts.getAttributeValue(4, "from"); in handleCheck() 75 if (parts.containsAttribute("to")) in handleCheck() 76 to = parts.getAttributeValue(4, "to"); in handleCheck() 115 public static String exampleTextForXpath(XPathParts parts, TimezoneFormatter timezoneFormatter, in exampleTextForXpath() argument 117 parts.set(path); in exampleTextForXpath() 118 if (parts.containsElement("zone")) { in exampleTextForXpath() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 198 SmallVector<StringRef, 5> parts; in TEST() local 202 StringRef(",ab,,c,").split(parts, ",", -1, false); in TEST() 203 EXPECT_TRUE(parts == expected); in TEST() 205 expected.clear(); parts.clear(); in TEST() 208 StringRef(",ab,,c,").split(parts, ",", -1, true); in TEST() 209 EXPECT_TRUE(parts == expected); in TEST() 211 expected.clear(); parts.clear(); in TEST() 213 StringRef("").split(parts, ",", -1, true); in TEST() 214 EXPECT_TRUE(parts == expected); in TEST() 216 expected.clear(); parts.clear(); in TEST() [all …]
|
/external/openssh/openbsd-compat/ |
D | inet_aton.c | 93 u_int parts[4]; in inet_aton() local 94 u_int *pp = parts; in inet_aton() 131 if (pp >= parts + 3) in inet_aton() 145 * the number of parts specified. in inet_aton() 147 n = pp - parts + 1; in inet_aton() 157 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton() 159 val |= parts[0] << 24; in inet_aton() 163 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton() 165 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton() 169 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) in inet_aton() [all …]
|
/external/python/setuptools/setuptools/_vendor/packaging/ |
D | version.py | 140 parts = [] 145 while parts and parts[-1] == "*final-": 146 parts.pop() 148 # remove trailing zeros from each series of numeric parts 149 while parts and parts[-1] == "00000000": 150 parts.pop() 152 parts.append(part) 153 parts = tuple(parts) 155 return epoch, parts 237 parts = [] [all …]
|
/external/python/setuptools/pkg_resources/_vendor/packaging/ |
D | version.py | 140 parts = [] 145 while parts and parts[-1] == "*final-": 146 parts.pop() 148 # remove trailing zeros from each series of numeric parts 149 while parts and parts[-1] == "00000000": 150 parts.pop() 152 parts.append(part) 153 parts = tuple(parts) 155 return epoch, parts 237 parts = [] [all …]
|