/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | SQLiteDatabaseTest.java | 33 ContentValues values = new ContentValues(); 34 values.put("id", id); 35 values.put("name", "Norris"); 37 long replaceId = database.replace("table_name", null, values);
|
H A D | ContentProviderOperationBuilderTest.java | 38 Map<String, Object> values = shadowBuilder.getValues(); 39 assertThat(values.size(), is(3)); 40 assertThat(values.get("stringTest").toString(), equalTo("bar")); 41 assertThat(Integer.parseInt(values.get("intTest").toString()), equalTo(5)); 42 assertThat(Long.parseLong(values.get("longTest").toString()), equalTo(10L));
|
H A D | DatabaseTestBase.java | 58 ContentValues values = new ContentValues(); 60 values.put("first_column", stringColumnValue); 61 values.put("second_column", byteColumnValue); 63 database.insert("rawtable", null, values); 86 ContentValues values = new ContentValues(); 88 values.put("first_column", stringColumnValue); 89 values.put("second_column", byteColumnValue); 91 database.insert("table_name", null, values); 109 ContentValues values = new ContentValues(); 111 values [all...] |
/external/selinux/libsepol/cil/src/ |
H A D | cil_policy.h | 39 struct cil_list *values; member in struct:cil_multimap_item
|
/external/skia/src/svg/parser/ |
H A D | SkSVGFeColorMatrix.cpp | 17 SVG_ATTRIBUTE(values)
|
/external/v8/test/mjsunit/ |
H A D | debug-evaluate-arguments.js | 35 function checkArguments(frame, names, values) { 36 var argc = Math.max(names.length, values.length); 45 if (i < values.length) { 46 assertEquals(values[i], frame.argumentValue(i).value());
|
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | EmptyCachesTest.java | 177 // values of these removes, but the cache should be empty after the removes, regardless. 194 Collection<Object> values = cache.asMap().values(); 196 values.toArray(null); 208 cache.asMap().values().add(1); 215 cache.asMap().values().addAll(asList(1, 2)); 227 Collection<Object> values = cache.asMap().values(); 228 values.clear(); 229 checkEmpty(values); [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderSharedVarTests.cpp | 185 // Setup input values. 197 vector<float> values (numValues*scalarSize); 199 for (int ndx = 0; ndx < (int)values.size(); ndx++) 200 values[ndx] = float(minInt + (ndx % (maxInt-minInt+1))); 206 if (scalarSize == 1) gl.uniform1fv(location, numValues, &values[0]); 207 else if (scalarSize == 2) gl.uniform2fv(location, numValues, &values[0]); 208 else if (scalarSize == 3) gl.uniform3fv(location, numValues, &values[0]); 209 else if (scalarSize == 4) gl.uniform4fv(location, numValues, &values[0]); 216 vector<int> values (numValues*scalarSize); 218 for (int ndx = 0; ndx < (int)values [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
H A D | AbstractMultimapTester.java | 143 protected void assertGet(K key, V... values) { argument 144 assertGet(key, Arrays.asList(values)); 147 protected void assertGet(K key, Collection<V> values) { argument 148 ASSERT.that(multimap().get(key)).has().exactlyAs(values); 150 if (!values.isEmpty()) { 151 ASSERT.that(multimap().asMap().get(key)).has().exactlyAs(values); 159 ASSERT.that(multimap().get(key).size()).is((long) values.size()); 161 assertEquals(values.size() > 0, multimap().containsKey(key)); 162 assertEquals(values.size() > 0, multimap().keySet().contains(key)); 163 assertEquals(values [all...] |
/external/android-mock/tests/com/google/android/testing/mocking/ |
H A D | SdkVersionTest.java | 30 List<SdkVersion> values = Arrays.asList(SdkVersion.values()); 32 assertTrue(values.containsAll(versions)); 45 7, SdkVersion.values().length); 57 7, SdkVersion.values().length);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
H A D | DoubleKeyMap.java | 34 /** Get all values associated with primary key */ 35 public Collection<Value> values(Key1 k1) { method in class:DoubleKeyMap 38 return data2.values(); 53 public Collection<Value> values() { method in class:DoubleKeyMap 55 for (Map<Key2, Value> k2 : data.values()) { 56 for (Value v : k2.values()) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/ |
H A D | X500NameBuilder.java | 45 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, String[] values) argument 47 ASN1Encodable[] vals = new ASN1Encodable[values.length]; 51 vals[i] = template.stringToValue(oids[i], values[i]); 57 public X500NameBuilder addMultiValuedRDN(ASN1ObjectIdentifier[] oids, ASN1Encodable[] values) argument 63 avs[i] = new AttributeTypeAndValue(oids[i], values[i]);
|
/external/emma/core/java12/com/vladium/util/ |
H A D | IntVector.java | 40 public int [] values () method in class:IntVector 128 final int [] values = new int [1 + (capacity << 1)]; 131 for (int i = 0; i < capacity; ++ i) values [i] = m_values [i]; 135 System.arraycopy (m_values, 0, values, 0, capacity); 138 m_values = values;
|
/external/v8/src/ |
H A D | arguments.h | 169 Object** values = this->begin(); local 170 values[T::kThisIndex] = self; 171 values[T::kHolderIndex] = holder; 172 values[T::kDataIndex] = data; 173 values[T::kIsolateIndex] = reinterpret_cast<Object*>(isolate); 176 values[T::kReturnValueDefaultValueIndex] = 178 values[T::kReturnValueIndex] = isolate->heap()->the_hole_value(); 179 DCHECK(values[T::kHolderIndex]->IsHeapObject()); 180 DCHECK(values[T::kIsolateIndex]->IsSmi()); 240 Object** values local [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | incomplete_lq_factorization_test.cc | 53 EXPECT_NEAR(expected.values()[i], actual.values()[i], tolerance); 86 double* values = matrix.mutable_values(); local 95 values[idx] = v; 140 EXPECT_EQ(matrix.values()[0], 5.0); 150 EXPECT_EQ(matrix.values()[idx], dense_vector(idx - matrix.rows()[1])); 163 EXPECT_EQ(matrix.values()[matrix.rows()[2]], 5); 164 EXPECT_EQ(matrix.values()[matrix.rows()[2] + 1], 3); 165 EXPECT_EQ(matrix.values()[matrix.rows()[2] + 2], 4); 178 EXPECT_EQ(matrix.values()[matri [all...] |
H A D | partitioned_matrix_view_impl.h | 104 const double* values = matrix_.values(); local 113 values + cell.position, row_block_size, col_block_size, 130 const double* values = matrix_.values(); local 140 values + cells[c].position, row_block_size, col_block_size, 155 values + cells[c].position, row_block_size, col_block_size, 170 const double* values = matrix_.values(); local 179 values 196 const double* values = matrix_.values(); local 307 const double* values = matrix_.values(); local 339 const double* values = matrix_.values(); local [all...] |
/external/eigen/unsupported/Eigen/src/AutoDiff/ |
H A D | AutoDiffVector.h | 45 inline AutoDiffVector(const ValueType& values) argument 46 : m_values(values) 67 inline AutoDiffVector(const ValueType& values, const JacobianType& jac) argument 68 : m_values(values), m_jacobian(jac) 73 : m_values(other.values()), m_jacobian(other.jacobian()) 77 : m_values(other.values()), m_jacobian(other.jacobian()) 83 m_values = other.values(); 90 m_values = other.values(); 95 inline const ValueType& values() const { return m_values; } function in class:Eigen::AutoDiffVector 96 inline ValueType& values() { retur function in class:Eigen::AutoDiffVector [all...] |
/external/v8/test/mjsunit/es6/ |
H A D | collection-iterator.js | 10 var iter = s.values(); 20 assertEquals(new Set().values().__proto__, SetIteratorPrototype); 30 var iter = s.values(); 41 assertEquals(Set.prototype.keys, Set.prototype.values); 63 var iter = s.values(); 81 Set.prototype.values.call({}); 90 var iter = new Set().values(); 98 assertEquals(Set.prototype[Symbol.iterator], Set.prototype.values); 102 var iter = new Set().values(); 110 var iter = m.values(); [all...] |
/external/skia/src/animator/ |
H A D | SkDisplayTypes.cpp | 177 SK_MEMBER_ARRAY(values, Unknown) 187 SkDisplayArray::SkDisplayArray(SkTypedArray& copyFrom) : values(copyFrom) { 192 if (values.getType() == SkType_String) { 193 for (int index = 0; index < values.count(); index++) 194 delete values[index].fString; 197 if (values.getType() == SkType_Array) { 198 for (int index = 0; index < values.count(); index++) 199 delete values[index].fArray; 207 value->fOperand.fS32 = values.count();
|
H A D | SkOperandIterpolator.cpp | 39 bool SkOperandInterpolator::setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend) argument 41 SkASSERT(values != NULL); 54 memcpy(dst, values, fElemCount * sizeof(SkOperand)); 59 SkInterpolatorBase::Result SkOperandInterpolator::timeToValues(SkMSec time, SkOperand values[]) const 65 if (values) 70 memcpy(values, nextSrc, fElemCount * sizeof(SkScalar)); 79 values[i].fScalar = SkScalarInterp(prevSrc[i].fScalar, nextSrc[i].fScalar, T); 84 values[i].fS32 = a + SkScalarRoundToInt((b - a) * T); 87 memcpy(values, prevSrc, sizeof(SkOperand) * fElemCount);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
H A D | SequenceTest.java | 81 Object[] values = (Object[]) in.content; 82 return new AppClass((Boolean) values[0], (List) values[1]); 85 protected void getValues(Object object, Object[] values) { 88 values[0] = obj.ok; 89 values[1] = obj.list; 100 // sequence : all values are default 206 protected void getValues(Object object, Object[] values) { 207 values = (Object[]) object; 224 protected void getValues(Object object, Object[] values) { [all...] |
/external/skia/samplecode/ |
H A D | SampleHT.cpp | 66 SkScalar values[5]; local 67 color_to_floats(fColor, values); values[4] = 0; 68 fInterp->setKeyFrame(0, now, values); 69 values[0] = 0; values[4] = 180; 70 fInterp->setKeyFrame(1, now + 1000, values); 71 color_to_floats(rand_opaque_color(fColor), values); values[4] = 360; local 72 fInterp->setKeyFrame(2, now + 2000, values); 93 SkScalar values[5]; variable [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | SSLNullSession.java | 42 private final HashMap<String, Object> values = new HashMap<String, Object>(); field in class:SSLNullSession 137 return values.get(name); 142 return values.keySet().toArray(new String[values.size()]); 159 Object old = values.put(name, value); 174 Object old = values.remove(name);
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
H A D | PinListEntry.java | 65 String[] values = entry.split("[=,|]"); 67 if (values.length < 3) { 71 cn = values[0]; // is there more validation we can do here? 72 enforcing = enforcementValueFromString(values[1]); 74 addPins(Arrays.copyOfRange(values, 2, values.length));
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | ForwardingMultimap.java | 102 public boolean putAll(K key, Iterable<? extends V> values) { argument 103 return delegate().putAll(key, values); 122 public Collection<V> replaceValues(K key, Iterable<? extends V> values) { argument 123 return delegate().replaceValues(key, values); 132 public Collection<V> values() { method in class:ForwardingMultimap 133 return delegate().values();
|