/external/libffi/testsuite/libffi.call/ |
strlen_win32.c | 20 void *values[MAX_ARGS]; local 24 values[0] = (void*) &s; 31 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); 35 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values); 39 ffi_call(&cif, FFI_FN(my_stdcall_strlen), &rint, values);
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/ |
ArrayEncodedValueAdaptor.java | 40 EncodedValue[] values = encodedArray.values; local 41 if (values == null || values.length == 0) { 49 for (EncodedValue encodedValue: encodedArray.values) {
|
/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/apps/Contacts/src/com/android/contacts/model/dataitem/ |
DataItem.java | 47 protected DataItem(ContentValues values) { 48 mContentValues = values; 53 * content values. Raw contact is the raw contact that this data item is associated with. 55 public static DataItem createFrom(ContentValues values) { 56 final String mimeType = values.getAsString(Data.MIMETYPE); 58 return new GroupMembershipDataItem(values); 60 return new StructuredNameDataItem(values); 62 return new PhoneDataItem(values); 64 return new EmailDataItem(values); 66 return new StructuredPostalDataItem(values); [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...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogProviderTest.java | 92 ContentValues values = getDefaultCallValues(); local 93 Uri uri = mResolver.insert(Calls.CONTENT_URI, values); 94 values.put(Calls.COUNTRY_ISO, "us"); 95 assertStoredValues(uri, values); 96 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 186 ContentValues values = new ContentValues(); local 278 final ContentValues values = getDefaultCallValues(); local 309 final ContentValues values = new ContentValues(); local 371 ContentValues values = new ContentValues(); local [all...] |
DirectoryTest.java | 47 ContentValues values = new ContentValues(); local 51 values.put(Directory.PACKAGE_NAME, "contactsTestPackage"); 52 values.put(Directory.DIRECTORY_AUTHORITY, ContactsContract.AUTHORITY); 53 values.put(Directory.TYPE_RESOURCE_ID, R.string.default_directory); 54 values.put(Directory.EXPORT_SUPPORT, Directory.EXPORT_SUPPORT_NONE); 55 values.putNull(Directory.ACCOUNT_NAME); 56 values.putNull(Directory.ACCOUNT_TYPE); 57 values.putNull(Directory.DISPLAY_NAME); 59 assertStoredValues(defaultDirectoryUri, values); 63 ContentValues values = new ContentValues() local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
SQLite_Test.java | 16 ContentValues values; field in class:SQLite_Test 22 values = new ContentValues(); 23 values.put("name", "Chuck"); 24 values.put("int_value", 33); 25 values.put("float_value", (float) 1.5); 26 values.put("byte_data", byteData); 31 SQLite.SQLStringAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_NONE); 32 assertThat(insertString.sql, equalTo("INSERT INTO table_name (float_value, byte_data, name, int_value) VALUES (?, ?, ?, ?);")); 38 SQLite.SQLStringAndBindings insertString = buildUpdateString("table_name", values, "id=?", new String[]{"1234"}); 57 SQLStringAndBindings columnValuesClause = buildColumnValuesClause(values); [all...] |
H2Test.java | 19 ContentValues values; field in class:H2Test 26 values = new ContentValues(); 27 values.put("name", "Chuck"); 28 values.put("int_value", 33); 29 values.put("float_value", (float) 1.5); 30 values.put("byte_data", byteData); 35 SQLite.SQLStringAndBindings insertString = buildInsertString("table_name", values, SQLiteDatabase.CONFLICT_REPLACE); 36 assertThat(insertString.sql, equalTo("INSERT INTO table_name (float_value, byte_data, name, int_value) VALUES (?, ?, ?, ?);"));
|
/external/chromium_org/base/debug/ |
crash_logging_unittest.cc | 66 std::map<std::string, std::string>& values = *key_values_; local 70 EXPECT_EQ(1u, values.size()); 71 EXPECT_EQ("foo", values[kChunk1]); 72 EXPECT_TRUE(values.end() == values.find(kChunk2)); 73 EXPECT_TRUE(values.end() == values.find(kChunk3)); 77 EXPECT_EQ(3u, values.size()); 78 EXPECT_EQ("five ", values[kChunk1]); 79 EXPECT_EQ("four ", values[kChunk2]) [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...] |
/external/qemu/android/utils/ |
intmap.c | 32 void** values; member in struct:AIntMap 48 map->values = map->values0; 59 if (map->values != map->values0) 60 AFREE(map->values); 90 return map->values[index]; 102 void* values = map->values; local 107 if (values == map->values0) 108 values = NULL; 116 AARRAY_RENEW(values, newCapacity) [all...] |
/frameworks/base/core/java/android/provider/ |
SyncStateContract.java | 105 ContentValues values = new ContentValues(); local 106 values.put(Columns.DATA, data); 107 values.put(Columns.ACCOUNT_NAME, account.name); 108 values.put(Columns.ACCOUNT_TYPE, account.type); 109 provider.insert(uri, values); 114 ContentValues values = new ContentValues(); local 115 values.put(Columns.DATA, data); 116 values.put(Columns.ACCOUNT_NAME, account.name); 117 values.put(Columns.ACCOUNT_TYPE, account.type); 118 return provider.insert(uri, values); 123 ContentValues values = new ContentValues(); local 160 ContentValues values = new ContentValues(); local 179 ContentValues values = new ContentValues(); local [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 139 * @param values 141 void onAddToDatabase(ContentValues values) { 142 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType); 143 values.put(LauncherSettings.Favorites.CONTAINER, container); 144 values.put(LauncherSettings.Favorites.SCREEN, screen); 145 values.put(LauncherSettings.Favorites.CELLX, cellX); 146 values.put(LauncherSettings.Favorites.CELLY, cellY); 147 values.put(LauncherSettings.Favorites.SPANX, spanX); 148 values.put(LauncherSettings.Favorites.SPANY, spanY); 151 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ItemInfo.java | 128 * @param values 130 void onAddToDatabase(ContentValues values) { 131 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType); 132 values.put(LauncherSettings.Favorites.CONTAINER, container); 133 values.put(LauncherSettings.Favorites.SCREEN, screenId); 134 values.put(LauncherSettings.Favorites.CELLX, cellX); 135 values.put(LauncherSettings.Favorites.CELLY, cellY); 136 values.put(LauncherSettings.Favorites.SPANX, spanX); 137 values.put(LauncherSettings.Favorites.SPANY, spanY); 140 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
ScaleAnimationTest.java | 78 float values[] = new float[9]; local 82 transformation.getMatrix().getValues(values); 83 assertMatrixValue(FROM_X, FROM_Y, values); 84 float trans1X = values[Matrix.MTRANS_X]; 85 float trans1Y = values[Matrix.MTRANS_Y]; 88 transformation.getMatrix().getValues(values); 89 assertMatrixValue(MID_X, MID_Y, values); 90 float trans2X = values[Matrix.MTRANS_X]; 91 float trans2Y = values[Matrix.MTRANS_Y]; 94 transformation.getMatrix().getValues(values); [all...] |
TranslateAnimationTest.java | 74 // Test negative input values 81 // Test negative input values 100 float values[] = new float[9]; local 103 transformation.getMatrix().getValues(values); 104 assertEquals(FROM_X_DETLTA, values[Matrix.MTRANS_X], POSITION_DELTA); 105 assertEquals(FROM_Y_DELTA, values[Matrix.MTRANS_Y], POSITION_DELTA); 109 transformation.getMatrix().getValues(values); 110 assertEquals((TO_X_DELTA + FROM_X_DETLTA) / 2, values[Matrix.MTRANS_X], POSITION_DELTA); 111 assertEquals((TO_Y_DELTA + FROM_Y_DELTA) / 2, values[Matrix.MTRANS_Y], POSITION_DELTA); 115 transformation.getMatrix().getValues(values); 168 float values[] = new float[9]; local [all...] |
/system/extras/tests/memtest/ |
bandwidth.cpp | 67 arg_t *values) { 80 (*values)[name].int_value = strtol(argv[++i], NULL, 0); 82 (*values)[name].char_value = argv[++i]; 92 BandwidthBenchmark *createBandwidthBenchmarkObject(arg_t values) { 95 const char *name = values["type"].char_value; 97 if (values.count("size") > 0) { 98 size = values["size"].int_value; 139 if (!bench->setSize(values["size"].int_value)) { 144 if (values.count("num_warm_loops") > 0) { 145 bench->set_num_loops(values["num_warm_loops"].int_value) 296 arg_t values; local 334 arg_t values; local 371 arg_t values; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/ |
FEColorMatrix.cpp | 43 FEColorMatrix::FEColorMatrix(Filter* filter, ColorMatrixType type, const Vector<float>& values) 46 , m_values(values) 50 PassRefPtr<FEColorMatrix> FEColorMatrix::create(Filter* filter, ColorMatrixType type, const Vector<float>& values) 52 return adoptRef(new FEColorMatrix(filter, type, values)); 68 const Vector<float>& FEColorMatrix::values() const function in class:WebCore::FEColorMatrix 73 bool FEColorMatrix::setValues(const Vector<float> &values) 75 if (m_values == values) 77 m_values = values; 81 inline void matrix(float& red, float& green, float& blue, float& alpha, const Vector<float>& values) 83 float r = values[0] * red + values[1] * green + values[2] * blue + values[3] * alpha + values[4] * 255 [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 125 * Creates a {@link ContentValues} object containing values corresponding to the given cursor. 127 * @param cursor the cursor from which to get the values 128 * @return a newly created content values object 131 ContentValues values = new ContentValues(); local 137 values.put(name, cursor.getString(column)); 140 values.put(name, cursor.getLong(column)); 143 values.put(name, cursor.getDouble(column)); 146 values.put(name, cursor.getBlob(column)); 149 values.putNull(name); 156 return values; 160 ContentValues[] values = new ContentValues[count]; local 204 ContentValues[] values = new ContentValues[mCount]; local 258 ContentValues values = mValues[index]; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
IssuingDistributionPoint.java | 45 // values of the fields of the structure 55 * onlySomeReasons fields values. 147 Object[] values = (Object[]) in.content; 149 (DistributionPointName) values[0], (ReasonFlags) values[3]); 151 if (values[1] != null) { 152 idp.setOnlyContainsUserCerts((Boolean) values[1]); 154 if (values[2] != null) { 155 idp.setOnlyContainsCACerts((Boolean) values[2]); 157 if (values[4] != null) [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
ConversationCursorTests.java | 97 ContentValues values = makeConvo("Subj1", "Folder", 0, 0); local 98 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); 99 values = makeConvo("Subj2", "Folder", 0, 1); 100 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); 101 values = makeConvo("Subj3", "Folder", 0, 0); 102 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); 103 values = makeConvo("Subj4", "Folder", 0, 1); 104 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); 105 values = makeConvo("Subj5", "Folder", 1, 0); 106 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForOrganization.java | 43 ContentValues values) { 44 String company = values.getAsString(Organization.COMPANY); 45 String title = values.getAsString(Organization.TITLE); 47 long dataId = super.insert(db, txContext, rawContactId, values); 54 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 56 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 60 boolean containsCompany = values.containsKey(Organization.COMPANY); 61 boolean containsTitle = values.containsKey(Organization.TITLE); 69 company = values.getAsString(Organization.COMPANY); 80 title = values.getAsString(Organization.TITLE) [all...] |
/external/hamcrest/src/org/hamcrest/core/ |
DescribedAs.java | 18 private final Object[] values;
field in class:DescribedAs 22 public DescribedAs(String descriptionTemplate, Matcher<T> matcher, Object[] values) {
25 this.values = values.clone();
39 description.appendValue(values[argIndex]);
52 public static <T> Matcher<T> describedAs(String description, Matcher<T> matcher, Object... values) {
53 return new DescribedAs<T>(description, matcher, values);
|