/bionic/tests/ |
dirent_test.cpp | 31 static void CheckProcSelf(std::set<std::string>& names) { 33 ASSERT_TRUE(names.find(".") != names.end()); 34 ASSERT_TRUE(names.find("..") != names.end()); 35 ASSERT_TRUE(names.find("cmdline") != names.end()); 36 ASSERT_TRUE(names.find("fd") != names.end()); 37 ASSERT_TRUE(names.find("stat") != names.end()) [all...] |
/external/chromium_org/chrome/test/base/ |
chrome_process_util.cc | 28 std::vector<base::FilePath::StringType> names; local 29 names.push_back(name); 40 names.push_back(flavor_name); 44 return names; 112 std::vector<base::FilePath::StringType> names = local 114 for (size_t i = 0; i < names.size(); ++i) { 115 base::FilePath::StringType name = names[i];
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
Util.java | 36 * Map of countries that have non-latin local names, with the language that their local names 144 * Builds a map of the lower-cased values of the keys, names and local names provided. Each name 147 * @throws IllegalStateException if the names or lnames array is greater than the keys array. 149 static Map<String, String> buildNameToKeyMap(String[] keys, String[] names, String[] lnames) { 160 if (names != null) { 161 if (names.length > keyLength) { 163 "names length (" + names.length + ") is greater than keys length (" [all...] |
/libcore/luni/src/main/native/ |
libcore_icu_TimeZoneNames.cpp | 48 // Fill in whatever we got. We don't use the display names if they're "GMT[+-]xx:xx" 50 // wrong. TimeZone.getDisplayName creates accurate names on demand. 70 UniquePtr<TimeZoneNames> names(TimeZoneNames::createInstance(icuLocale.locale(), status)); 91 names->getDisplayName(zone_id.unicodeString(), UTZNM_LONG_STANDARD, now, long_std); 93 names->getDisplayName(zone_id.unicodeString(), UTZNM_SHORT_STANDARD, now, short_std); 95 names->getDisplayName(zone_id.unicodeString(), UTZNM_LONG_DAYLIGHT, now, long_dst); 97 names->getDisplayName(zone_id.unicodeString(), UTZNM_SHORT_DAYLIGHT, now, short_dst); 100 // ICU doesn't have names for the UTC zones; it just says "GMT+00:00" for both 101 // long and short names. We don't want this. The best we can do is use "UTC" 126 UniquePtr<TimeZoneNames> names(TimeZoneNames::createInstance(icuLocale.locale(), status)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test___all__.py | 25 names = {} 29 exec "import %s" % modname in names 37 names = {} 39 exec "from %s import *" % modname in names 44 if "__builtins__" in names: 45 del names["__builtins__"] 46 keys = set(names)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test___all__.py | 25 names = {} 29 exec "import %s" % modname in names 37 names = {} 39 exec "from %s import *" % modname in names 44 if "__builtins__" in names: 45 del names["__builtins__"] 46 keys = set(names)
|
/system/core/cpio/ |
mkbootfs.c | 171 char** names = malloc(size * sizeof(char*)); local 172 if (names == NULL) { 173 fprintf(stderr, "failed to allocate dir names array (size %d)\n", size); 186 names = realloc(names, size * sizeof(char*)); 187 if (names == NULL) { 188 fprintf(stderr, "failed to reallocate dir names array (size %d)\n", 193 names[entries] = strdup(de->d_name); 194 if (names[entries] == NULL) { 202 qsort(names, entries, sizeof(char*), compare) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
genpyx.py | 212 names = kw.get('names',{}) 213 kw['names'] = names 223 _node = names.get(self.tag.name,None) 267 names = kw.get('names',{}) 268 kw['names'] = names 273 _node = names.get(self.tag.name,None [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
AttributeCertificateHolder.java | 209 GeneralName[] names = targets.getNames(); local 211 for (int i = 0; i != names.length; i++) 213 GeneralName gn = names[i]; 234 private Object[] getNames(GeneralName[] names) 236 List l = new ArrayList(names.length); 238 for (int i = 0; i != names.length; i++) 240 if (names[i].getTagNo() == GeneralName.directoryName) 245 ((ASN1Encodable)names[i].getName()).toASN1Primitive().getEncoded())); 257 private Principal[] getPrincipals(GeneralNames names) 259 Object[] p = this.getNames(names.getNames()) [all...] |
/external/chromium_org/third_party/ots/src/ |
name.cc | 85 // Read all the names, discarding any with invalid IDs, 100 // check platform & encoding, discard names with unknown values 161 name->names.push_back(rec); 218 // scan the names to check whether the required "standard" ones are present; 222 for (std::vector<NameRecord>::iterator name_iter = name->names.begin(); 223 name_iter != name->names.end(); name_iter++) { 246 name->names.push_back(rec); 253 name->names.push_back(rec); 259 std::sort(name->names.begin(), name->names.end()) [all...] |
/external/chromium_org/tools/site_compare/ |
command_line.py | 35 def __init__(self, names, helptext, validator=None, impl=None): 36 """Initializes Command from names and helptext, plus optional callables. 39 names: command name, or list of synonyms 45 self.names = names 60 def __init__(self, names, helptext, type, metaname, 65 names: argument name, or list of synonyms 99 names[-1].lstrip(string.punctuation + string.whitespace).upper()) 101 self.names = names [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
_n_a_m_e.py | 31 self.names = [] 44 self.names.append(name) 47 if not hasattr(self, "names"): 50 self.names = [] 51 self.names.sort() # sort according to the spec; see NameRecord.__lt__() 54 n = len(self.names) 59 for name in self.names: 69 for name in self.names: 75 if not hasattr(self, "names"): 76 self.names = [ [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_debug.c | 285 debug_dump_enum(const struct debug_named_value *names, 290 while(names->name) { 291 if(names->value == value) 292 return names->name; 293 ++names; 302 debug_dump_enum_noprefix(const struct debug_named_value *names, 308 while(names->name) { 309 if(names->value == value) { 310 const char *name = names->name; 317 ++names; [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug.c | 285 debug_dump_enum(const struct debug_named_value *names, 290 while(names->name) { 291 if(names->value == value) 292 return names->name; 293 ++names; 302 debug_dump_enum_noprefix(const struct debug_named_value *names, 308 while(names->name) { 309 if(names->value == value) { 310 const char *name = names->name; 317 ++names; [all...] |
/frameworks/base/core/java/android/view/ |
MotionEvent.java | 1104 SparseArray<String> names = AXIS_SYMBOLIC_NAMES; typedefs 1278 SparseArray<String> names = TOOL_TYPE_SYMBOLIC_NAMES; typedefs [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
mediasessionclient.h | 104 bool GetAudioInputDevices(std::vector<std::string>* names) { 105 return channel_manager_->GetAudioInputDevices(names); 107 bool GetAudioOutputDevices(std::vector<std::string>* names) { 108 return channel_manager_->GetAudioOutputDevices(names); 110 bool GetVideoCaptureDevices(std::vector<std::string>* names) { 111 return channel_manager_->GetVideoCaptureDevices(names);
|
/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);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
PinnedHeaderListDemoActivity.java | 108 String[] names = extras.getStringArray("names"); local 113 if (counts == null || names == null || showIfEmpty == null || delays == null) { 117 adapter.setHeaders(names); 119 adapter.addPartition(showIfEmpty[i], names[i] != null); 120 adapter.mPinnedHeaderCount = names.length; 125 final Cursor cursor = makeCursor(names[i], counts[i]);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
term_entry.h | 96 #define ExtBoolname(tp,i,names) EXT_NAMES(tp, i, BOOLCOUNT, (i - (tp->num_Booleans - tp->ext_Booleans)), names) 97 #define ExtNumname(tp,i,names) EXT_NAMES(tp, i, NUMCOUNT, (i - (tp->num_Numbers - tp->ext_Numbers)) + tp->ext_Booleans, names) 98 #define ExtStrname(tp,i,names) EXT_NAMES(tp, i, STRCOUNT, (i - (tp->num_Strings - tp->ext_Strings)) + (tp->ext_Numbers + tp->ext_Booleans), names)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
term_entry.h | 96 #define ExtBoolname(tp,i,names) EXT_NAMES(tp, i, BOOLCOUNT, (i - (tp->num_Booleans - tp->ext_Booleans)), names) 97 #define ExtNumname(tp,i,names) EXT_NAMES(tp, i, NUMCOUNT, (i - (tp->num_Numbers - tp->ext_Numbers)) + tp->ext_Booleans, names) 98 #define ExtStrname(tp,i,names) EXT_NAMES(tp, i, STRCOUNT, (i - (tp->num_Strings - tp->ext_Strings)) + (tp->ext_Numbers + tp->ext_Booleans), names)
|
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/ |
TestListParser.java | 58 final String[] names = value.split("\\."); local 59 for (int i = 0; i < names.length; i++) { 60 final String name = names[i];
|
/external/apache-http/src/org/apache/http/params/ |
BasicHttpParams.java | 96 * Assigns the value to all the parameter with the given names 98 * @param names array of parameter name 101 public void setParameters(final String[] names, final Object value) { 102 for (int i = 0; i < names.length; i++) { 103 setParameter(names[i], value);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/nist/ |
NISTNamedCurves.java | 13 * Utility class for fetching curves using their NIST names as published in FIPS-PUB 186-3 18 static final Hashtable names = new Hashtable(); field in class:NISTNamedCurves 23 names.put(oid, name); 88 return (String)names.get(oid);
|
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
native_messaging_policy_handler.cc | 51 scoped_ptr<base::ListValue>* names) { 65 // Filter the list, rejecting any invalid native messaging host names. 87 if (names) 88 *names = filtered_list.Pass();
|
/external/chromium_org/chrome/test/perf/ |
mach_ports_performancetest.cc | 52 mach_port_name_array_t names; local 61 &names, &names_count, 69 vm_deallocate(self, reinterpret_cast<vm_address_t>(names),
|