/external/proguard/src/proguard/evaluation/value/ |
DetailedArrayReferenceValue.java | 38 private final Value[] values; field in class:DetailedArrayReferenceValue 56 // Initialize the values of the array. 64 this.values = new Value[arrayLength.value()]; 66 for (int index = 0; index < values.length; index++) 68 values[index] = initialValueFactory.createValue(elementType); 73 // Just ignore the values of the array. 74 this.values = null; 132 if (values != null && 137 index < values.length) 139 return values[index] [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForPhoto.java | 59 ContentValues values) { 61 if (values.containsKey(SKIP_PROCESSING_KEY)) { 62 values.remove(SKIP_PROCESSING_KEY); 65 if (!preProcessPhoto(values)) { 70 long dataId = super.insert(db, txContext, rawContactId, values); 78 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 82 if (values.containsKey(SKIP_PROCESSING_KEY)) { 83 values.remove(SKIP_PROCESSING_KEY); 86 if (!preProcessPhoto(values)) { 92 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) [all...] |
DataRowHandlerForIdentity.java | 36 ContentValues values) { 37 final long dataId = super.insert(db, txContext, rawContactId, values); 40 if (values.containsKey(Identity.IDENTITY) || values.containsKey(Identity.NAMESPACE)) { 48 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 51 super.update(db, txContext, values, c, callerIsSyncAdapter); 55 if (values.containsKey(Identity.IDENTITY) || values.containsKey(Identity.NAMESPACE)) {
|
/external/deqp/scripts/khr_util/ |
gen_str_util.py | 29 def allValuesUndefined (definitions, values): 30 for value in values: 35 def anyValueDefined (definitions, values): 36 return not allValuesUndefined(definitions, values) 46 for groupName, values in enumGroups: 47 if anyValueDefined(definitions, values): 53 for groupName, values in bitfieldGroups: 54 if anyValueDefined(definitions, values): 60 for groupName, values in enumGroups: 61 if anyValueDefined(definitions, values) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogProviderTest.java | 96 ContentValues values = getDefaultCallValues(); local 97 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); 98 values.put(Calls.COUNTRY_ISO, "us"); 99 assertStoredValues(uri, values); 100 assertSelection(uri, values, Calls._ID, ContentUris.parseId(uri)); 111 final ContentValues values = getDefaultCallValues(); local 112 values.put(Calls.TYPE, Calls.VOICEMAIL_TYPE); 113 values.put(Calls.VOICEMAIL_URI, "content://foo/voicemail/2"); 119 mResolver.insert(Calls.CONTENT_URI, values); 124 Uri uri = mResolver.insert(Calls.CONTENT_URI_WITH_VOICEMAIL, values); 131 ContentValues values = new ContentValues(); local 162 ContentValues values = getDefaultCallValues(); local 193 ContentValues values = new ContentValues(); local 293 final ContentValues values = getDefaultCallValues(); local 324 final ContentValues values = new ContentValues(); local 427 ContentValues values = new ContentValues(); local [all...] |
/external/marisa-trie/tests/ |
io-test.cc | 28 double values[] = { 345, 456 }; local 29 writer.write(values, 2); 30 EXCEPT(writer.write(values, 1U << 30), MARISA_SIZE_ERROR); 55 double values[3]; local 56 reader.read(values, 3); 57 ASSERT(values[0] == 345); 58 ASSERT(values[1] == 456); 59 ASSERT(values[2] == 567); 72 const double *values; local 73 mapper.map(&values, 3) 112 double values[] = { 456, 567, 678 }; local 134 double values[3]; local 165 double values[3] = { 456, 567, 678 }; local 182 double values[3]; local 204 double values[3] = { 456, 567, 678 }; local 215 double values[3]; local [all...] |
/external/marisa-trie/v0_1_5/tests/ |
io-test.cc | 29 double values[] = { 345, 456 }; local 30 writer.write(values, 2); 31 EXCEPT(writer.write(values, 1U << 30), MARISA_ALPHA_SIZE_ERROR); 56 double values[3]; local 57 reader.read(values, 3); 58 ASSERT(values[0] == 345); 59 ASSERT(values[1] == 456); 60 ASSERT(values[2] == 567); 73 const double *values; local 74 mapper.map(&values, 3) 113 double values[] = { 456, 567, 678 }; local 135 double values[3]; local 166 double values[3] = { 456, 567, 678 }; local 183 double values[3]; local 205 double values[3] = { 456, 567, 678 }; local 216 double values[3]; local [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
RecurrenceSetTest.java | 107 ContentValues values = new ContentValues(); local 108 values.put(CalendarContract.Events.DTSTART, 0); 109 values.put(CalendarContract.Events.DURATION, "P3600S"); 110 values.put(CalendarContract.Events.RRULE, RRULE_LESS_THAN_75_CHARS); 112 assertTrue(RecurrenceSet.populateComponent(values, component)); 123 values = new ContentValues(); 124 values.put(CalendarContract.Events.DTSTART, 0); 125 values.put(CalendarContract.Events.DURATION, "P3600S"); 126 values.put(CalendarContract.Events.RRULE, RRULE_MORE_THAN_75_CHARS); 128 assertTrue(RecurrenceSet.populateComponent(values, component)) [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/ |
VoicemailStatusHelperImplTest.java | 102 ContentValues values = new ContentValues(); local 106 values.put(NOTIFICATION_CHANNEL_STATE, NOTIFICATION_CHANNEL_STATE_NO_CONNECTION); 107 values.put(DATA_CHANNEL_STATE, DATA_CHANNEL_STATE_OK); 108 updateEntryForPackage(TEST_PACKAGES[1], values); 109 checkExpectedMessage(TEST_PACKAGES[1], values, STATUS_MSG_VOICEMAIL_NOT_AVAILABLE, 113 values.put(NOTIFICATION_CHANNEL_STATE, NOTIFICATION_CHANNEL_STATE_MESSAGE_WAITING); 114 values.put(DATA_CHANNEL_STATE, DATA_CHANNEL_STATE_OK); 115 updateEntryForPackage(TEST_PACKAGES[1], values); 116 checkNoMessages(TEST_PACKAGES[1], values); 121 values.put(NOTIFICATION_CHANNEL_STATE, NOTIFICATION_CHANNEL_STATE_OK) 227 ContentValues values = new ContentValues(); local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_params.c | 262 const VGfloat * values) 268 if ((count && !values) || !count_in_bounds(type, count) || !is_aligned(values)) { 293 vegaSeti(type, floor(values[0])); 298 VGuint *x = (VGuint*)values; 300 state->scissor_rects[i].f = values[i]; 311 state->color_transform_values[i] = values[i]; 317 state->stroke.line_width.f = values[0]; 318 state->stroke.line_width.i = float_to_int_floor(*((VGuint*)(values))); 321 state->stroke.miter_limit.f = values[0] [all...] |
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
BP2ProviderTests.java | 48 ContentValues values = new ContentValues(); local 49 values.put(Images.URL, url); 53 values.put(Images.THUMBNAIL, os.toByteArray()); 56 assertTrue(updateBookmark(Images.CONTENT_URI, values)); 69 ContentValues values = new ContentValues(); local 70 values.put(BrowserContract.Bookmarks.TITLE, "New Folder"); 71 values.put(BrowserContract.Bookmarks.IS_FOLDER, 1); 72 values.put(BrowserContract.Bookmarks.ACCOUNT_NAME, accountName); 73 values.put(BrowserContract.Bookmarks.ACCOUNT_TYPE, accountType); 74 Uri folderUri = insertBookmark(values); [all...] |
/art/test/123-compiler-regressions-mt/src/ |
Main.java | 60 private int[] values = { 42 }; field in class:B17689750TestVolatile 64 values = null; 69 int[] vs1 = values; 72 int[] vs2 = values; 82 private int[] values = { 42 }; field in class:B17689750TestMonitor 93 values = null; 101 vs1 = values; 112 int[] vs2 = values;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
StructArrayTest.java | 27 int[] values = {0, 1, 2, 3, 4}; local 28 S.set_i(0, values, true);
|
/development/tutorials/ReverseDebug/ |
main.c | 32 int values[ARRAY_LENGTH]; local 41 clobber(values, ARRAY_LENGTH);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
StorelessUnivariateStatistic.java | 22 * values and updating internal state. 26 * sample values.</p> 40 * all values in the values array. Does not clear the statistic first -- 41 * i.e., the values are added <strong>incrementally</strong> to the dataset. 43 * @param values array holding the new values to add 46 void incrementAll(double[] values); 50 * the values in the designated portion of the values array. Does no [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
NoteDataItem.java | 29 /* package */ NoteDataItem(ContentValues values) { 30 super(values);
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
ArrayMemberValue.java | 31 MemberValue[] values; field in class:ArrayMemberValue 39 values = null; 50 values = null; 56 if (values == null) 60 int size = values.length; 73 Array.set(a, i, values[i].getValue(cl, cp, method)); 99 return values; 106 values = elements; 116 if (values != null) { 117 for (int i = 0; i < values.length; i++) [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
EncodedArray.java | 23 public EncodedValue[] values; field in class:EncodedArray 29 values = new EncodedValue[size]; 31 (values[i] = new EncodedValue()).read(file); 40 for (EncodedValue encodedValue : values) { 49 for (EncodedValue value : values) {
|
/external/harfbuzz_ng/src/ |
hb-cache-private.hh | 43 memset (values, 255, sizeof (values)); 49 unsigned int v = values[k]; 62 values[k] = v; 67 unsigned int values[1<<cache_bits]; member in struct:hb_cache_t
|
/external/proguard/src/proguard/evaluation/ |
Variables.java | 29 * objects. Values are generalizations of all values that have been stored in 39 protected Value[] values; field in class:Variables 48 this.values = new Value[size]; 58 // Create the values array. 61 // Copy the values. 71 // Is the values array large enough? 72 if (size > values.length) 75 values = new Value[size]; 80 Arrays.fill(values, null) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
RetentionPolicyTest.java | 51 * @tests java.lang.annotation.RetentionPolicy#values() 55 RetentionPolicy[] values = RetentionPolicy.values(); local 56 assertTrue(values.length > 1); 57 Arrays.sort(values); 58 assertTrue(Arrays.binarySearch(values, RetentionPolicy.RUNTIME) >= 0);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
TimeStampReq.java | 171 Object[] values = (Object[]) in.content; 173 String objID = (values[2] == null) ? null : ObjectIdentifier 174 .toString((int[]) values[2]); 175 BigInteger nonce = (values[3] == null) ? null : new BigInteger( 176 (byte[]) values[3]); 178 if (values[5] == null) { 180 ASN1Integer.toIntValue(values[0]), 181 (MessageImprint) values[1], 184 (Boolean) values[4], 190 ASN1Integer.toIntValue(values[0]) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
EntityDiff.java | 44 * keyed using {@link BaseColumns#_ID} values. 51 ContentValues values; local 54 // Before doesn't exist, so insert "after" values 62 builder.withValues(child.values); 70 // After doesn't exist, so delete "before" values 73 builder.withSelection(getSelectIdClause(child.values), null); 82 // Somewhere between, so update any changed values 83 values = after.getEntityValues(); 84 if (!before.getEntityValues().equals(values)) { 85 // Top-level values changed, so updat [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
p5.cpp | 131 template<int ...Values> 135 Values; // expected-error{{expression contains unexpanded parameter pack 'Values'}} 141 (Values); // expected-error{{expression contains unexpanded parameter pack 'Values'}} 143 -Values; // expected-error{{expression contains unexpanded parameter pack 'Values'}} 148 __builtin_offsetof(OffsetMe, array[Values]); // expected-error{{expression contains unexpanded parameter pack 'Values'}} 245 void test_unexpanded_exprs(Types ...values) { [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
StandardDeviationVerificationTest.java | 38 float[][] values = { local 50 runVerification(threshold, values, true, standardDeviations); 53 runVerification(threshold, values, false, standardDeviations); 56 runVerification(threshold, values, false, standardDeviations); 59 runVerification(threshold, values, false, standardDeviations); 62 private void runVerification(float[] threshold, float[][] values, boolean pass, 65 StandardDeviationVerification verification = getVerification(threshold, values); 87 float[] ... values) { 88 Collection<TestSensorEvent> events = new ArrayList<>(values.length); 89 for (float[] value : values) { [all...] |