/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/base/tools/stats_log_api_gen/ |
D | atoms_info_writer.cpp | 78 string constant = make_constant_name(atom->name); in write_atoms_info_cpp_body() local 79 fprintf(out, " %s,\n", constant.c_str()); in write_atoms_info_cpp_body() 93 string constant = make_constant_name(atom->name); in write_atoms_info_cpp_body() local 94 fprintf(out, " %s,\n", constant.c_str()); in write_atoms_info_cpp_body()
|
D | utils.cpp | 186 string constant = make_constant_name(atom->name); in write_native_atom_constants() local 190 write_cpp_usage(out, "stats_write", constant, *atom, attributionDecl); in write_native_atom_constants() 194 write_cpp_usage(out, "stats_write_non_chained", constant, *non_chained_decl->second, in write_native_atom_constants() 199 fprintf(out, " %s = %d%s\n", constant.c_str(), atom->code, comma); in write_native_atom_constants() 280 string constant = make_constant_name(atom->name); in write_java_atom_codes() local 284 write_java_usage(out, "write", constant, *atom); in write_java_atom_codes() 287 write_java_usage(out, "write_non_chained", constant, *non_chained_decl->second); in write_java_atom_codes() 293 fprintf(out, " public static final int %s = %d;\n", constant.c_str(), atom->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/base/media/mca/filterpacks/ |
D | Android.bp | 54 // Bug: http://b/29823425 Disable constant-conversion warning triggered in 56 "-Wno-constant-conversion",
|
/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/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/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/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/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | array_init.rscript | 3 // Testing constant array initialization
|
/frameworks/native/libs/sensorprivacy/ |
D | Android.bp | 27 "-Wzero-as-null-pointer-constant",
|
/frameworks/compile/slang/lit-tests/P_array_init/ |
D | array_init.rscript | 3 // CHECK: @ic = local_unnamed_addr constant i32 99, align 4
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | array_init.rscript | 19 // Testing constant array initialization
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | debug_info_static_const_fp.ll | 2 ; we emit its constant value (if any) in debug info.
|
/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/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | array_init.rscript | 21 // Testing constant array initialization
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | layerstrace.proto | 29 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L
|
/frameworks/rs/tests/java_api/RSTestBackward19/ |
D | Android.mk | 53 $(my_rs_unit_tests_path)/constant.rscript\
|
/frameworks/base/core/proto/android/server/ |
D | windowmanagertrace.proto | 30 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L
|