/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...] |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
hal_outputs.h | 16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy, 18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, 20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, 22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, 24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, 26 int inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy, 28 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, 31 int inv_get_sensor_type_linear_acceleration(float *values, 34 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy, 37 int inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.h | 16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy, 18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, 20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, 22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, 24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, 26 int inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy, 28 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, 31 int inv_get_sensor_type_linear_acceleration(float *values, 34 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy, 37 int inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy [all...] |
/cts/tests/app/src/android/app/cts/ |
ActivityManager_RunningServiceInfoTest.java | 60 ActivityManager.RunningServiceInfo values = local 62 assertEquals(mService, values.service); 63 assertEquals(1, values.pid); 64 assertEquals(PROCESS, values.process); 65 assertTrue(values.foreground); 66 assertEquals(1l, values.activeSince); 67 assertTrue(values.started); 68 assertEquals(2, values.clientCount); 69 assertEquals(1, values.crashCount); 70 assertEquals(1l, values.lastActivityTime) 79 ActivityManager.RunningServiceInfo values = local [all...] |
/external/guava/guava-tests/benchmark/com/google/common/math/ |
StatsBenchmark.java | 37 double mean(double[] values) { 39 for (double value : values) { 42 return sum / values.length; 47 double mean(double[] values) { 50 for (double value : values) { 56 return sum / values.length; 61 double mean(double[] values) { 62 double mean = values[0]; 63 for (int i = 1; i < values.length; i++) { 64 mean = mean + (values[i] - mean) / (i + 1) 152 private double[][] values = new double[0x100][]; field in class:StatsBenchmark [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 122 ContentValues values = new ContentValues(); local 123 values.put(Media.DATA, isInternal ? INTERNAL_DATA : EXTERNAL_DATA); 124 values.put(Media.DATE_MODIFIED, DATE_MODIFIED); 125 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); 126 values.put(Media.MIME_TYPE, MIME_TYPE); 127 values.put(Media.SIZE, SIZE); 128 values.put(Media.TITLE, TITLE); 129 values.put(Media.ALBUM, ALBUM); 130 values.put(Media.ARTIST, ARTIST); 131 values.put(Media.COMPOSER, COMPOSER) 201 ContentValues values = new ContentValues(); local 236 ContentValues values = super.getContentValues(isInternal); local 254 ContentValues values = super.getContentValues(isInternal); local 272 ContentValues values = super.getContentValues(isInternal); local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
UnivariateStatistic.java | 30 * @param values input array 33 double evaluate(double[] values); 39 * @param values the input array 44 double evaluate(double[] values, int begin, int length);
|
WeightedEvaluation.java | 31 * @param values input array 35 double evaluate(double[] values, double[] weights); 41 * @param values the input array 47 double evaluate(double[] values, double[] weights, int begin, int length);
|
/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}} \
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
copyelim_test.go | 22 values := make([]interface{}, 0, n+2) 23 values = append(values, Valu("mem", OpInitMem, TypeMem, 0, nil)) 27 values = append(values, Valu(name, OpCopy, TypeMem, 0, nil, last)) 30 values = append(values, Exit(last)) 31 // Reverse values array to make it hard 32 for i := 0; i < len(values)/2; i++ { 33 values[i], values[len(values)-1-i] = values[len(values)-1-i], values[i [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
copyelim_test.go | 22 values := make([]interface{}, 0, n+2) 23 values = append(values, Valu("mem", OpInitMem, TypeMem, 0, nil)) 27 values = append(values, Valu(name, OpCopy, TypeMem, 0, nil, last)) 30 values = append(values, Exit(last)) 31 // Reverse values array to make it hard 32 for i := 0; i < len(values)/2; i++ { 33 values[i], values[len(values)-1-i] = values[len(values)-1-i], values[i [all...] |
/external/valgrind/none/tests/s390x/ |
trtt.stdout.exp | 2 the translated values is 4 the translated values is 6 the translated values is 8 the translated values is ffff dddd 10 the translated values is ffff dddd ffff cccc abab 12 the translated values is 0 0 0 0 0 14 the translated values is ffff dddd ffff 0 0 16 the translated values is ffff dddd ffff cccc abab caca bcbc cccc dada 0
|
/frameworks/base/core/java/android/hardware/ |
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...] |
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
RawContactTest.java | 34 final ContentValues values = new ContentValues(); local 35 values.put("key1", "value1"); 36 values.put("key2", "value2"); 42 final RawContact contact = new RawContact(values); 49 final ContentValues values = new ContentValues(); local 50 values.put("key11", "value11"); 51 values.put("key22", "value22"); 57 final RawContact contact = new RawContact(values); 78 final ContentValues values = new ContentValues(); local 79 values.put("key1", "value1") 87 final ContentValues values = new ContentValues(); local [all...] |
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsEmptyValuesTest.java | 20 private final ReturnsEmptyValues values = new ReturnsEmptyValues(); field in class:ReturnsEmptyValuesTest 24 assertTrue(((Collection<?>) values.returnValueFor(Collection.class)).isEmpty()); 26 assertTrue(((Set<?>) values.returnValueFor(Set.class)).isEmpty()); 27 assertTrue(((SortedSet<?>) values.returnValueFor(SortedSet.class)).isEmpty()); 28 assertTrue(((HashSet<?>) values.returnValueFor(HashSet.class)).isEmpty()); 29 assertTrue(((TreeSet<?>) values.returnValueFor(TreeSet.class)).isEmpty()); 30 assertTrue(((LinkedHashSet<?>) values.returnValueFor(LinkedHashSet.class)).isEmpty()); 32 assertTrue(((List<?>) values.returnValueFor(List.class)).isEmpty()); 33 assertTrue(((ArrayList<?>) values.returnValueFor(ArrayList.class)).isEmpty()); 34 assertTrue(((LinkedList<?>) values.returnValueFor(LinkedList.class)).isEmpty()) [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
MultiValueMap.java | 15 ArrayList<T> values = mMap.get(key); local 16 if (values == null) { 17 values = new ArrayList<>(); 18 mMap.put(key, values); 20 values.add(value); 25 List<T> values = mMap.get(key); local 26 if (values == null) { 28 } else if (values.size() == 1) { 29 return values.get(0); 37 List<T> values = mMap.get(key) local 54 List<T> values = mMap.get(key); local 78 ArrayList<T> values = iterator.next().getValue(); local 97 public Collection<T> values() { method in class:MultiValueMap 111 List<T> values = mMap.values().iterator().next(); local [all...] |
/cts/common/util/src/com/android/compatibility/common/util/ |
InfoStore.java | 128 protected static int[] checkArray(int[] values) { 129 if (values.length > MAX_ARRAY_LENGTH) { 130 return Arrays.copyOf(values, MAX_ARRAY_LENGTH); 132 return values; 136 protected static long[] checkArray(long[] values) { 137 if (values.length > MAX_ARRAY_LENGTH) { 138 return Arrays.copyOf(values, MAX_ARRAY_LENGTH); 140 return values; 144 protected static float[] checkArray(float[] values) { 145 if (values.length > MAX_ARRAY_LENGTH) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
RecordWriter.java | 18 void boolArray(String name, boolean[] values); 20 void characterArray(String name, char[] values); 22 void namedIndexArray(String name, String[] names, byte[] values); 24 void stringArray(String name, String[] values); 25 void stringTable(String name, String[][] values);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
RecordWriter.java | 17 void boolArray(String name, boolean[] values); 19 void characterArray(String name, char[] values); 21 void namedIndexArray(String name, String[] names, byte[] values); 23 void stringArray(String name, String[] values); 24 void stringTable(String name, String[][] values);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/ |
ObjectValues.java | 23 private Map<String, Map<Integer, Object>> values; field in class:ObjectValues 34 public void setValues(Map<String, Map<Integer, Object>> values) { 35 this.values = values; 39 return values;
|
ObjectValuesWithParam.java | 23 private Map<T, Map<S, Object>> values; field in class:ObjectValuesWithParam 34 public void setValues(Map<T, Map<S, Object>> values) { 35 this.values = values; 39 return values;
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
datalogger_outputs.c | 46 * @param[out] values raw angular velocity in LSB. 49 void inv_get_sensor_type_gyro_raw_short(short *values, inv_time_t *timestamp) 53 if (values) 54 memcpy(values, &pg->raw, sizeof(short) * 3); 61 * @param[out] values raw angular velocity in dps. 64 void inv_get_sensor_type_gyro_raw_body_float(float *values, 76 if (values) { 77 values[0] = inv_q16_to_float(raw_body[0]); 78 values[1] = inv_q16_to_float(raw_body[1]); 79 values[2] = inv_q16_to_float(raw_body[2]) [all...] |
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
MagnitudeVerificationTest.java | 37 float[][] values = { local 45 runStats(5.0f, 0.1f, values, true, 5.0f); 46 runStats(4.5f, 0.6f, values, true, 5.0f); 47 runStats(5.5f, 0.6f, values, true, 5.0f); 48 runStats(4.5f, 0.1f, values, false, 5.0f); 49 runStats(5.5f, 0.1f, values, false, 5.0f); 52 private void runStats(float expected, float threshold, float[][] values, boolean pass, float magnitude) { 54 MagnitudeVerification verification = getVerification(expected, threshold, values); 70 float[] ... values) { 71 Collection<TestSensorEvent> events = new ArrayList<>(values.length) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
StatUtils.java | 79 * Returns the sum of the values in the input array, or 85 * @param values array of values to sum 86 * @return the sum of the values or <code>Double.NaN</code> if the array 90 public static double sum(final double[] values) { 91 return SUM.evaluate(values); 101 * @param values the input array 104 * @return the sum of the values or Double.NaN if length = 0 108 public static double sum(final double[] values, final int begin, 110 return SUM.evaluate(values, begin, length) [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p23.cpp | 13 void unexpanded_capture(Ts ...values) { 14 auto unexp = [values] {}; // expected-error{{initializer contains unexpanded parameter pack 'values'}} 18 void implicit_capture(Ts ...values) { 19 auto implicit = [&] { print(values...); }; 24 void do_print(Ts... values) { 25 auto bycopy = [values...]() { print(values...); }; 27 auto byref = [&values...]() { print(values...); } [all...] |