/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);
|
/external/webkit/Source/WebCore/inspector/ |
InspectorDatabaseAgent.cpp | 111 RefPtr<InspectorArray> values = InspectorArray::create(); local 112 const Vector<SQLValue>& data = rowList->values(); 114 const SQLValue& value = rowList->values()[i]; 116 case SQLValue::StringValue: values->pushString(value.string()); break; 117 case SQLValue::NumberValue: values->pushNumber(value.number()); break; 118 case SQLValue::NullValue: values->pushValue(InspectorValue::null()); break; 121 m_frontendProvider->frontend()->sqlTransactionSucceeded(m_transactionId, columnNames, values);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
ImageDiff.cpp | 362 Vector<const char*> values; local 371 values.append(argv[i]); 401 if (values.size() == 3) 402 return diffImages(values[0], values[1], values[2]); 403 } else if (values.size() == 2)
|
/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 | 383 protected void getValues(Object object, Object[] values) { 384 values[0] = PRECALCULATED_HEAD; 385 values[1] = object; // pass X509CertPathImpl object 386 values[2] = SIGNERS_INFO; 405 protected void getValues(Object object, Object[] values) { 406 values[0] = SIGNED_DATA_OID; 407 values[1] = object; // pass X509CertPathImpl object
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteDatabaseTest.java | 207 mDatabase.execSQL("INSERT INTO test (num) VALUES (0)"); 415 String sql = "INSERT INTO test (name, age, address) VALUES (?, ?, ?);"; 452 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Mike', 20, 'LA');"); 453 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jack', 30, 'London');"); 454 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jim', 35, 'Chicago');"); 490 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Mike', 20, 'LA');"); 491 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jack', 30, 'London');"); 522 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Mike', 20, 'LA');"); 535 mDatabase.execSQL("INSERT INTO test (name, age, address) VALUES ('Jack', 30, 'London');"); 682 ContentValues values = new ContentValues() local 1044 ContentValues values = new ContentValues(); local 1120 ContentValues values = new ContentValues(1); local [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jst/ |
jstemplate.js | 21 * If the templates is processed again, changed values are merely
49 * template processing attribute values on a template node.
56 * attribute values on a template node.
82 * HTML template processor. Data values are bound to HTML templates
84 * jsvalues. The template is modifed in place. The values of those
163 * attribute values is expensive and we thus want to cache it. The
177 * values. (For example when two different nodes in a template share the same
185 * Map for storing temporary attribute values in prepareNode_() so they don't
217 * and the functions used to parse their values.
511 // more useful to be able to use var values in attribute value [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/jstemplate/ |
jstemplate.js | 21 * If the templates is processed again, changed values are merely 49 * template processing attribute values on a template node. 56 * attribute values on a template node. 82 * HTML template processor. Data values are bound to HTML templates 84 * jsvalues. The template is modifed in place. The values of those 163 * attribute values is expensive and we thus want to cache it. The 177 * values. (For example when two different nodes in a template share the same 185 * Map for storing temporary attribute values in prepareNode_() so they don't 217 * and the functions used to parse their values. 511 // more useful to be able to use var values in attribute valu [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpDatabase.java | 284 ContentValues values = new ContentValues(); local 285 values.put(Files.FileColumns.DATA, path); 286 values.put(Files.FileColumns.FORMAT, format); 287 values.put(Files.FileColumns.PARENT, parent); 288 values.put(Files.FileColumns.STORAGE_ID, storageId); 289 values.put(Files.FileColumns.SIZE, size); 290 values.put(Files.FileColumns.DATE_MODIFIED, modified); 293 Uri uri = mMediaProvider.insert(mObjectsUri, values); 321 ContentValues values = new ContentValues(1); local 322 values.put(Audio.Playlists.DATA, path) 738 ContentValues values = new ContentValues(); local 965 ContentValues values = new ContentValues(); local [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Account.java | 109 // Sentinel values for the mSyncInterval field of both Account records 338 * TODO define sentinel values for "never", "push", etc. See Account.java 346 * TODO define sentinel values for "never", "push", etc. See Account.java 356 * TODO define sentinel values for "all", "1 month", etc. See Account.java 364 * TODO define sentinel values for "all", "1 month", etc. See Account.java 856 ContentValues values = new ContentValues(); local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 139 ContentValues[] values = new ContentValues[count]; local 141 values[i] = new ContentValues(); 144 assertEquals(count, mockContentProvider.bulkInsert(uri, values)); 149 assertEquals(count, mockContentProvider.bulkInsert(null, values)); 373 public int update(Uri url, ContentValues values, String selection, 428 public Uri insert(Uri uri, ContentValues values) { 444 public int update(Uri uri, ContentValues values, String selection, 485 mDb.execSQL("INSERT INTO files VALUES ( \"" + fileName + "\");"); 499 public Uri insert(Uri uri, ContentValues values) { 515 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...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
IdentityHashMap2Test.java | 48 * TODO: change all the statements testing the keys and values with equals() 153 // get the keySet() and values() on the original Map 155 Collection values = map.values(); local 156 assertEquals("values() does not work", 157 "value", values.iterator().next()); 162 Collection values2 = map2.values(); 163 assertTrue("values() is identical", values2 != values); 164 // values() and keySet() on the cloned() map should be differen 434 Collection values = myIdentityHashMap.values(); local [all...] |
/external/chromium/net/websockets/ |
websocket_handshake_handler.cc | 45 std::vector<std::string>* values) { 51 values->push_back(iter.values()); 241 key1 = iter.values(); 246 key2 = iter.values(); 253 (*headers)[name] = iter.values(); 257 found->second.append(iter.values()); 366 // For each value, if the server sends a NUL-separated list of values, 398 std::vector<std::string>* values) { 404 FetchHeaders(headers_, headers_to_get, headers_to_get_len, values); [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageBufferCG.cpp | 73 const void *values[6]; local 75 values[0] = CFNumberCreate(0, kCFNumberIntType, &width); 77 values[1] = CFNumberCreate(0, kCFNumberIntType, &height); 79 values[2] = CFNumberCreate(0, kCFNumberIntType, &pixelFormat); 81 values[3] = CFNumberCreate(0, kCFNumberIntType, &bytesPerElement); 83 values[4] = CFNumberCreate(0, kCFNumberLongType, &bytesPerRow); 85 values[5] = CFNumberCreate(0, kCFNumberLongType, &allocSize); 87 RetainPtr<CFDictionaryRef> dict(AdoptCF, CFDictionaryCreate(0, keys, values, 6, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); 89 CFRelease(values[i]);
|
/external/webkit/Source/WebKit2/Shared/cf/ |
ArgumentCodersCF.cpp | 216 Vector<CFTypeRef, 32> values(size); 218 CFArrayGetValues(array, CFRangeMake(0, size), values.data()); 222 ASSERT(values[i]); 224 encode(encoder, values[i]); 285 Vector<CFTypeRef, 32> values(size); 287 CFDictionaryGetKeysAndValues(dictionary, keys.data(), values.data()); 294 ASSERT(values[i]); 296 // Ignore values we don't recognize. 297 if (typeFromCFTypeRef(values[i]) == Unknown) 301 encode(encoder, values[i]) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BerInputStream.java | 344 // FIXME check all values for valid numbers!!! 403 // FIXME check all time values for valid numbers!!! 538 Object[] values = new Object[type.length]; local 550 values[i] = sequence.DEFAULT[i]; 554 values[i] = type[i].decode(this); 563 values[i] = sequence.DEFAULT[i]; 566 content = values; 623 ArrayList<Object> values = new ArrayList<Object>(); local 626 values.add(type.decode(this)); 629 values.trimToSize() [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
IdentityHashMapTest.java | 48 * TODO: change all the statements testing the keys and values with equals() 142 // get the keySet() and values() on the original Map 144 Collection values = map.values(); local 145 assertEquals("values() does not work", 146 "value", values.iterator().next()); 151 Collection values2 = map2.values(); 152 assertTrue("values() is identical", values2 != values); 153 // values() and keySet() on the cloned() map should be differen 430 Collection values = myIdentityHashMap.values(); local [all...] |
/sdk/layoutlib_api/sample/src/com/example/android/render/ |
RenderServiceFactory.java | 277 // get all the attr values. 284 // get the ATTR values 286 for (ResourceValue value : attrItems.values()) { 289 Map<String, Integer> values = attr.getAttributeValues(); 290 if (values != null) { 291 enumMap.put(attr.getName(), values); 296 // get the declare-styleable values 300 for (ResourceValue value : styleableItems.values()) { 305 for (AttrResourceValue attr : attrs.values()) { 306 Map<String, Integer> values = attr.getAttributeValues() [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsProvider2.java | 7640 ContentValues values = new ContentValues(); local 7954 final ContentValues values = new ContentValues(); local [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexEncodedValueImpl.java | 141 * VALUE_ARRAY 0x1c (none; must be 0) encoded_array an array of values, in 147 List<DexEncodedValue> values = new ArrayList<DexEncodedValue>(size); local 149 values.add(new DexEncodedValueImpl(buffer, annotation, typeIds, 152 return values; 287 List<?> values = (List<?>) getValue(); local 288 for (Object object : values) {
|
/dalvik/dx/src/com/android/dx/util/_tests/ |
_BitIntSet.java | 105 int[] values = {0, 1, 31, 32, 128}; local 107 for (int i = 0; i < values.length; i++) { 108 set.add(values[i]); 113 for (int i = 0; i < values.length; i++) { 115 assertEquals(values[i], iter.next());
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
Sensors.java | 35 * <h3>Application that displays the values of the acceleration sensor graphically.</h3> 128 float[] values = mOrientationValues; local 143 canvas.rotate(-values[i]); 162 canvas.rotate(-values[i]); 174 //Log.d(TAG, "sensor: " + sensor + ", x: " + values[0] + ", y: " + values[1] + ", z: " + values[2]); 181 mOrientationValues[i] = event.values[i]; 190 final float v = mYOffset + event.values[i] * mScale[j];
|
/external/nist-sip/java/gov/nist/core/ |
NameValueList.java | 95 Iterator<NameValue> iterator = hmap.values().iterator(); 218 Iterator<NameValue> it = this.hmap.values().iterator(); 245 return this.hmap.values().iterator(); 344 * @see java.util.Map#values() 346 public Collection<NameValue> values() { method in class:NameValueList 347 return this.hmap.values();
|