/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | AdditionPerfTest.java | 51 int constant = 123; in timeAddTwoLocalInts() local 53 result += constant; in timeAddTwoLocalInts() 68 long constant = 123L; in timeAddTwoLocalLongs() local 70 result += constant; in timeAddTwoLocalLongs() 85 float constant = 123.0f; in timeAddTwoLocalFloats() local 87 result += constant; in timeAddTwoLocalFloats() 102 double constant = 123.0; in timeAddTwoLocalDoubles() local 104 result += constant; in timeAddTwoLocalDoubles()
|
/frameworks/rs/script_api/ |
D | GenerateHeaderFiles.cpp | 113 static void writeConstantComment(GeneratedFile* file, const Constant& constant) { in writeConstantComment() argument 114 const string name = constant.getName(); in writeConstantComment() 115 writeComment(file, name, constant.getSummary(), constant.getDescription(), in writeConstantComment() 116 constant.deprecated(), true); in writeConstantComment() 120 const Constant* constant = spec.getConstant(); in writeConstantSpecification() local 122 writeVersionGuardStart(file, info, constant->getFinalVersion()); in writeConstantSpecification() 123 *file << "static const " << spec.getType() << " " << constant->getName() in writeConstantSpecification() 349 Constant* constant = spec->getConstant(); in writeHeaderFile() local 350 if (documentedConstants.find(constant) == documentedConstants.end()) { in writeHeaderFile() 351 documentedConstants.insert(constant); in writeHeaderFile() [all …]
|
D | GenerateDocumentation.cpp | 486 static bool writeDetailedConstant(GeneratedFile* file, Constant* constant) { in writeDetailedConstant() argument 487 if (constant->hidden()) { in writeDetailedConstant() 490 const string& name = constant->getName(); in writeDetailedConstant() 496 *file << " <span class='normal'>: " << constant->getSummary() << "</span>\n"; in writeDetailedConstant() 501 auto specifications = constant->getSpecifications(); in writeDetailedConstant() 514 writeDeprecatedWarning(file, constant); in writeDetailedConstant() 515 if (!generateHtmlParagraphs(file, constant->getDescription())) { in writeDetailedConstant()
|
D | Specification.cpp | 376 Constant* constant = systemSpecification.findOrCreateConstant(name, &created); in scanConstantSpecification() local 377 ConstantSpecification* spec = new ConstantSpecification(constant); in scanConstantSpecification() 378 constant->addSpecification(spec); in scanConstantSpecification() 379 constant->updateFinalVersion(info); in scanConstantSpecification() 389 constant->scanDocumentationTags(scanner, created, specFile); in scanConstantSpecification() 782 Constant* constant = spec->getConstant(); in addConstantSpecification() local 783 mDocumentedConstants.insert(pair<string, Constant*>(constant->getName(), constant)); in addConstantSpecification()
|
D | rs_math.spec | 52 constant: M_1_PI 60 constant: M_2_PI 68 constant: M_2_PIl 78 constant: M_2_SQRTPI 86 constant: M_E 94 constant: M_LN10 102 constant: M_LN2 110 constant: M_LOG10E 118 constant: M_LOG2E 126 constant: M_PI [all …]
|
/frameworks/proto_logging/stats/stats_log_api_gen/ |
D | utils.cpp | 230 string constant = make_constant_name((*atomIt)->name); in write_native_atom_constants() local 234 write_cpp_usage(out, "stats_write", constant, *atomIt, attributionDecl); in write_native_atom_constants() 238 write_cpp_usage(out, "stats_write_non_chained", constant, *non_chained_decl->second, in write_native_atom_constants() 243 fprintf(out, " %s = %d%s\n", constant.c_str(), (*atomIt)->code, comma); in write_native_atom_constants() 261 string constant = make_constant_name((*atomIt)->name); in write_java_atom_codes() local 265 write_java_usage(out, "write", constant, **atomIt); in write_java_atom_codes() 268 write_java_usage(out, "write_non_chained", constant, **(non_chained_decl->second)); in write_java_atom_codes() 271 fprintf(out, " public static final int %s = %d;\n", constant.c_str(), (*atomIt)->code); in write_java_atom_codes()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthKeys.java | 110 final Constant constant = field.getAnnotation(annotationClass); in Constants() local 111 if (constant != null) { in Constants() 112 final int type = constant.type(); in Constants()
|
/frameworks/compile/slang/tests/P_array_init/ |
D | array_init.rscript | 17 // Clang should implicitly promote this type to have a constant size of 3. 20 // Clang should implicitly promote this type to have a constant size of 1.
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | nbody.rscript | 5 float espSqr = .2f; // will be constant folded 6 float dt = 0.5f; // will be constant folded 7 float3 half_dt = {0.25f, 0.25f, 0.25f}; // will be constant folded
|
/frameworks/base/media/mca/filterpacks/ |
D | Android.bp | 63 // Bug: http://b/29823425 Disable constant-conversion warning triggered in 65 "-Wno-constant-conversion",
|
/frameworks/compile/slang/tests/P_constant/ |
D | stderr.txt.expect | 1 constant.rscript:21:18: warning: 'extern' variable has an initializer
|
/frameworks/compile/slang/tests/F_extern_const/ |
D | stderr.txt.expect | 1 extern_const.rscript:4:18: error: invalid declaration of uninitialized constant variable 'extern_co…
|
/frameworks/compile/slang/tests/F_bad_version_pragma/ |
D | stderr.txt.expect | 4 bad_version_pragma.rscript:4:18: error: invalid digit 'a' in decimal constant
|
/frameworks/compile/slang/tests/P_extern_const/ |
D | rs_core.rsh | 6 // Declare an uninitialized external constant, which should be ok for our
|
/frameworks/rs/ |
D | rsProgram.cpp | 59 uint32_t constant = 0; in Program() local 67 mConstantTypes[constant].set(reinterpret_cast<Type *>(params[ct+1])); in Program() 68 mHal.state.constantTypes[constant++] = reinterpret_cast<Type *>(params[ct+1]); in Program()
|
/frameworks/base/core/proto/android/view/inputmethod/ |
D | inputmethodeditortrace.proto | 40 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L 86 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L 119 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | array_init.rscript | 3 // Testing constant array initialization
|
/frameworks/compile/slang/lit-tests/P_array_init/ |
D | array_init.rscript | 3 // CHECK: @ic = local_unnamed_addr constant i32 99, align 4
|
/frameworks/native/libs/sensorprivacy/ |
D | Android.bp | 36 "-Wzero-as-null-pointer-constant",
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | debug_info_static_const_fp.ll | 2 ; we emit its constant value (if any) in debug info.
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | array_init.rscript | 19 // Testing constant array initialization
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | array_init.rscript | 21 // Testing constant array initialization
|
/frameworks/base/tools/orientationplot/ |
D | README.txt | 72 should be a fairly constant 60ms. If the latency jumps around wildly or 77 degrees (refer to MAX_TILT constant). Consequently, you should expect there
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tracing/ |
D | sysui_trace.proto | 41 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L
|
/frameworks/base/core/proto/android/server/ |
D | windowmanagertrace.proto | 30 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L
|