/external/llvm/test/FrontendC/ |
2004-01-01-UnknownInitSize.c | 10 int values []; member in struct:one
|
/external/proguard/src/proguard/evaluation/ |
Stack.java | 36 protected Value[] values; field in class:Stack 43 * space required by Category 2 values. 47 values = new Value[maxSize]; 56 // Create the values array. 57 this(stack.values.length); 66 * operations, accounting for the double space required by Category 2 values. 79 // Is the values array large enough? 80 if (maxSize > values.length) 83 values = new Value[maxSize]; 94 * Copies the values of the given Stack into this Stack [all...] |
/frameworks/base/core/java/android/hardware/ |
SensorEvent.java | 23 * course the sensor's {@link SensorEvent#values data}. 39 * screen. In this system, coordinates behind the screen have negative Z values. 61 * The length and contents of the {@link #values values} array depends on 67 * Sensor.TYPE_ACCELEROMETER}:</h4> All values are in SI units (m/s^2) 71 * values[0]: Acceleration minus Gx on the x-axis 74 * values[1]: Acceleration minus Gy on the y-axis 77 * values[2]: Acceleration minus Gz on the z-axis 125 * gravity[0] = alpha * gravity[0] + (1 - alpha) * event.values[0]; 126 * gravity[1] = alpha * gravity[1] + (1 - alpha) * event.values[1] 434 public final float[] values; field in class:SensorEvent [all...] |
SensorListener.java | 21 * sensor values have changed. 30 * <p>Called when sensor values have changed. 31 * The length and contents of the values array vary 45 * device's screen orientation changes. To access the unswapped values, 46 * use indices 3, 4 and 5 in values[]. 50 * All values are angles in degrees. 52 * <p>values[0]: Azimuth, rotation around the Z axis (0<=azimuth<360). 55 * <p>values[1]: Pitch, rotation around X axis (-180<=pitch<=180), with positive 56 * values when the z-axis moves toward the y-axis. 58 * <p>values[2]: Roll, rotation around Y axis (-90<=roll<=90), with positive values [all...] |
/external/oprofile/libop/ |
op_mangle.c | 38 char * op_mangle_filename(struct mangle_values const * values) 42 int anon = values->flags & MANGLE_ANON; 43 int cg_anon = values->flags & MANGLE_CG_ANON; 48 char const * image_name = values->dep_name; 49 char const * anon_name = values->anon_name; 50 char const * dep_name = values->image_name; 51 char const * cg_image_name = values->cg_image_name; 54 + strlen(values->event_name) + 1 + strlen(image_name) + 1; 56 if (values->flags & MANGLE_CALLGRAPH) 70 append_image(mangled, values->flags, 0, image_name, anon_name) [all...] |
/external/proguard/src/proguard/evaluation/value/ |
InstructionOffsetValue.java | 36 private int[] values; field in class:InstructionOffsetValue 46 this.values = new int[] { value }; 50 public InstructionOffsetValue(int[] values) 52 this.values = values; 58 return values == null ? 0 : values.length; 64 return values[index]; 74 if (values != null) 76 for (int index = 0; index < values.length; index++ [all...] |
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 70 ContentValues values = buildValidValues(); local 71 values.put(Downloads.Impl.COLUMN_TITLE, "foo"); 72 values.put(Downloads.Impl.COLUMN_DESCRIPTION, "foo"); 73 values.put(Downloads.Impl.COLUMN_MIME_TYPE, "foo"); 74 values.put(Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE, "foo"); 75 values.put(Downloads.Impl.COLUMN_ALLOWED_NETWORK_TYPES, 0); 76 values.put(Downloads.Impl.COLUMN_ALLOW_ROAMING, true); 77 values.put(Downloads.Impl.RequestHeaders.INSERT_KEY_PREFIX + "0", "X-Some-Header: value"); 78 mContentResolver.insert(Downloads.Impl.CONTENT_URI, values); 82 ContentValues values = new ContentValues() local 92 ContentValues values = buildValidValues(); local 98 ContentValues values = buildValidValues(); local 106 ContentValues values = buildValidValues(); local 120 ContentValues values = buildValidValues(); local 127 ContentValues values = buildValidValues(); local [all...] |
/external/easymock/src/org/easymock/ |
Capture.java | 35 private final List<T> values = new ArrayList<T>(2);
field in class:Capture 58 values.clear();
65 return !values.isEmpty();
77 if (values.isEmpty()) {
80 if (values.size() > 1) {
84 return values.get(values.size() - 1);
88 * Return all captured values. It returns the actual list so you can modify
91 * @return The currently captured values
94 return values;
[all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 70 ContentValues values = new ContentValues(); local 71 putContactValues(values); 73 Uri uri = mResolver.insert(People.CONTENT_URI, values); 74 assertStoredValues(uri, values); 75 assertSelection(People.CONTENT_URI, values, "people", People._ID, ContentUris.parseId(uri)); 79 ContentValues values = new ContentValues(); local 80 putContactValues(values); 82 Uri uri = mResolver.insert(People.CONTENT_URI, values); 84 assertStoredValues(uri, values); 85 assertSelection(People.CONTENT_URI, values, "people", People._ID, personId) 99 ContentValues values = new ContentValues(); local 116 ContentValues values = new ContentValues(); local 135 ContentValues values = new ContentValues(); local 142 ContentValues values = new ContentValues(); local 184 ContentValues values = new ContentValues(); local 233 ContentValues values = new ContentValues(); local 255 ContentValues values = new ContentValues(); local 305 ContentValues values = new ContentValues(); local 325 ContentValues values = new ContentValues(); local 358 ContentValues values = new ContentValues(); local 386 ContentValues values = new ContentValues(); local 429 ContentValues values = new ContentValues(); local 458 ContentValues values = new ContentValues(); local 528 ContentValues values = new ContentValues(); local 565 ContentValues values = new ContentValues(); local 593 ContentValues values = new ContentValues(); local 613 ContentValues values = new ContentValues(); local 633 ContentValues values = new ContentValues(); local 643 ContentValues values = new ContentValues(); local 659 ContentValues values = new ContentValues(); local 676 ContentValues values = new ContentValues(); local 695 ContentValues values = new ContentValues(); local 717 ContentValues values = new ContentValues(); local 764 ContentValues values = new ContentValues(); local 864 ContentValues values = new ContentValues(); local 952 ContentValues values = new ContentValues(); local 964 ContentValues values = new ContentValues(); local [all...] |
/external/oprofile/daemon/ |
opd_mangling.c | 72 struct mangle_values values; local 75 values.flags = 0; 78 values.image_name = sf->kernel->name; 79 values.flags |= MANGLE_KERNEL; 81 values.flags |= MANGLE_ANON; 82 values.image_name = mangle_anon(sf->anon); 83 values.anon_name = sf->anon->name; 85 values.image_name = find_cookie(sf->cookie); 88 values.dep_name = get_dep_name(sf); 89 if (!values.dep_name [all...] |
/libcore/luni/src/test/java/libcore/io/ |
MemoryTest.java | 25 int[] values = { 3, 7, 31, 127, 8191, 131071, 524287, 2147483647 }; local 26 int[] swappedValues = new int[values.length]; 27 for (int i = 0; i < values.length; ++i) { 28 swappedValues[i] = Integer.reverseBytes(values[i]); 33 byte[] array = (byte[]) runtime.newNonMovableArray(byte.class, scale * values.length); 37 Memory.pokeIntArray(ptr, values, 0, values.length, false); 38 assertIntsEqual(values, ptr, false); 42 Memory.pokeIntArray(ptr, values, 0, values.length, true) 61 short[] values = { 0x0001, 0x0020, 0x0300, 0x4000 }; local [all...] |
/external/webkit/PerformanceTests/Parser/resources/ |
runner.js | 18 function computeAverage(values) { 20 for (var i = 0; i < values.length; i++) 21 sum += values[i]; 22 return sum / values.length; 25 function computeMax(values) { 26 var max = values.length ? values[0] : 0; 27 for (var i = 1; i < values.length; i++) { 28 if (max < values[i]) 29 max = values[i] [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x500/ |
RDN.java | 14 private ASN1Set values; field in class:RDN 16 private RDN(ASN1Set values) 18 this.values = values; 48 this.values = new DERSet(new DERSequence(v)); 53 this.values = new DERSet(attrTAndV); 61 this.values = new DERSet(aAndVs); 66 return this.values.size() > 1; 71 if (this.values.size() == 0) 76 return AttributeTypeAndValue.getInstance(this.values.getObjectAt(0)) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManager_RunningServiceInfoTest.java | 78 ActivityManager.RunningServiceInfo values = local 80 assertEquals(mService, values.service); 81 assertEquals(1, values.pid); 82 assertEquals(PROCESS, values.process); 83 assertTrue(values.foreground); 84 assertEquals(1l, values.activeSince); 85 assertTrue(values.started); 86 assertEquals(2, values.clientCount); 87 assertEquals(1, values.crashCount); 88 assertEquals(1l, values.lastActivityTime) 102 ActivityManager.RunningServiceInfo values = local [all...] |
/external/webkit/Source/WebCore/svg/properties/ |
SVGPathSegListPropertyTearOff.h | 46 SVGPathSegList& values = m_animatedProperty->values(); local 48 unsigned size = values.size(); 50 ListItemType& item = values.at(i); 54 values.remove(i); 70 SVGPathSegList& values = m_animatedProperty->values(); local 71 return Base::numberOfItemsValues(values); 83 SVGPathSegList& values = m_animatedProperty->values(); local 98 SVGPathSegList& values = m_animatedProperty->values(); local 111 SVGPathSegList& values = m_animatedProperty->values(); local 126 SVGPathSegList& values = m_animatedProperty->values(); local 142 SVGPathSegList& values = m_animatedProperty->values(); local [all...] |
SVGListProperty.h | 56 void clearValues(PropertyType& values, ExceptionCode& ec) 61 values.clear(); 72 animatedList->values().clear(); 77 unsigned numberOfItemsValues(PropertyType& values) const 79 return values.size(); 85 return animatedList->values().size(); 89 ListItemType initializeValues(PropertyType& values, const ListItemType& newItem, ExceptionCode& ec) 98 values.clear(); 99 values.append(newItem); 117 PropertyType& values = animatedList->values() local 160 PropertyType& values = animatedList->values(); local 214 PropertyType& values = animatedList->values(); local 277 PropertyType& values = animatedList->values(); local 344 PropertyType& values = animatedList->values(); local 392 PropertyType& values = animatedList->values(); local [all...] |
/dalvik/dx/src/junit/runner/ |
Sorter.java | 14 public void swap(Vector values, int left, int right); 17 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 20 String mid= (String)values.elementAt((left + right) / 2); 22 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 24 while (mid.compareTo((String)(values.elementAt(right))) < 0) 27 swapper.swap(values, left, right); 34 sortStrings(values, oleft, right, swapper); 36 sortStrings(values, left, oright, swapper);
|
/external/clang/test/FixIt/ |
no-macro-fixit.c | 8 va_list values; local 12 while (value = va_arg(values, int)) { // expected-warning {{using the result of an assignment as a condition without parentheses}} \
|
/external/junit/src/junit/runner/ |
Sorter.java | 12 public void swap(Vector values, int left, int right); 15 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 18 String mid= (String)values.elementAt((left + right) / 2); 20 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 22 while (mid.compareTo((String)(values.elementAt(right))) < 0) 25 swapper.swap(values, left, right); 32 sortStrings(values, oleft, right, swapper); 34 sortStrings(values, left, oright, swapper);
|
/external/webkit/LayoutTests/http/tests/resources/ |
post-and-verify.cgi | 15 $values{$key} = $value; 18 open FILE, $values{'path'} || die("Could not open file\n"); 19 seek FILE, $values{'start'}, 0; 20 read FILE, $expectedData, $values{'length'};
|
/frameworks/base/test-runner/src/junit/runner/ |
Sorter.java | 15 public void swap(Vector values, int left, int right); 18 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 21 String mid= (String)values.elementAt((left + right) / 2); 23 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 25 while (mid.compareTo((String)(values.elementAt(right))) < 0) 28 swapper.swap(values, left, right); 35 sortStrings(values, oleft, right, swapper); 37 sortStrings(values, left, oright, swapper);
|
/external/libffi/testsuite/libffi.call/ |
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);
|
strlen.c | 19 void *values[MAX_ARGS]; local 24 values[0] = (void*) &s; 31 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); 35 ffi_call(&cif, FFI_FN(my_strlen), &rint, values); 39 ffi_call(&cif, FFI_FN(my_strlen), &rint, 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);
|
/frameworks/base/graphics/java/android/graphics/ |
Interpolator.java | 36 * Reset the Interpolator to have the specified number of values and an 38 * values for each keyFrame must be assigned using setKeyFrame(). 45 * Reset the Interpolator to have the specified number of values and 46 * keyFrames. After this call the values for each keyFrame must be assigned 65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear 66 * transition to the next set of key values). 71 * @param values Array of values associated with theis key frame 73 public void setKeyFrame(int index, int msec, float[] values) { 74 setKeyFrame(index, msec, values, null) [all...] |