/external/jcommander/src/main/java/com/beust/jcommander/ |
WrappedParameter.java | 45 public String[] names() { method in class:WrappedParameter 46 return m_parameter != null ? m_parameter.names() : m_dynamicParameter.names();
|
/external/libtextclassifier/common/ |
workspace.h | 77 std::vector<std::string> &names = workspace_names_[id]; local 78 for (int i = 0; i < names.size(); ++i) { 79 if (names[i] == name) return i; 81 names.push_back(name); 82 return names.size() - 1; 99 // Workspace type names, indexed as workspace_types_[typeid]. 102 // Workspace names, indexed as workspace_names_[typeid][workspace].
|
/external/llvm/include/llvm/Support/ |
AtomicOrdering.h | 82 static const char *names[8] = {"not_atomic", "unordered", "monotonic", local 85 return names[(size_t)ao];
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Headers.java | 97 /** Returns an immutable case-insensitive set of header names. */ 98 public Set<String> names() { method in class:Headers 158 * Returns headers for the alternating header names and values. There must be 159 * an even number of arguments, and they must alternate between header names 164 throw new IllegalArgumentException("Expected alternating header names and values"); 187 * Returns headers for the header names and values in the {@link Map}. 191 throw new IllegalArgumentException("Expected map with header names and values"); 226 // Work around empty header names and header names that start with a
|
/external/selinux/libselinux/src/ |
load_policy.c | 80 int (*genbools_array)(void *data, size_t len, char **names, int *values, int nel) = NULL; 261 char **names; local 262 rc = security_get_boolean_names(&names, &len); 269 security_get_boolean_active(names[i]); 270 (void)genbools_array(data, size, names, values, 274 free(names[i]); 275 free(names);
|
/external/selinux/libsepol/include/sepol/policydb/ |
constraint.h | 38 #define CEXPR_NAMES 5 /* attr op names */ 61 ebitmap_t names; /* names */ member in struct:constraint_expr
|
/external/skia/tests/ |
FontNamesTest.cpp | 91 } names[10]; member in struct:FontNamesTest 119 strcmp(test[i].names[nameIndex].name, record.name.c_str()) == 0, 124 strcmp(test[i].names[nameIndex].language, record.language.c_str()) == 0, 134 "Fewer names than expected."); 137 "More names than expected.");
|
/external/testng/src/test/java/test/name/ |
NameTest.java | 134 "Duplicate test names " + getNames(adapter.getPassedTests())); 140 List<String> names = new ArrayList<>(results.size()); local 142 names.add(result.getName()); 144 return names;
|
/external/valgrind/VEX/priv/ |
s390_disasm.c | 59 static const HChar names[16][5] = { local 68 return names[archreg]; 76 static const HChar names[16][5] = { local 85 return names[archreg]; 93 static const HChar names[16][5] = { local 102 return names[archreg];
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
AbstractVerifier.java | 128 // Build the list of names we're going to check. Our DEFAULT and 132 LinkedList<String> names = new LinkedList<String>(); local 134 names.add(cns[0]); 139 names.add(subjectAlt); 144 if(names.isEmpty()) { 156 for(Iterator<String> it = names.iterator(); it.hasNext();) { 226 * Extracts the array of SubjectAlt DNS names from an X509Certificate. 237 * @return Array of SubjectALT DNS names stored in the certificate.
|
/frameworks/base/core/jni/ |
android_os_VintfObject.cpp | 75 auto names = manifest->getHalNamesAndVersions(); local 76 output->insert(names.begin(), names.end());
|
/frameworks/base/tools/aapt2/ |
Debug.cpp | 183 static size_t GetNodeIndex(const std::vector<ResourceName>& names, 185 auto iter = std::lower_bound(names.begin(), names.end(), name); 186 CHECK(iter != names.end()); 188 return std::distance(names.begin(), iter); 219 std::vector<ResourceName> names; local 221 names.push_back(entry.first); 225 for (const auto& name : names) { 226 std::cout << " node_" << GetNodeIndex(names, name) << " [label=\"" << name 232 size_t style_node_index = GetNodeIndex(names, style_name) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
FilePreferencesImplTest.java | 53 String[] names = uroot.keys(); local 54 assertEquals(1, names.length); 60 names = uroot.keys(); 61 assertEquals(3, names.length); 65 names = uroot.keys(); 66 assertEquals(0, names.length);
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
CoderResult.java | 93 private static final String[] names field in class:CoderResult 110 String nm = names[type];
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
AbstractBasicFileAttributeView.java | 49 // the names of the basic attributes 92 private Set<String> names = new HashSet<>(); field in class:AbstractBasicFileAttributeView.AttributesBuilder 103 names.add(name); 119 return copyAll || names.contains(name);
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
CalendarSystem.java | 56 * <h4>Calendar names</h4> 78 // Map of calendar names and calendar classes; 79 private static final Map<String, Class<?>> names; field in class:CalendarSystem 84 names = new HashMap<>(); 85 names.put("gregorian", Gregorian.class); 86 names.put("japanese", LocalGregorianCalendar.class); 87 names.put("julian", JulianCalendar.class); 88 // names.put("hebrew", "HebrewCalendar"); 89 // names.put("iso8601", "ISOCalendar"); 90 // names.put("taiwanese", "LocalGregorianCalendar") [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
CalendarDataUtility.java | 62 // For era the field value does not always equal the index into the names array. 83 String[] names = getNames(id, field, style, locale); local 84 if (value >= names.length) { 87 return names[value]; 105 Map<String, Integer> names; local 107 names = retrieveFieldValueNamesImpl(id, field, SHORT_FORMAT, locale); 109 names.putAll(retrieveFieldValueNamesImpl(id, field, st, locale)); 113 names = retrieveFieldValueNamesImpl(id, field, style, locale); 115 return names.isEmpty() ? null : names; 120 String[] names = getNames(id, field, style, locale); local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
ResultActivity.java | 114 String[] names = new String[columnNames.length]; local 115 System.arraycopy(columnNames, 0, names, 0, columnNames.length); 116 Arrays.sort(names); 117 for (int i = 0; i < names.length; i++) { 118 int index = cursor.getColumnIndex(names[i]); 120 addRow(names[i], value); 122 if (names[i].equals(Contacts.PHOTO_ID) && !TextUtils.isEmpty(value)) {
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/ |
TestJobListener.java | 68 public void assertFilesFailed(List<String> names) { 73 assertEquals(finished.failedDocs.size(), names.size()); 74 for (String name : names) {
|
/packages/apps/Settings/src/com/android/settings/utils/ |
ZenServiceListing.java | 76 final List<String> names = Arrays.asList(flat.split(":")); local 80 if (matchesApprovedPackage(names, service.getComponentName())) {
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
tkFont.py | 81 if self.name not in root.tk.call("font", "names"): 172 def names(root=None): function 173 "Get names of defined fonts (as a tuple)" 176 return root.tk.splitlist(root.tk.call("font", "names")) 196 print names()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
trace.py | 123 list of module names 141 def names(self, filename, modulename): member in class:Ignore 150 if mod == modulename: # Identical names, so ignore 463 @param ignoremods a list of the names of modules to ignore 464 @param ignoredirs a list of the names of directories to ignore 604 ignore_it = self.ignore.names(filename, modulename)
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/ |
tkFont.py | 81 if self.name not in root.tk.call("font", "names"): 172 def names(root=None): function 173 "Get names of defined fonts (as a tuple)" 176 return root.tk.splitlist(root.tk.call("font", "names")) 196 print names()
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
trace.py | 123 list of module names 141 def names(self, filename, modulename): member in class:Ignore 150 if mod == modulename: # Identical names, so ignore 463 @param ignoremods a list of the names of modules to ignore 464 @param ignoredirs a list of the names of directories to ignore 604 ignore_it = self.ignore.names(filename, modulename)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
tkFont.py | 81 if self.name not in root.tk.call("font", "names"): 172 def names(root=None): function 173 "Get names of defined fonts (as a tuple)" 176 return root.tk.splitlist(root.tk.call("font", "names")) 196 print names()
|