/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BitString.java | 63 public BitString(boolean[] values) { 64 unusedBits = values.length % 8; 65 int size = values.length / 8; 70 for (int i = 0; i < values.length; i++) { 71 setBit(i, values[i]);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForPhoneNumber.java | 43 ContentValues values) { 44 fillNormalizedNumber(values); 46 final long dataId = super.insert(db, txContext, rawContactId, values); 47 if (values.containsKey(Phone.NUMBER)) { 48 final String number = values.getAsString(Phone.NUMBER); 49 final String normalizedNumber = values.getAsString(Phone.NORMALIZED_NUMBER); 60 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 62 fillNormalizedNumber(values); 64 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 68 if (values.containsKey(Phone.NUMBER)) [all...] |
/external/chromium_org/v8/test/webkit/ |
equality.js | 28 var values = [ '0', '1', '0.1', '2', '3', '4', '5', '6', '7', '-0', '"0"', '"1"', '"0.1"', '"-0"', 'null', 'undefined', 'false', 'true', 'new String("0")', 'new Object' ]; variable 63 for (i = 0; i < values.length; ++i) { 64 for (j = 0; j < values.length; ++j) { 65 var expression = values[i] + " == " + values[j]; 66 var reversed = values[j] + " == " + values[i]; 71 for (i = 0; i < values.length; ++i) { 72 for (j = 0; j < values.length; ++j) { 73 var expression = values[i] + " === " + values[j] [all...] |
/frameworks/base/core/java/android/animation/ |
ObjectAnimator.java | 55 * a setter function that will be called to set animated values. 62 * name of the property being animated, use <code>float</code> or <code>int</code> typed values, 90 // New property/values/target should cause re-initialization prior to starting 115 // New property/values/target should cause re-initialization prior to starting 121 * a setter function that will be called to set animated values. 193 * Constructs and returns an ObjectAnimator that animates between int values. A single 194 * value implies that that value is the one being animated to. Two values imply a starting 195 * and ending values. More than two values imply a starting value, values to animate throug [all...] |
/external/chromium_org/chrome/browser/webdata/ |
autofill_profile_syncable_service_unittest.cc | 530 std::vector<string16> values; local 531 values.push_back(UTF8ToUTF16("1@1.com")); 532 values.push_back(UTF8ToUTF16("2@1.com")); 533 profile.SetRawMultiInfo(autofill::EMAIL_ADDRESS, values); 541 profile.GetRawMultiInfo(autofill::EMAIL_ADDRESS, &values); 542 ASSERT_TRUE(values.size() == 2); 543 EXPECT_EQ(values[0], UTF8ToUTF16("2@1.com")); 544 EXPECT_EQ(values[1], UTF8ToUTF16("3@1.com")); 548 profile.GetRawMultiInfo(autofill::EMAIL_ADDRESS, &values); 549 ASSERT_EQ(values.size(), 2U) 566 std::vector<string16> values; local [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtils_InsertHelperTest.java | 146 ContentValues values = new ContentValues(); local 147 values.put("boolean_value", false); 148 values.put("int_value", 123); 149 values.put("long_value", 987654L); 150 values.put("double_value", 654.321); 151 values.put("float_value", 21.1f); 152 values.put("string_value", "insert another row"); 153 values.put("blob_value", blob); 154 values.putNull("null_value"); 155 id = mInsertHelper.insert(values); 254 ContentValues values = new ContentValues(); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
TBSCertList.java | 176 Object[] values = (Object[]) in.content; 178 new BigInteger((byte[]) values[0]), 179 (Date) values[1], 180 (Extensions) values[2] 184 @Override protected void getValues(Object object, Object[] values) { 186 values[0] = rcert.userCertificate.toByteArray(); 187 values[1] = rcert.revocationDate; 188 values[2] = rcert.crlEntryExtensions; 340 Object[] values = (Object[]) in.content; 342 (values[0] == null [all...] |
/external/chromium_org/content/browser/dom_storage/ |
dom_storage_database_unittest.cc | 62 "INSERT INTO ItemTable VALUES (?,?)")); 85 void CreateMapWithValues(DOMStorageValuesMap* values) { 99 (*values)[kCannedKeys[i]] = kCannedValues[i]; 133 DOMStorageValuesMap values; local 134 db.ReadAllValues(&values); 135 EXPECT_EQ(storage.size(), values.size()); 178 DOMStorageValuesMap values; local 179 db.ReadAllValues(&values); 183 values[ASCIIToUTF16("key")] = 185 db.CommitChanges(false, values); 299 DOMStorageValuesMap values; local 321 DOMStorageValuesMap values; local 357 DOMStorageValuesMap values; local 375 DOMStorageValuesMap values; local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StreamItemsTest.java | 72 ContentValues values = new ContentValues(); local 73 values.put(Data.RAW_CONTACT_ID, rawContactId); 74 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE); 75 values.put(RawContacts.ACCOUNT_NAME, ACCOUNT_NAME); 76 values.put(StreamItems.TEXT, UPDATE_TEXT); 77 values.put(StreamItems.TIMESTAMP, UPDATE_TIMESTAMP); 78 values.put(StreamItems.COMMENTS, UPDATE_COMMENTS); 80 assertEquals(1, mResolver.update(streamItemUri, values, null, null)); 86 ContentValues values = new ContentValues(); local 87 values.put(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE) 98 ContentValues values = new ContentValues(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_vec4_copy_propagation.cpp | 27 * Implements tracking of values copied between registers, and 61 try_constant_propagation(vec4_instruction *inst, int arg, src_reg *values[4]) 68 src_reg value = *values[0]; 70 if (!value.equals(values[i])) 164 vec4_instruction *inst, int arg, src_reg *values[4]) 171 src_reg value = *values[0]; 174 if (value.file != values[i]->file || 175 value.reg != values[i]->reg || 176 value.reg_offset != values[i]->reg_offset || 177 value.type != values[i]->type | 272 src_reg *values[4]; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vec4_copy_propagation.cpp | 27 * Implements tracking of values copied between registers, and 61 try_constant_propagation(vec4_instruction *inst, int arg, src_reg *values[4]) 68 src_reg value = *values[0]; 70 if (!value.equals(values[i])) 164 vec4_instruction *inst, int arg, src_reg *values[4]) 171 src_reg value = *values[0]; 174 if (value.file != values[i]->file || 175 value.reg != values[i]->reg || 176 value.reg_offset != values[i]->reg_offset || 177 value.type != values[i]->type | 272 src_reg *values[4]; local [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
VpnProfile.java | 120 String[] values = new String(value, StandardCharsets.UTF_8).split("\0", -1); local 121 // There can be 14 or 15 values in ICS MR1. 122 if (values.length < 14 || values.length > 15) { 127 profile.name = values[0]; 128 profile.type = Integer.valueOf(values[1]); 132 profile.server = values[2]; 133 profile.username = values[3]; 134 profile.password = values[4]; 135 profile.dnsServers = values[5] [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
SignerInfo.java | 165 @Override public void getValues(Object object, Object[] values) { 167 values[0] = issAndSerial[0]; 168 values[1] = issAndSerial[1]; 188 @Override protected void getValues(Object object, Object[] values) { 190 values[0] = new byte[] {(byte)si.version}; 192 values[1] = new Object[] { new Name(si.issuer.getName()), 200 values[2] = si.digestAlgorithm; 201 values[3] = si.authenticatedAttributes; 202 values[4] = si.digestEncryptionAlgorithm; 203 values[5] = si.encryptedDigest [all...] |
/external/chromium/webkit/glue/ |
idb_bindings.cc | 25 std::vector<WebIDBKey>* values) { 29 // all values back as invalid and returning a boolean. 34 values->push_back(WebIDBKey::createInvalid()); 36 values->push_back(
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
SVGAnimatedListPropertyTearOff.h | 82 return static_cast<ListProperty*>(m_animVal.get())->values(); 103 ASSERT(animVal->values().size() == animVal->wrappers().size()); 115 ASSERT(animVal->values().size() == animVal->wrappers().size()); 119 ASSERT(animVal->values().size() == animVal->wrappers().size()); 129 // mutate the length of our values() list, and thus the wrapper() cache needs synchronization, to have the same size. 134 animVal->detachListWrappers(animVal->values().size()); 136 ASSERT(animVal->values().size() == animVal->wrappers().size()); 156 static PassRefPtr<SVGAnimatedListPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& values) 159 return adoptRef(new SVGAnimatedListPropertyTearOff<PropertyType>(contextElement, attributeName, animatedPropertyType, values)); 163 SVGAnimatedListPropertyTearOff(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& values) [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/ |
buildbot_page_measurement_results.py | 17 def _PrintPerfResult(self, measurement, trace, values, units, 20 measurement, trace, values, units, result_type) 86 # support aggregating multiple values, this can be removed. 100 values = [i[0] for i in value_url_list] 101 if isinstance(values[0], list): 102 values = list(chain.from_iterable(values)) 103 self._PrintPerfResult(measurement, trace, values, units, data_type) 109 values = value.value 110 if not isinstance(values, list) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/functions/structure/ |
FirstFunction.java | 21 import com.google.clearsilver.jsilver.values.Value; 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 23 import com.google.clearsilver.jsilver.values.VariableValue;
|
LastFunction.java | 21 import com.google.clearsilver.jsilver.values.Value; 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 23 import com.google.clearsilver.jsilver.values.VariableValue;
|
SubcountFunction.java | 21 import com.google.clearsilver.jsilver.values.Value; 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 23 import com.google.clearsilver.jsilver.values.VariableValue;
|
/external/libffi/testsuite/libffi.call/ |
float1.c | 28 void *values[MAX_ARGS]; local 34 values[0] = &f; 46 ffi_call(&cif, FFI_FN(dblit), &result[0].d, values);
|
float4.c | 30 void *values[MAX_ARGS]; local 36 values[0] = &d; 48 ffi_call(&cif, FFI_FN(dblit), &result[0].d, values);
|
struct3.c | 26 void *values[MAX_ARGS]; local 42 values[0] = &ts3_arg; 51 ffi_call(&cif, FFI_FN(struct3), ts3_result, values);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/ |
AnnotationEncodedSubValue.java | 47 public final EncodedValue[] values; field in class:AnnotationEncodedSubValue 58 values = new EncodedValue[names.length]; 62 values[i] = EncodedValue.readEncodedValue(dexFile, in); 67 * Constructs a new <code>AnnotationEncodedValue</code> with the given values. names and values must be the same 71 * @param values An array of the values of the elements on the annotation 73 public AnnotationEncodedSubValue(TypeIdItem annotationType, StringIdItem[] names, EncodedValue[] values) { 75 if (names.length != values.length) { 76 throw new RuntimeException("The names and values parameters must be the same length") [all...] |
/external/webrtc/src/system_wrappers/source/ |
data_log_c.cc | 61 const int* values, 64 return webrtc::DataLog::InsertCell(table_name, column_name, values, length); 76 const float* values, 79 return webrtc::DataLog::InsertCell(table_name, column_name, values, length); 91 const double* values, 94 return webrtc::DataLog::InsertCell(table_name, column_name, values, length); 106 const int32_t* values, 109 return webrtc::DataLog::InsertCell(table_name, column_name, values, length); 121 const uint32_t* values, 124 return webrtc::DataLog::InsertCell(table_name, column_name, values, length) [all...] |
/frameworks/base/core/java/android/transition/ |
Visibility.java | 59 transitionValues.values.put(PROPNAME_VISIBILITY, visibility); 60 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); 74 * Returns whether the view is 'visible' according to the given values 75 * object. This is determined by testing the same properties in the values 83 * @param values The TransitionValues object that holds the information by 85 * @return True if the view reference by <code>values</code> is visible, 88 public boolean isVisible(TransitionValues values) { 89 if (values == null) { 92 int visibility = (Integer) values.values.get(PROPNAME_VISIBILITY) [all...] |