/external/iproute2/misc/ |
lnstat_util.c | 44 lf->fields[j].values[i] = 0; 58 lf->fields[j].values[i] = f; 60 lf->fields[j].values[i] += f; 104 lfi->result = lfi->values[1]; 106 lfi->result = (lfi->values[1]-lfi->values[0])
|
/external/webkit/WebKit/mac/WebView/ |
WebPDFDocumentExtras.mm | 40 static void appendValuesInPDFNameSubtreeToVector(CGPDFDictionaryRef subtree, Vector<CGPDFObjectRef>& values) 48 values.append(object); 62 appendValuesInPDFNameSubtreeToVector(kid, values); 92 // The names are aribtrary. We are only interested in the values.
|
/frameworks/base/core/java/android/widget/ |
ArrayAdapter.java | 424 results.values = list; 430 final ArrayList<T> values = mOriginalValues; local 431 final int count = values.size(); 436 final T value = values.get(i); 455 results.values = newValues; 465 mObjects = (List<T>) results.values;
|
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProvider.java | 83 ContentValues values = new ContentValues(); local 84 values.put("_id", 1); 85 values.put("_blob", TEST_BLOB); 86 values.put("integer", 100); 87 db.insert("data", null, values); 198 public int update(Uri url, ContentValues values, String where, String[] whereArgs) {
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
NameConstraints.java | 308 Object[] values = (Object[]) in.content; 310 (GeneralSubtrees) values[0], 311 (GeneralSubtrees) values[1], 315 protected void getValues(Object object, Object[] values) { 319 values[0] = nc.permittedSubtrees; 320 values[1] = nc.excludedSubtrees;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
RetryScheduler.java | 131 ContentValues values = new ContentValues(4); local 150 values.put(PendingMessages.DUE_TIME, retryAt); 191 values.put(PendingMessages.ERROR_TYPE, errorType); 192 values.put(PendingMessages.RETRY_INDEX, retryIndex); 193 values.put(PendingMessages.LAST_TRY, current); 200 values, PendingMessages._ID + "=" + id, null);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameSplitter.java | 133 public void fromValues(ContentValues values) { 134 prefix = values.getAsString(StructuredName.PREFIX); 135 givenNames = values.getAsString(StructuredName.GIVEN_NAME); 136 middleName = values.getAsString(StructuredName.MIDDLE_NAME); 137 familyName = values.getAsString(StructuredName.FAMILY_NAME); 138 suffix = values.getAsString(StructuredName.SUFFIX); 140 Integer integer = values.getAsInteger(StructuredName.FULL_NAME_STYLE); 143 phoneticFamilyName = values.getAsString(StructuredName.PHONETIC_FAMILY_NAME); 144 phoneticMiddleName = values.getAsString(StructuredName.PHONETIC_MIDDLE_NAME); 145 phoneticGivenName = values.getAsString(StructuredName.PHONETIC_GIVEN_NAME) [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerService.java | 58 ContentValues values = new ContentValues(); local 59 values.put("name", volumeName); 60 getContentResolver().insert(Uri.parse("content://media/"), values); 98 ContentValues values = new ContentValues(); local 99 values.put(MediaStore.MEDIA_SCANNER_VOLUME, volumeName); 100 Uri scanUri = getContentResolver().insert(MediaStore.getMediaScannerUri(), values);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
NodeImpl.java | 603 * neither of which override Object.equals(). Such values must be compared 607 List<Object> values = new ArrayList<Object>(); local 608 values.add(node.getNodeType()); 609 values.add(node.getNodeName()); 610 values.add(node.getLocalName()); 611 values.add(node.getNamespaceURI()); 612 values.add(node.getPrefix()); 613 values.add(node.getNodeValue()); 615 values.add(child); 621 values.add(doctype.getPublicId()) [all...] |
/external/guava/src/com/google/common/collect/ |
Synchronized.java | 676 public boolean putAll(K key, Iterable<? extends V> values) { 678 return delegate().putAll(key, values); 688 public Collection<V> replaceValues(K key, Iterable<? extends V> values) { 690 return delegate().replaceValues(key, values); // copy not synchronized 721 public Collection<V> values() { method in class:Synchronized.SynchronizedMultimap 724 valuesCollection = collection(delegate().values(), mutex); 810 K key, Iterable<? extends V> values) { 812 return delegate().replaceValues(key, values); // copy not synchronized 854 K key, Iterable<? extends V> values) { 856 return delegate().replaceValues(key, values); // copy not synchronize [all...] |
ImmutableSetMultimap.java | 35 * iteration order. Does not permit null keys or values. 191 * Stores a collection of values with the same key in the built multimap. 193 * @throws NullPointerException if {@code key}, {@code values}, or any 194 * element in {@code values} is null. The builder is left in an invalid 197 @Override public Builder<K, V> putAll(K key, Iterable<? extends V> values) { 199 for (V value : values) { 206 * Stores an array of values with the same key in the built multimap. 211 @Override public Builder<K, V> putAll(K key, V... values) { 212 return putAll(key, Arrays.asList(values)); 218 * of the {@code multimap.asMap()} view, with new keys and values followin 274 Collection<? extends V> values = entry.getValue(); local [all...] |
/frameworks/base/core/java/android/provider/ |
Contacts.java | 222 ContentValues values = new ContentValues(); local 227 //values.put(_SYNC_ACCOUNT, account.mName); 228 //values.put(_SYNC_ACCOUNT_TYPE, account.mType); 229 values.put(KEY, key); 230 values.put(VALUE, value); 231 cr.update(Settings.CONTENT_URI, values, null, null); 451 ContentValues values = new ContentValues(); local 454 values.put(LAST_TIME_CONTACTED, System.currentTimeMillis()); 455 resolver.update(uri, values, null, null); 540 ContentValues values = new ContentValues() local 594 ContentValues values = new ContentValues(); local 1455 ContentValues values = new ContentValues(2); local 1464 resolver.update(ContentUris.withAppendedId(CONTENT_URI, postalId), values, null, null); local [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
TreeMapPerformanceTest.java | 144 collection = map.values(); 145 collection = map.values(); 146 collection = map.values(); 147 collection = map.values(); 148 collection = map.values(); 149 collection = map.values(); 150 collection = map.values(); 151 collection = map.values(); 152 collection = map.values(); 153 collection = map.values(); [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_mdls.c | 213 EAS_I16 values[PARAM_TABLE_SIZE]; member in struct:s_art_dls_tag [all...] |
/frameworks/base/core/jni/ |
android_bluetooth_common.cpp | 600 } values[max_num_properties]; local 608 values[i].used = false; 625 values[prop_index].value = value; 626 values[prop_index].len = len; 627 values[prop_index].used = true; 636 if (values[i].used) { 637 create_prop_array(env, strArray, &properties[i], &values[i].value, values[i].len, 640 if (properties[i].type == DBUS_TYPE_ARRAY && values[i].used 641 && values[i].value.array_val != NULL [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
EntityDeltaTests.java | 95 // Merge modified values and assert they match 112 // Merge modified values and assert they match 126 // Merge modified values and assert they match 140 // Merge modified values and assert they match 155 final ValuesDelta values = ValuesDelta.fromBefore(before); local 158 final Builder builder = values.buildDiff(Data.CONTENT_URI); 166 final ValuesDelta values = ValuesDelta.fromAfter(after); local 169 final Builder builder = values.buildDiff(Data.CONTENT_URI); 179 final ValuesDelta values = ValuesDelta.fromBefore(before); local 180 values.put(Phone.NUMBER, TEST_PHONE_NUMBER_2) 193 final ValuesDelta values = ValuesDelta.fromBefore(before); local 363 final ValuesDelta values = ValuesDelta.fromAfter(after); local 384 final ValuesDelta values = ValuesDelta.fromAfter(after); local [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventValueSelector.java | 274 for (CompareMethod method : CompareMethod.values()) { 396 EventValueDescription[] values = mLogParser.getEventInfoMap().get(eventTag); local 398 // fill the combo for the values 400 if (values != null) { 405 for (EventValueDescription value : values) { 424 for (EventValueDescription value : values) { 461 for (EventValueDescription value : values) { 471 EventValueDescription valueInfo = values[mDescriptor.filterValueIndex]; 530 EventValueDescription[] values = mLogParser.getEventInfoMap().get(eventTag); local 532 valueDescriptor.valueName = values[index].getName() 591 CompareMethod[] values = CompareMethod.values(); local [all...] |
/external/protobuf/python/google/protobuf/ |
descriptor.py | 244 (v.name, v) for t in enum_types for v in t.values) 411 values: (list of EnumValueDescriptors) List of the values 413 values_by_name: (dict str -> EnumValueDescriptor) Same as |values|, 415 values_by_number: (dict int -> EnumValueDescriptor) Same as |values|, 426 def __init__(self, name, full_name, filename, values, 439 self.values = values 440 for value in self.values: 442 self.values_by_name = dict((v.name, v) for v in values) [all...] |
/external/skia/src/utils/ |
SkInterpolator.cpp | 173 const SkScalar values[], const SkScalar blend[4]) { 174 SkASSERT(values != NULL); 188 memcpy(dst, values, fElemCount * sizeof(SkScalar)); 194 SkScalar values[]) const { 199 if (values) { 203 memcpy(values, nextSrc, fElemCount * sizeof(SkScalar)); 210 values[i] = SkScalarInterp(prevSrc[i], nextSrc[i], T);
|
/libcore/luni/src/main/java/javax/crypto/ |
EncryptedPrivateKeyInfo.java | 87 Object[] values; local 89 values = (Object[])asn1.decode(encoded); 91 AlgorithmIdentifier aId = (AlgorithmIdentifier) values[0]; 113 encryptedData = (byte[]) values[1]; 498 protected void getValues(Object object, Object[] values) { 505 values[0] = new AlgorithmIdentifier(epki.oid, algParmsEncoded); 506 values[1] = epki.encryptedData;
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertPathImpl.java | 385 protected void getValues(Object object, Object[] values) { 386 values[0] = PRECALCULATED_HEAD; 387 values[1] = object; // pass X509CertPathImpl object 388 values[2] = SIGNERS_INFO; 407 protected void getValues(Object object, Object[] values) { 408 values[0] = SIGNED_DATA_OID; 409 values[1] = object; // pass X509CertPathImpl object
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/export/ |
ProjectConfig.java | 178 * Returns a map of pair values (apk name suffix, aapt res filter) to be used to generate 274 * @param values the properties to compare to. 277 String compareToProperties(Map<String, String> values) { 282 if (mMinSdkVersion != Integer.parseInt(values.get(PROP_API))) { 291 tmp = values.get(PROP_GL); // GL is optional in the config string. 302 tmp = values.get(PROP_DENSITY); 309 tmp = values.get(PROP_ABI); 329 tmp = values.get(PROP_SCREENS); 339 tmp = values.get(PROP_LOCALEFILTERS);
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteDatabaseTest.java | 217 mDatabase.execSQL("INSERT INTO test (num) VALUES (0)"); 373 mDatabase.execSQL("INSERT INTO people VALUES (0, \"foo\", 0);"); 407 mDatabase.execSQL("INSERT INTO people VALUES (13, \"foo\", 0);"); 408 mDatabase.execSQL("INSERT INTO phone VALUES (0, 13, \"bar\");"); 507 String sql = "INSERT INTO test (name, age, address) VALUES (?, ?, ?);"; 544 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Mike', 20, 'LA');"); 545 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jack', 30, 'London');"); 546 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jim', 35, 'Chicago');"); 580 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Mike', 20, 'LA');"); 581 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jack', 30, 'London');") 771 ContentValues values = new ContentValues(); local 1133 ContentValues values = new ContentValues(); local 1209 ContentValues values = new ContentValues(1); local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 143 ContentValues[] values = new ContentValues[count]; local 145 values[i] = new ContentValues(); 148 assertEquals(count, mockContentProvider.bulkInsert(uri, values)); 153 assertEquals(count, mockContentProvider.bulkInsert(null, values)); 382 public int update(Uri url, ContentValues values, String selection, 427 public Uri insert(Uri uri, ContentValues values) { 443 public int update(Uri uri, ContentValues values, String selection, 484 mDb.execSQL("INSERT INTO files VALUES ( \"" + fileName + "\");"); 498 public Uri insert(Uri uri, ContentValues values) { 514 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
InterpolatorTest.java | 247 @ToBeFixed(explanation="For repeat > 1 and time < start key frame, FREEZE_END and the values" + 314 // explicit linear blend should yield the same values 384 float[] values = new float[1]; local 385 assertEquals(expectedResult, interpolator.timeToValues(time, values)); 386 assertEquals(expected, values[0], TOLERANCE); 391 float[] values = new float[expected.length]; local 392 assertEquals(expectedResult, interpolator.timeToValues(time, values)); 393 assertFloatArray(expected, values); 397 float[] values = new float[1]; local 398 assertEquals(expectedResult, interpolator.timeToValues(values)); [all...] |