Searched refs:val (Results 51 - 75 of 886) sorted by relevance

1234567891011>>

/frameworks/base/libs/protoutil/tests/
H A DEncodedBuffer_test.cpp22 uint64_t val = UINT64_C(1522865904593); local
23 buffer.writeRawVarint64(val);
24 EXPECT_EQ(val, buffer.begin().readRawVarint());
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/model/
H A DAdapterClass.kt24 data class AdapterClass(val type: TypeElement,
25 val calls: List<EventMethodCall>,
26 val syntheticMethods: Set<ExecutableElement>)
29 val packageElement = type.getPackage()
30 val qName = type.qualifiedName.toString()
31 val partialName = if (packageElement.isUnnamed) qName else qName.substring(
H A DEventMethod.kt24 data class EventMethod(val method: ExecutableElement,
25 val onLifecycleEvent: OnLifecycleEvent,
26 val type: TypeElement) {
31 data class EventMethodCall(val method: EventMethod, val syntheticAccess: TypeElement? = null
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
H A DForeignKey.kt24 data class ForeignKey(val parentTable: String,
25 val parentColumns: List<String>,
26 val childFields: List<Field>,
27 val onDelete: ForeignKeyAction,
28 val onUpdate: ForeignKeyAction,
29 val deferred: Boolean) : HasSchemaIdentity {
H A DQueryMethod.kt30 data class QueryMethod(val element: ExecutableElement, val query: ParsedQuery, val name: String,
31 val returnType: TypeMirror, val parameters: List<QueryParameter>,
32 val inTransaction: Boolean,
33 val queryResultBinder: QueryResultBinder) {
34 val sectionToParamMapping by lazy {
39 val subName = it.text.substring(1)
49 val returnsValu
[all...]
H A DRawQueryMethod.kt32 val element: ExecutableElement,
33 val name: String,
34 val returnType: TypeMirror,
35 val inTransaction: Boolean,
36 val observedTableNames: Set<String>,
37 val runtimeQueryParam: RuntimeQueryParameter?,
38 val queryResultBinder: QueryResultBinder) {
39 val returnsValue by lazy {
44 val paramName: String,
45 val typ
[all...]
H A DDao.kt25 val element: TypeElement, val type: DeclaredType,
26 val queryMethods: List<QueryMethod>,
27 val rawQueryMethods: List<RawQueryMethod>,
28 val insertionMethods: List<InsertionMethod>,
29 val deletionMethods: List<DeletionMethod>,
30 val updateMethods: List<UpdateMethod>,
31 val transactionMethods: List<TransactionMethod>,
32 val constructorParamType: TypeName?) {
43 val typeNam
[all...]
H A DInsertionMethod.kt27 data class InsertionMethod(val element: ExecutableElement, val name: String,
28 @OnConflictStrategy val onConflict: Int,
29 val entities: Map<String, Entity>, val returnType: TypeMirror,
30 val insertionType: Type?,
31 val parameters: List<ShortcutQueryParameter>) {
44 val methodName: String, val returnTypeName: TypeName) {
H A DPrimaryKey.kt24 data class PrimaryKey(val declaredIn: Element?, val fields: List<Field>,
25 val autoGenerateId: Boolean) : HasSchemaIdentity {
27 val MISSING = PrimaryKey(null, emptyList(), false)
30 val columnNames by lazy { fields.map { it.columnName } }
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
H A DParcelableDetector.kt26 val impl = Impl(ancestors)
31 const val PARCELABLE_CLASS = "android/os/Parcelable"
34 private class Impl(val ancestors: Map<String, Ancestors>) {
35 val isParcelableCache = HashMap<String, Boolean>()
36 val parcelables = ArrayList<String>()
39 val classList = ancestors.keys
53 val old = isParcelableCache[c]
58 val cAncestors = ancestors[c] ?:
61 val seq = (cAncestors.interfaces?.asSequence() ?: emptySequence()) +
64 val ancestorIsParcelabl
[all...]
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/
H A DTestUtil.kt29 val PUBLISHER = Publisher("ph1", "publisher 1")
30 val PUBLISHER2 = Publisher("ph2", "publisher 2")
32 val AUTHOR_1 = Author("a1", "author 1")
33 val AUTHOR_2 = Author("a2", "author 2")
35 val BOOK_1 = Book("b1", "book title 1", "ph1",
37 val BOOK_2 = Book("b2", "book title 2", "ph1",
39 val BOOK_3 = Book("b3", "book title 2", "ph1",
42 val BOOK_AUTHOR_1_1 = BookAuthor(BOOK_1.bookId, AUTHOR_1.authorId)
43 val BOOK_AUTHOR_1_2 = BookAuthor(BOOK_1.bookId, AUTHOR_2.authorId)
44 val BOOK_AUTHOR_2_
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DShift_Sat_v32xv32.c28 void Shift_Sat_Float (const LVM_INT16 val, argument
37 if(val > 0)
43 for(ij = 0; ij < val; ij++)
57 else if(val < 0)
59 RShift=(LVM_INT16)(-val);
83 void Shift_Sat_v32xv32 (const LVM_INT16 val, argument
91 if(val>0)
100 b=(a<<val);
102 if( (b>>val) != a ) /* if overflow occured, right shift will show difference*/
118 else if(val<
[all...]
/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DPathParser.java103 float[] val = getFloats(s);
104 addNode(list, s.charAt(0), val);
188 private static void addNode(ArrayList<PathDataNode> list, char cmd, float[] val) { argument
189 list.add(new PathDataNode(cmd, val));
363 char previousCmd, char cmd, float[] val) {
418 for (int k = 0; k < val.length; k += incr) {
421 currentX += val[k + 0];
422 currentY += val[k + 1];
427 path.rLineTo(val[k + 0], val[
362 addCommand(Path path, float[] current, char previousCmd, char cmd, float[] val) argument
[all...]
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/cache/
H A DCache.kt36 class Cache(val parent: Cache?, val converters: LinkedHashSet<TypeMirror>,
37 val suppressedWarnings: Set<Warning>) {
38 val entities: Bucket<EntityKey, Entity> = Bucket(parent?.entities)
39 val pojos: Bucket<PojoKey, Pojo> = Bucket(parent?.pojos)
42 private val entries: MutableMap<FullKey<K>, T> = source?.entries ?: mutableMapOf()
44 val fullKey = FullKey(converters, suppressedWarnings, key)
54 data class EntityKey(val element: Element)
60 val element: Element,
61 val scop
[all...]
/frameworks/support/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/type/
H A DJavaTypeTest.kt24 val type = JavaType.fromDotVersion("test.MyClass.FIELD")
30 val type = JavaType.fromDotVersion("test.MyClass.FIELD")
31 val result = type.getParentType().toDotNotation()
37 val type = JavaType.fromDotVersion("test")
38 val result = type.getParentType().toDotNotation()
44 val type = JavaType.fromDotVersion("test.MyClass\$Inner")
45 val remapWith = JavaType.fromDotVersion("hello.NewClass")
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerFirProcessNeon.h145 posSamp.val[0] = vrev64q_s16(posSamp.val[0]);
146 posSamp.val[1] = vrev64q_s16(posSamp.val[1]);
149 accum = vmlal_s16(accum, vget_low_s16(posSamp.val[0]), vget_high_s16(posCoef)); // r
150 accum = vmlal_s16(accum, vget_high_s16(posSamp.val[0]), vget_low_s16(posCoef)); // r
151 accum2 = vmlal_s16(accum2, vget_low_s16(posSamp.val[1]), vget_high_s16(posCoef)); // r
152 accum2 = vmlal_s16(accum2, vget_high_s16(posSamp.val[1]), vget_low_s16(posCoef)); // r
153 accum = vmlal_s16(accum, vget_low_s16(negSamp.val[0]), vget_low_s16(negCoef));
154 accum = vmlal_s16(accum, vget_high_s16(negSamp.val[
[all...]
/frameworks/base/core/java/android/os/
H A DHwParcel.java77 * @param val to write
79 public native final void writeBool(boolean val); argument
82 * @param val to write
84 public native final void writeInt8(byte val); argument
87 * @param val to write
89 public native final void writeInt16(short val); argument
92 * @param val to write
94 public native final void writeInt32(int val); argument
97 * @param val to write
99 public native final void writeInt64(long val); argument
104 writeFloat(float val) argument
109 writeDouble(double val) argument
117 writeString(String val) argument
123 writeBoolVector(boolean[] val) argument
128 writeInt8Vector(byte[] val) argument
133 writeInt16Vector(short[] val) argument
138 writeInt32Vector(int[] val) argument
143 writeInt64Vector(long[] val) argument
148 writeFloatVector(float[] val) argument
153 writeDoubleVector(double[] val) argument
161 writeStringVector(String[] val) argument
167 writeBoolVector(ArrayList<Boolean> val) argument
181 writeInt8Vector(ArrayList<Byte> val) argument
195 writeInt16Vector(ArrayList<Short> val) argument
209 writeInt32Vector(ArrayList<Integer> val) argument
223 writeInt64Vector(ArrayList<Long> val) argument
237 writeFloatVector(ArrayList<Float> val) argument
251 writeDoubleVector(ArrayList<Double> val) argument
265 writeStringVector(ArrayList<String> val) argument
[all...]
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/
H A DSupportConfig.kt24 const val DEFAULT_MIN_SDK_VERSION = 14
25 const val INSTRUMENTATION_RUNNER = "android.support.test.runner.AndroidJUnitRunner"
26 const val BUILD_TOOLS_VERSION = "27.0.3"
27 const val CURRENT_SDK_VERSION = 28
30 val supportRoot = (project.rootProject.property("ext") as ExtraPropertiesExtension)
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/
H A DSupportConfig.kt24 const val DEFAULT_MIN_SDK_VERSION = 14
25 const val INSTRUMENTATION_RUNNER = "android.support.test.runner.AndroidJUnitRunner"
26 const val BUILD_TOOLS_VERSION = "27.0.3"
27 const val CURRENT_SDK_VERSION = 28
30 val supportRoot = (project.rootProject.property("ext") as ExtraPropertiesExtension)
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
H A DPojoMethodProcessor.kt28 private val context: Context,
29 private val element: ExecutableElement,
30 private val owner: DeclaredType) {
32 val asMember = context.processingEnv.typeUtils.asMemberOf(owner, element)
33 val name = element.simpleName.toString()
H A DRawQueryMethodProcessor.kt37 val containing: DeclaredType,
38 val executableElement: ExecutableElement) {
39 val context = baseContext.fork(executableElement)
41 val types = context.processingEnv.typeUtils
42 val asMember = types.asMemberOf(containing, executableElement)
43 val executableType = MoreTypes.asExecutable(asMember)
45 val annotation = MoreElements.getAnnotationMirror(executableElement,
50 val returnTypeName = TypeName.get(executableType.returnType)
53 val observedTableNames = processObservedTables()
54 val quer
[all...]
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/testing/
H A DTestInvocation.kt24 data class TestInvocation(val processingEnv: ProcessingEnvironment,
25 val annotations: MutableSet<out TypeElement>,
26 val roundEnv: RoundEnvironment) {
27 val context = Context(processingEnv)
33 val typeUtils by lazy { processingEnv.typeUtils }
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/vo/
H A DBook.kt30 @PrimaryKey val bookId: String,
31 val title: String,
32 val bookPublisherId: String,
34 val languages: Set<Lang>,
35 val salesCnt: Int)
/frameworks/base/libs/protoutil/src/
H A DProtoOutputStream.cpp54 ProtoOutputStream::write(uint64_t fieldId, double val) argument
59 case FIELD_TYPE_DOUBLE: writeDoubleImpl(id, (double)val); break;
60 case FIELD_TYPE_FLOAT: writeFloatImpl(id, (float)val); break;
61 case FIELD_TYPE_INT64: writeInt64Impl(id, (long long)val); break;
62 case FIELD_TYPE_UINT64: writeUint64Impl(id, (uint64_t)val); break;
63 case FIELD_TYPE_INT32: writeInt32Impl(id, (int)val); break;
64 case FIELD_TYPE_FIXED64: writeFixed64Impl(id, (uint64_t)val); break;
65 case FIELD_TYPE_FIXED32: writeFixed32Impl(id, (uint32_t)val); break;
66 case FIELD_TYPE_UINT32: writeUint32Impl(id, (uint32_t)val); break;
67 case FIELD_TYPE_SFIXED32: writeSFixed32Impl(id, (int)val); brea
80 write(uint64_t fieldId, float val) argument
106 write(uint64_t fieldId, int val) argument
134 write(uint64_t fieldId, long long val) argument
162 write(uint64_t fieldId, bool val) argument
178 write(uint64_t fieldId, std::string val) argument
194 write(uint64_t fieldId, const char* val, size_t size) argument
543 writeDoubleImpl(uint32_t id, double val) argument
550 writeFloatImpl(uint32_t id, float val) argument
557 writeInt64Impl(uint32_t id, long long val) argument
564 writeInt32Impl(uint32_t id, int val) argument
571 writeUint64Impl(uint32_t id, uint64_t val) argument
578 writeUint32Impl(uint32_t id, uint32_t val) argument
585 writeFixed64Impl(uint32_t id, uint64_t val) argument
592 writeFixed32Impl(uint32_t id, uint32_t val) argument
599 writeSFixed64Impl(uint32_t id, long long val) argument
606 writeSFixed32Impl(uint32_t id, int val) argument
613 writeZigzagInt64Impl(uint32_t id, long long val) argument
620 writeZigzagInt32Impl(uint32_t id, int val) argument
627 writeEnumImpl(uint32_t id, int val) argument
634 writeBoolImpl(uint32_t id, bool val) argument
641 writeUtf8StringImpl(uint32_t id, const char* val, size_t size) argument
651 writeMessageBytesImpl(uint32_t id, const char* val, size_t size) argument
[all...]
H A DEncodedBuffer.cpp154 EncodedBuffer::writeRawByte(uint8_t val) argument
156 *writeBuffer() = val;
161 EncodedBuffer::writeRawVarint64(uint64_t val) argument
166 if ((val & ~0x7F) == 0) {
167 writeRawByte((uint8_t) val);
170 writeRawByte((uint8_t)((val & 0x7F) | 0x80));
171 val >>= 7;
177 EncodedBuffer::writeRawVarint32(uint32_t val) argument
179 uint64_t v =(uint64_t)val;
184 EncodedBuffer::writeRawFixed32(uint32_t val) argument
193 writeRawFixed64(uint64_t val) argument
221 uint8_t val = *at(mEp); local
229 uint64_t val = 0, shift = 0; local
243 uint32_t val = 0; local
253 uint64_t val = 0; local
261 editRawFixed32(size_t pos, uint32_t val) argument
347 uint64_t val = 0, shift = 0; local
[all...]

Completed in 161 milliseconds

1234567891011>>