/external/icu4c/i18n/ |
bocsu.h | 35 * - avoid byte values 0, 1, 2 47 * (trail byte values may overlap with lead/single byte values). 50 * We encode differences with few bytes if their absolute values are small. 53 * Instead, we split the lead byte range in the middle and encode non-negative values 54 * going up and negative values going down. 56 * For very small absolute values, the difference is added to a middle byte value 58 * For somewhat larger absolute values, the difference is divided by the number 59 * of byte values available, the modulo is used for one trail byte, and the remainder 61 * For large absolute values, the difference is similarly encoded in three bytes [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...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PostalSplitter.java | 41 public void fromValues(ContentValues values) { 42 street = values.getAsString(StructuredPostal.STREET); 43 pobox = values.getAsString(StructuredPostal.POBOX); 44 neighborhood = values.getAsString(StructuredPostal.NEIGHBORHOOD); 45 city = values.getAsString(StructuredPostal.CITY); 46 region = values.getAsString(StructuredPostal.REGION); 47 postcode = values.getAsString(StructuredPostal.POSTCODE); 48 country = values.getAsString(StructuredPostal.COUNTRY); 51 public void toValues(ContentValues values) { 52 values.put(StructuredPostal.STREET, street) 85 final String[] values = new String[] { local [all...] |
DataRowHandlerForEmail.java | 38 ContentValues values) { 39 String email = values.getAsString(Email.DATA); 41 long dataId = super.insert(db, txContext, rawContactId, values); 52 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 54 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 58 if (values.containsKey(Email.DATA)) { 62 String address = values.getAsString(Email.DATA); 97 public boolean containsSearchableColumns(ContentValues values) { 98 return values.containsKey(Email.ADDRESS);
|
DataRowHandlerForNickname.java | 40 ContentValues values) { 41 String nickname = values.getAsString(Nickname.NAME); 43 long dataId = super.insert(db, txContext, rawContactId, values); 54 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 59 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) { 63 if (values.containsKey(Nickname.NAME)) { 64 String nickname = values.getAsString(Nickname.NAME); 88 public boolean containsSearchableColumns(ContentValues values) { 89 return values.containsKey(Nickname.NAME);
|
DataRowHandler.java | 109 ContentValues values) { 110 final long dataId = db.insert(Tables.DATA, null, values); 112 final Integer primary = values.getAsInteger(Data.IS_PRIMARY); 113 final Integer superPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY); 135 if (containsSearchableColumns(values)) { 149 ContentValues values, Cursor c, boolean callerIsSyncAdapter) { 153 handlePrimaryAndSuperPrimary(values, dataId, rawContactId); 155 if (values.size() > 0) { 157 db.update(Tables.DATA, values, Data._ID + " =?", mSelectionArgs1); 160 if (containsSearchableColumns(values)) { 323 final ContentValues values = new ContentValues(); local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/calllog/ |
FillCallLogTestActivity.java | 102 * Creates a {@link ContentValues} object containing values corresponding to the given cursor. 104 * @param cursor the cursor from which to get the values 105 * @return a newly created content values object 108 ContentValues values = new ContentValues(); local 114 values.put(name, cursor.getString(column)); 117 values.put(name, cursor.getLong(column)); 120 values.put(name, cursor.getDouble(column)); 123 values.put(name, cursor.getBlob(column)); 126 values.putNull(name); 133 return values; 166 ContentValues[] values = new ContentValues[dataCount]; local 225 ContentValues values = mValues[index % mValues.length]; local [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextLayoutAttributes.cpp | 63 static inline float safeValueAtPosition(const Vector<float>& values, unsigned position) 65 return position < values.size() ? values[position] : SVGTextLayoutAttributes::emptyValue(); 83 static inline void dumpLayoutVector(const Vector<float>& values) 85 if (values.isEmpty()) { 90 unsigned size = values.size(); 92 float value = values.at(i); 104 fprintf(stderr, "x values: "); 108 fprintf(stderr, "y values: "); 112 fprintf(stderr, "dx values: ") [all...] |
/dalvik/dx/src/com/android/dx/io/ |
Annotation.java | 29 private final EncodedValue[] values; field in class:Annotation 32 EncodedValue[] values) { 37 this.values = values; 53 return values; 62 values[i].writeTo(out); 75 int compare = values[i].compareTo(other.values[i]); 99 result.append(values[i]);
|
/external/oprofile/libutil++/ |
unique_storage.h | 3 * Unique storage of values 20 * Store values such that only one copy of the value 38 values.push_back(V()); 81 typename id_map::value_type val(value, id_value(values.size())); 85 values.push_back(value); 94 if (id.id < values.size()) 95 return values[id.id]; 103 /// the contained values 104 stored_values values; member in class:unique_storage
|
/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'}) {
|
/external/webkit/Source/WebCore/svg/properties/ |
SVGTransformListPropertyTearOff.h | 47 SVGTransformList& values = m_animatedProperty->values(); local 48 return SVGPropertyTearOff<SVGTransform>::create(values.createSVGTransformFromMatrix(matrix->propertyReference())); 56 SVGTransformList& values = m_animatedProperty->values(); 58 ASSERT(values.size() == wrappers.size()); 61 if (values.isEmpty()) 65 RefPtr<SVGPropertyTearOff<SVGTransform> > wrapper = SVGPropertyTearOff<SVGTransform>::create(values.consolidate()); 68 ASSERT(values.size() == wrappers.size());
|
/frameworks/base/core/java/android/content/ |
Entity.java | 37 public Entity(ContentValues values) { 38 mValues = values; 50 public void addSubValue(Uri uri, ContentValues values) { 51 mSubValues.add(new Entity.NamedContentValues(uri, values)); 56 public final ContentValues values; field in class:Entity.NamedContentValues 58 public NamedContentValues(Uri uri, ContentValues values) { 60 this.values = values; 69 sb.append("\n -> ").append(namedValue.values);
|
/frameworks/base/core/jni/android/graphics/ |
Interpolator.cpp | 29 float* values = autoValues.ptr(); local 36 scalars[i] = SkFloatToScalar(values[i]); 40 values = autoBlend.ptr(); 42 blendStorage[i] = SkFloatToScalar(values[i]); 62 float* values = valueArray ? env->GetFloatArrayElements(valueArray, NULL) : NULL; local 63 result = interp->timeToValues(msec, (SkScalar*)values); 68 values[i] = SkScalarToFloat(*(SkScalar*)&values[i]); 70 env->ReleaseFloatArrayElements(valueArray, values, 0);
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
ElementTimeManipulation.java | 19 * "accelerate" and "decelerate" are float values in the timing draft and 20 * percentage values even in this draft if both of them represent a 26 * a multiple of normal (parent time container) play speed. Legal values 27 * are signed floating point values. Zero values are not allowed. The 38 * element. Allowed values are from <code>0</code> to <code>100</code> . 40 * <br> The sum of the values for accelerate and decelerate must not exceed 52 * element. Allowed values are from <code>0</code> to <code>100</code> . 54 * <br> The sum of the values for accelerate and decelerate must not exceed
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
BarrierConsumer.java | 25 * A consumer that consumes a fixed number of values. When the expected number of values 26 * has been consumed, further values are rejected. 41 * @param expectedCount The number of values to consume. 52 * @return A list of values, never {@code null}. 62 // Return the values that we've gotten so far 64 ArrayList<A> values = mValues; local 66 return values; 76 // or enough values have already been consumed
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
legacy_contacts.sql | 5 INSERT INTO _deleted_people VALUES(1249441421793000,'20d08a710c3df43d','android.contacts.test.eclair@gmail.com',NULL); 7 INSERT INTO _sync_state VALUES(1,'android.contacts.test.eclair@gmail.com',''); 9 INSERT INTO _sync_state_metadata VALUES(2); 11 INSERT INTO android_metadata VALUES('en_US'); 13 INSERT INTO calls VALUES(1,18004664411,1249177360040,10,2,1,'Jane Doe',1,NULL); 15 INSERT INTO contact_methods VALUES(1,2,1,'a@acme.com',NULL,1,NULL,1); 16 INSERT INTO contact_methods VALUES(2,2,1,'b@acme.com',NULL,2,NULL,0); 17 INSERT INTO contact_methods VALUES(3,2,1,'c@acme.com',NULL,3,NULL,0); 18 INSERT INTO contact_methods VALUES(4,2,1,'d@acme.com',NULL,3,NULL,0); 19 INSERT INTO contact_methods VALUES(5,2,3,'a','pre:5',3,NULL,0) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x500/ |
X500NameBuilder.java | 39 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, String[] values) 41 ASN1Encodable[] vals = new ASN1Encodable[values.length]; 45 vals[i] = template.stringToValue(oids[i], values[i]); 51 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, ASN1Encodable[] values) 57 avs[i] = new AttributeTypeAndValue(oids[i], values[i]);
|
/external/chromium/net/tools/testserver/ |
asn1der.py | 53 def Sequence(values): 54 """Encodes a sequence of other values. 57 values: the list of values, must be strings holding already encoded data. 61 return Data(SEQUENCE, ''.join(values))
|
/external/libffi/testsuite/libffi.call/ |
negint.c | 22 void *values[MAX_ARGS]; local 30 values[0] = &si; 32 values[1] = &ss; 34 values[2] = ≻ 46 ffi_call(&cif, FFI_FN(checking), &rint, values);
|
return_ll1.c | 18 void *values[MAX_ARGS]; local 26 values[0] = &ll0; 27 values[1] = &ll1; 28 values[2] = &ll2; 38 ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values);
|
/external/libffi/testsuite/libffi.special/ |
unwindtest_ffi_call.cc | 20 void *values[MAX_ARGS]; local 28 values[0] = &si; 30 values[1] = &ss; 32 values[2] = ≻ 44 ffi_call(&cif, FFI_FN(checking), &rint, values);
|
/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...] |
/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...] |
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
RetentionPolicyTest.java | 39 RetentionPolicy[] values = RetentionPolicy.values(); local 40 assertTrue(values.length > 1); 41 Arrays.sort(values); 42 assertTrue(Arrays.binarySearch(values, RetentionPolicy.RUNTIME) >= 0);
|