/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...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
SignerInfo.java | 152 @Override public void getValues(Object object, Object[] values) { 154 values[0] = issAndSerial[0]; 155 values[1] = issAndSerial[1]; 175 @Override protected void getValues(Object object, Object[] values) { 177 values[0] = new byte[] {(byte)si.version}; 179 values[1] = new Object[] { new Name(si.issuer.getName()), 187 values[2] = si.digestAlgorithm; 188 values[3] = si.authenticatedAttributes; 189 values[4] = si.digestEncryptionAlgorithm; 190 values[5] = si.encryptedDigest [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 106 * @param values 108 void onAddToDatabase(ContentValues values) { 109 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType); 111 values.put(LauncherSettings.Favorites.CONTAINER, container); 112 values.put(LauncherSettings.Favorites.SCREEN, screen); 113 values.put(LauncherSettings.Favorites.CELLX, cellX); 114 values.put(LauncherSettings.Favorites.CELLY, cellY); 115 values.put(LauncherSettings.Favorites.SPANX, spanX); 116 values.put(LauncherSettings.Favorites.SPANY, spanY); 120 void updateValuesWithCoordinates(ContentValues values, int cellX, int cellY) [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 161 ContentValues values = getDefaultCallValues(); local 185 ContentValues values = new ContentValues(); local 216 final ContentValues values = getDefaultCallValues(); local 247 final ContentValues values = new ContentValues(); local 309 ContentValues values = new ContentValues(); local [all...] |
DirectoryTest.java | 45 ContentValues values = new ContentValues(); local 49 values.put(Directory.PACKAGE_NAME, "contactsTestPackage"); 50 values.put(Directory.DIRECTORY_AUTHORITY, ContactsContract.AUTHORITY); 51 values.put(Directory.TYPE_RESOURCE_ID, R.string.default_directory); 52 values.put(Directory.EXPORT_SUPPORT, Directory.EXPORT_SUPPORT_NONE); 53 values.putNull(Directory.ACCOUNT_NAME); 54 values.putNull(Directory.ACCOUNT_TYPE); 55 values.putNull(Directory.DISPLAY_NAME); 57 assertStoredValues(defaultDirectoryUri, values); 61 ContentValues values = new ContentValues() local [all...] |
GlobalSearchSupportTest.java | 122 ContentValues values = new ContentValues(); local 131 values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, "Dial number"); 132 values.put(SearchManager.SUGGEST_COLUMN_TEXT_2, "using 12345678"); 133 values.put(SearchManager.SUGGEST_COLUMN_ICON_1, 135 values.put(SearchManager.SUGGEST_COLUMN_INTENT_ACTION, 137 values.put(SearchManager.SUGGEST_COLUMN_INTENT_DATA, "tel:12345678"); 138 values.putNull(SearchManager.SUGGEST_COLUMN_SHORTCUT_ID); 139 assertCursorValues(c, values); 142 values.clear(); 143 values.put(SearchManager.SUGGEST_COLUMN_TEXT_1, "Create contact") 220 ContentValues values = getContactValues(); local 230 ContentValues values = new ContentValues(); local 249 ContentValues values = new ContentValues(); local [all...] |
BaseContactsProvider2Test.java | 183 ContentValues values = new ContentValues(); local 184 extrasVarArgsToValues(values, extras); 186 Uri contactUri = mResolver.insert(uri, values); 196 ContentValues values = new ContentValues(); local 197 extrasVarArgsToValues(values, extras); 198 return mResolver.update(uri, values, null, null); 201 private static void extrasVarArgsToValues(ContentValues values, String... extras) { 203 values.put(extras[i], extras[i + 1]); 223 ContentValues values = new ContentValues(); local 224 values.put(Groups.SOURCE_ID, sourceId) 240 ContentValues values = new ContentValues(); local 252 ContentValues values = new ContentValues(); local 303 ContentValues values = new ContentValues(); local 326 ContentValues values = new ContentValues(); local 341 ContentValues values = new ContentValues(); local 352 ContentValues values = new ContentValues(); local 369 ContentValues values = new ContentValues(); local 378 ContentValues values = new ContentValues(); local 387 ContentValues values = new ContentValues(); local 395 ContentValues values = new ContentValues(); local 422 ContentValues values = new ContentValues(); local 437 ContentValues values = new ContentValues(); local 485 ContentValues values = new ContentValues(); local 498 ContentValues values = new ContentValues(); local 508 ContentValues values = new ContentValues(); local 517 ContentValues values = new ContentValues(); local 522 RawContacts.CONTENT_URI, rawContactId), values, null, null); local 526 ContentValues values = new ContentValues(); local 789 ContentValues values = new ContentValues(); local 799 ContentValues values = new ContentValues(); local 810 ContentValues values = new ContentValues(); local 1421 ContentValues values = new ContentValues(); local 1430 ContentValues values = new ContentValues(); local 1445 ContentValues values = new ContentValues(); local 1465 ContentValues values = new ContentValues(); local [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
ScaleAnimationTest.java | 119 float values[] = new float[9]; local 123 transformation.getMatrix().getValues(values); 124 assertMatrixValue(FROM_X, FROM_Y, values); 125 float trans1X = values[Matrix.MTRANS_X]; 126 float trans1Y = values[Matrix.MTRANS_Y]; 129 transformation.getMatrix().getValues(values); 130 assertMatrixValue(MID_X, MID_Y, values); 131 float trans2X = values[Matrix.MTRANS_X]; 132 float trans2Y = values[Matrix.MTRANS_Y]; 135 transformation.getMatrix().getValues(values); [all...] |
/external/webkit/LayoutTests/http/tests/resources/ |
post-and-verify-hybrid.cgi | 15 @values; 16 $values{'start'} = 0; 17 $values{'length'} = -1; 18 $values{'convert_newlines'} = 0; 21 $values{$key} = $value; 29 @items = split(/,/, $values{'items'}); 31 $readPos = $values{'start'}; 32 $remainingLength = $values{'length'}; 74 if ($values{'convert_newlines'}) {
|
/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...] |
GeneralSubtree.java | 109 Object[] values = (Object[]) in.content; 111 if (values[2] != null) { 112 maximum = ASN1Integer.toIntValue(values[2]); // no! 114 return new GeneralSubtree((GeneralName) values[0], 115 ASN1Integer.toIntValue(values[1]), 119 @Override protected void getValues(Object object, Object[] values) { 121 values[0] = gs.base; 122 values[1] = ASN1Integer.fromIntValue(gs.minimum); 124 values[2] = ASN1Integer.fromIntValue(gs.maximum);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForOrganization.java | 42 ContentValues values) { 43 String company = values.getAsString(Organization.COMPANY); 44 String title = values.getAsString(Organization.TITLE); 46 long dataId = super.insert(db, txContext, rawContactId, values); 53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 55 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 59 boolean containsCompany = values.containsKey(Organization.COMPANY); 60 boolean containsTitle = values.containsKey(Organization.TITLE); 68 company = values.getAsString(Organization.COMPANY); 79 title = values.getAsString(Organization.TITLE) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
DerOutputStream.java | 65 Object[] values = val[index]; local 70 if (values[i] == null) { 74 content = values[i]; 90 Object[] values = val[index]; local 94 for (int i = 0; i < values.length; i++) { 95 content = values[i]; 101 private void push(int[] lengths, Object[] values) { 114 val[index] = values; 121 Object[] values = new Object[] { choice.type[i], content }; local 123 push(null, values); 133 Object[] values = new Object[1]; local 153 Object[] values = new Object[type.length]; local 203 Object[] values = new Object[cv.length]; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
TSTInfo.java | 221 Object[] values = (Object[]) in.content; 225 if (values[i] != null) { 226 accuracy[i] = ASN1Integer.toIntValue(values[i]); 235 protected void getValues(Object object, Object[] values) { 241 values[i] = BigInteger.valueOf(accuracy[i]).toByteArray(); 266 Object[] values = (Object[]) in.content; 268 BigInteger nonce = (values[7] == null) ? null : new BigInteger( 269 (byte[]) values[7]); 272 ASN1Integer.toIntValue(values[0]), 273 ObjectIdentifier.toString((int[]) values[1]) [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
SwitchList.java | 28 /** {@code non-null;} list of test values */ 29 private final IntList values; field in class:SwitchList 32 * {@code non-null;} list of targets corresponding to the test values; there 48 this.values = new IntList(size); 56 values.setImmutable(); 77 return values.get(n); 112 * Gets the list of all case values. 117 return values; 154 values.add(value); 180 values.set(at, values.get(i)) [all...] |
/external/chromium/chrome/browser/tabs/ |
pinned_tab_test_utils.cc | 20 const std::vector<BrowserInit::LaunchWithProfile::Tab>& values) { 22 for (size_t i = 0; i < values.size(); ++i) { 25 result += TabToString(values[i]);
|
/external/libffi/testsuite/libffi.call/ |
float2.c | 21 void *values[MAX_ARGS]; local 26 values[0] = &f; 41 ffi_call(&cif, FFI_FN(ldblit), &ld, values);
|
/libcore/luni/src/main/java/java/io/ |
SerializationHandleMap.java | 29 private int[] values; field in class:SerializationHandleMap 46 int[] oldValues = values; 49 this.values = new int[newSize]; 57 values[index] = value; 65 return values[index]; 109 values[index] = -1; 113 int result = values[index]; 114 values[index] = _value; 136 result = values[index]; 157 values[index] = values[next] [all...] |
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
BP2TestCaseHelper.java | 126 Uri mockInsert(Uri uri, ContentValues values) { 128 Uri ret = getMockContentResolver().insert(uri, values); 133 int mockUpdate(Uri uri, ContentValues values, String where, 136 int ret = getMockContentResolver().update(uri, values, where, selectionArgs); 147 ContentValues values = new ContentValues(); local 148 values.put(BrowserContract.Bookmarks.TITLE, title); 149 values.put(BrowserContract.Bookmarks.URL, url); 150 values.put(BrowserContract.Bookmarks.IS_FOLDER, 0); 151 return insertBookmark(values); 154 public Uri insertBookmark(ContentValues values) { 163 ContentValues values = new ContentValues(); local 184 ContentValues values = new ContentValues(); local 195 ContentValues values = new ContentValues(); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
ArrayData.java | 38 /** {@code non-null;} initial values to be filled into an array */ 39 private final ArrayList<Constant> values; field in class:ArrayData 57 * @param values {@code non-null;} initial values to be filled into an array 60 ArrayList<Constant> values, 68 if (values == null) { 69 throw new NullPointerException("values == null"); 72 int sz = values.size(); 75 throw new IllegalArgumentException("Illegal number of init values"); 96 this.values = values [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
ArrayData.java | 38 /** {@code non-null;} initial values to be filled into an array */ 39 private final ArrayList<Constant> values; field in class:ArrayData 57 * @param values {@code non-null;} initial values to be filled into an array 60 ArrayList<Constant> values, 68 if (values == null) { 69 throw new NullPointerException("values == null"); 72 int sz = values.size(); 75 throw new IllegalArgumentException("Illegal number of init values"); 96 this.values = values [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'}} 238 void test_unexpanded_exprs(Types ...values) { [all...] |
/frameworks/base/core/java/android/animation/ |
ObjectAnimator.java | 47 * a setter function that will be called to set animated values. 54 * name of the property being animated, use <code>float</code> or <code>int</code> typed values, 82 // New property/values/target should cause re-initialization prior to starting 107 // New property/values/target should cause re-initialization prior to starting 113 * a setter function that will be called to set animated values. 157 * Constructs and returns an ObjectAnimator that animates between int values. A single 158 * value implies that that value is the one being animated to. Two values imply a starting 159 * and ending values. More than two values imply a starting value, values to animate throug [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsMessageBodyTest.java | 264 int[] values = {0, 0, 0, SmsMessage.ENCODING_7BIT, 0, 0}; local 282 values[0] = sTestMsgCounts[i]; 283 values[1] = len; 284 values[2] = sSeptetUnitsRemaining[i]; 286 callGsmLengthMethods(testStr, false, values); 287 callGsmLengthMethods(testStr, true, values); 288 callCdmaLengthMethods(testStr, false, values); 289 callCdmaLengthMethods(testStr, true, values); 296 int[] values = {0, 0, 0, SmsMessage.ENCODING_16BIT, 0, 0}; local 316 values[0] = sTestMsgCounts[i] 556 int[] values = android.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); local 586 int[] values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); local [all...] |