/external/protobuf/src/google/protobuf/util/ |
type_resolver_util_test.cc | 41 #include <google/protobuf/type.pb.h> 55 using google::protobuf::Type; 61 static const char kUrlPrefix[] = "type.googleapis.com"; 70 const Field* FindField(const Type& type, const string& name) { 71 for (int i = 0; i < type.fields_size(); ++i) { 72 const Field& field = type.fields(i); 80 bool HasField(const Type& type, const string& name) { 81 return FindField(type, name) != NULL 160 Type type; local 284 Type type; local 293 Type type; local 311 Type type; local 327 Enum type; local 337 Type type; local [all...] |
/external/skia/src/sksl/ |
SkSLMemoryLayout.h | 43 * Returns a type's required alignment when used as a standalone variable. 45 size_t alignment(const Type& type) const { 47 switch (type.kind()) { 48 case Type::kScalar_Kind: 49 return this->size(type); 50 case Type::kVector_Kind: 51 return vector_alignment(this->size(type.componentType()), type.columns()); 52 case Type::kMatrix_Kind [all...] |
/external/skqp/src/sksl/ |
SkSLMemoryLayout.h | 43 * Returns a type's required alignment when used as a standalone variable. 45 size_t alignment(const Type& type) const { 47 switch (type.kind()) { 48 case Type::kScalar_Kind: 49 return this->size(type); 50 case Type::kVector_Kind: 51 return vector_alignment(this->size(type.componentType()), type.columns()); 52 case Type::kMatrix_Kind [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
TonesAutoTest.java | 37 int type; local 42 for (type = ToneGenerator.TONE_DTMF_0; type <= ToneGenerator.TONE_DTMF_D; type++) { 43 if (toneGen.startTone(type)) { 61 int type; local 66 for (type = ToneGenerator.TONE_SUP_DIAL; 67 type <= ToneGenerator.TONE_SUP_RINGTONE; type++) { 68 if (toneGen.startTone(type)) { 98 int type; local 123 int type; local 153 int type; local [all...] |
/external/annotation-tools/annotation-file-utilities/src/annotator/find/ |
CastInsertion.java | 3 import type.Type; 6 * Specifies an insertion of a cast into a source file. Stores the type of cast 13 * ((<em>cast type</em>) (<em>original expression</em>)) 16 * This insertion inserts the cast type and parentheses that go before the 23 * The type to cast to. 25 private Type type; field in class:CastInsertion 36 * @param type the un-annotated type to cast t [all...] |
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/ |
TypeExpr.java | 24 import com.github.javaparser.ast.type.Type; 35 private Type type; field in class:TypeExpr 39 public TypeExpr(int beginLine, int beginColumn, int endLine, int endColumn, Type type) { 41 setType(type); 54 public Type getType() { 55 return type; 58 public void setType(Type type) [all...] |
/external/llvm/test/MC/ELF/ |
type.s | 5 .type foo,%function 9 .type bar,@object 12 .type zed,@gnu_unique_object 17 .type obj,@object 18 .type obj,@notype 22 .type func,@function 23 .type func,@object 27 .type ifunc,@gnu_indirect_function 31 .type tls,@tls_object 32 .type tls,@gnu_indirect_functio [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/ |
1-1.c | 9 * int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type); 10 * Sets the mutex 'type' attribute. This attribute is set in the 'type' parameter to 24 int type; local 32 if (pthread_mutexattr_gettype(&mta, &type) != 0) { 33 printf("Error getting the attribute 'type'\n"); 37 if (type != PTHREAD_MUTEX_DEFAULT) { 39 ("Test FAILED: Default value of the 'type' attribute is not PTHREAD_MUTEX_DEFAULT \n"); 44 printf("Test FAILED: Error setting the attribute 'type'\n"); 48 if (pthread_mutexattr_gettype(&mta, &type) != 0) [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/ |
async_result.hpp | 30 /// The return type of the initiating function. 31 typedef void type; typedef in class:asio::async_result 44 type get() 51 // Helper template to deduce the true type of a handler, capture a local copy 62 typename handler_type<Handler, Signature>::type handler; 63 async_result<typename handler_type<Handler, Signature>::type> result; 70 typename handler_type<Handler, Signature>::type 71 >::type type; typedef in struct:asio::detail::async_result_type_helper 79 # define ASIO_INITFN_RESULT_TYPE(h, sig) typename ::asio::async_result< typename ::asio::handler_type<h, sig>::type>::typ [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
TypeUtils.java | 41 public static boolean isWideType(@Nonnull String type) { 42 char c = type.charAt(0); 46 public static boolean isWideType(@Nonnull TypeReference type) { 47 return isWideType(type.getType()); 50 public static boolean isPrimitiveType(String type) { 51 return type.length() == 1; 55 public static String getPackage(@Nonnull String type) { 56 int lastSlash = type.lastIndexOf('/'); 60 return type.substring(1, lastSlash);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
TypeExtensions.cs | 49 public static Type getComponentType( this Type type ) 51 return type.GetElementType(); 55 public static ConstructorInfo getConstructor( this Type type, Type[] argumentTypes ) 57 return type.GetConstructor( argumentTypes ); 61 public static FieldInfo getField( this Type type, string name [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_type.h | 79 * The LLVM type system can't conveniently express all the things we care about 125 * Vector length. If length==1, this is a scalar (float/int) type. 148 struct lp_type type; member in struct:lp_build_context 150 /** Same as lp_build_elem_type(type) */ 153 /** Same as lp_build_vec_type(type) */ 156 /** Same as lp_build_int_elem_type(type) */ 159 /** Same as lp_build_int_vec_type(type) */ 162 /** Same as lp_build_undef(type) */ 165 /** Same as lp_build_zero(type) */ 168 /** Same as lp_build_one(type) */ 374 struct lp_type type; local 390 struct lp_type type; local 406 struct lp_type type; local [all...] |
/external/android-clat/ |
icmp.c | 44 * Determines whether an ICMP type is an error message. 45 * type: the ICMP type 47 int is_icmp_error(uint8_t type) { 48 return type == 3 || type == 11 || type == 12; 52 * Determines whether an ICMPv6 type is an error message. 53 * type: the ICMPv6 type [all...] |
/external/compiler-rt/test/asan/TestCases/ |
debug_locate.cc | 1 // Checks the ASan memory address type debugging API, makes sure it returns 2 // the correct memory type for heap, stack, global and shadow addresses and 22 const char *type; local 24 type = __asan_locate_address(&global_var, name, 100, 27 assert(0 == strcmp(type, "global")); 31 type = __asan_locate_address((char *)(&global_var)+1, name, 100, 34 assert(0 == strcmp(type, "global")); 38 type = __asan_locate_address(&local_var, name, 100, 41 assert(0 == strcmp(type, "stack")); 45 type = __asan_locate_address((char *)(&local_var)+1, name, 100 [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_dynarray.h | 103 #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow((buf), sizeof(type)), &__v, sizeof(type));} while(0) 104 #define util_dynarray_top_ptr(buf, type) (type*)((char*)(buf)->data + (buf)->size - sizeof(type)) 105 #define util_dynarray_top(buf, type) *util_dynarray_top_ptr(buf, type) 106 #define util_dynarray_pop_ptr(buf, type) (type*)((char*)(buf)->data + ((buf)->size -= sizeof(type)) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
debug_ops.cc | 72 #define REGISTER_DEBUG_NAN_COUNT(type) \ 74 Name("DebugNanCount").Device(DEVICE_CPU).TypeConstraint<type>("T"), \ 75 DebugNanCountOp<type>); 79 #define REGISTER_GPU_DEBUG_NAN_COUNT(type) \ 84 .TypeConstraint<type>("T"), \ 85 DebugNanCountOp<type>); 92 #define REGISTER_GPU_DEBUG_NAN_COUNT(type) \ 97 .TypeConstraint<type>("T"), \ 98 DebugNanCountOp<type>); 104 #define REGISTER_DEBUG_NUMERIC_SUMMARY_COUNT(type) \ [all...] |
/frameworks/support/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/type/ |
JavaTypeTest.kt | 17 package com.android.tools.build.jetifier.core.type 24 val type = JavaType.fromDotVersion("test.MyClass.FIELD") 26 Truth.assertThat(type.fullName).isEqualTo("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") 47 Truth.assertThat(type.remapWithNewRootType(remapWith).toDotNotation())
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ext/ |
type_mirror_ext.kt | 16 import javax.lang.model.type.TypeKind.BOOLEAN 17 import javax.lang.model.type.TypeKind.BYTE 18 import javax.lang.model.type.TypeKind.CHAR 19 import javax.lang.model.type.TypeKind.DOUBLE 20 import javax.lang.model.type.TypeKind.FLOAT 21 import javax.lang.model.type.TypeKind.INT 22 import javax.lang.model.type.TypeKind.LONG 23 import javax.lang.model.type.TypeKind.SHORT 24 import javax.lang.model.type.TypeMirror
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug195.go | 9 type I1 interface { I2 } // ERROR "interface" 10 type I2 int 12 type I3 interface { int } // ERROR "interface" 14 type S struct { 17 type I4 interface { // GC_ERROR "invalid recursive type" 21 type I5 interface { 25 type I6 interface { // GC_ERROR "invalid recursive type"
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug195.go | 9 type I1 interface { I2 } // ERROR "interface" 10 type I2 int 12 type I3 interface { int } // ERROR "interface" 14 type S struct { 17 type I4 interface { // GC_ERROR "invalid recursive type" 21 type I5 interface { 25 type I6 interface { // GC_ERROR "invalid recursive type"
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
AttEnclosingMethod.java | 27 /** {@code non-null;} attribute name for attributes of this type */ 31 private final CstType type; field in class:AttEnclosingMethod 33 /** {@code null-ok;} the name-and-type of the innermost enclosing method, if any */ 39 * @param type {@code non-null;} the innermost enclosing class 40 * @param method {@code null-ok;} the name-and-type of the innermost enclosing 43 public AttEnclosingMethod(CstType type, CstNat method) { 46 if (type == null) { 47 throw new NullPointerException("type == null"); 50 this.type = type; [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-attr.cpp | 22 typedef A<unsigned long> type; typedef in namespace:test1 24 int test0[sizeof(type) == 4 ? 1 : -1]; 25 int test1[__builtin_offsetof(type, a) == 0 ? 1 : -1]; 26 int test2[__builtin_offsetof(type, b) == 4 ? 1 : -1]; 30 template <class type> 32 type Member __attribute__ ((packed));
|
/external/google-benchmark/src/ |
timers.h | 21 typedef std::chrono::high_resolution_clock type; typedef in struct:benchmark::ChooseSteadyClock 26 typedef std::chrono::steady_clock type; typedef in struct:benchmark::ChooseSteadyClock 32 typedef ChooseSteadyClock<>::type type; typedef in struct:benchmark::ChooseClockType 34 typedef std::chrono::high_resolution_clock type; 39 typedef ChooseClockType::type ClockType;
|
/external/icu/icu4c/source/i18n/ |
ucln_in.cpp | 51 void ucln_i18n_registerCleanup(ECleanupI18NType type, 53 U_ASSERT(UCLN_I18N_START < type && type < UCLN_I18N_COUNT); 57 if (UCLN_I18N_START < type && type < UCLN_I18N_COUNT) { 58 gCleanupFunctions[type] = func;
|
/external/libcxx/utils/google-benchmark/src/ |
timers.h | 21 typedef std::chrono::high_resolution_clock type; typedef in struct:benchmark::ChooseSteadyClock 26 typedef std::chrono::steady_clock type; typedef in struct:benchmark::ChooseSteadyClock 32 typedef ChooseSteadyClock<>::type type; typedef in struct:benchmark::ChooseClockType 34 typedef std::chrono::high_resolution_clock type; 39 typedef ChooseClockType::type ClockType;
|