Home
last modified time | relevance | path

Searched refs:constant (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp113 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 …]
DGenerateDocumentation.cpp486 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()
DSpecification.cpp376 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()
Drs_math.spec52 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/core/java/android/os/health/
DHealthKeys.java110 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/
Darray_init.rscript17 // 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/proto_logging/stats/stats_log_api_gen/
Dutils.cpp197 string constant = make_constant_name((*atomIt)->name); in write_native_atom_constants() local
201 write_cpp_usage(out, "stats_write", constant, *atomIt, attributionDecl); in write_native_atom_constants()
205 write_cpp_usage(out, "stats_write_non_chained", constant, *non_chained_decl->second, in write_native_atom_constants()
210 fprintf(out, " %s = %d%s\n", constant.c_str(), (*atomIt)->code, comma); in write_native_atom_constants()
287 string constant = make_constant_name((*atomIt)->name); in write_java_atom_codes() local
291 write_java_usage(out, "write", constant, **atomIt); in write_java_atom_codes()
294 write_java_usage(out, "write_non_chained", constant, **(non_chained_decl->second)); in write_java_atom_codes()
297 fprintf(out, " public static final int %s = %d;\n", constant.c_str(), (*atomIt)->code); in write_java_atom_codes()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rscript5 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/
DAndroid.bp63 // Bug: http://b/29823425 Disable constant-conversion warning triggered in
65 "-Wno-constant-conversion",
/frameworks/compile/slang/tests/P_constant/
Dstderr.txt.expect1 constant.rscript:21:18: warning: 'extern' variable has an initializer
/frameworks/compile/slang/tests/F_extern_const/
Dstderr.txt.expect1 extern_const.rscript:4:18: error: invalid declaration of uninitialized constant variable 'extern_co…
/frameworks/compile/slang/tests/P_extern_const/
Drs_core.rsh6 // Declare an uninitialized external constant, which should be ok for our
/frameworks/compile/slang/tests/F_bad_version_pragma/
Dstderr.txt.expect4 bad_version_pragma.rscript:4:18: error: invalid digit 'a' in decimal constant
/frameworks/rs/
DrsProgram.cpp59 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/
Dinputmethodeditortrace.proto40 /* 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/
Darray_init.rscript3 // Testing constant array initialization
/frameworks/compile/slang/lit-tests/P_array_init/
Darray_init.rscript3 // CHECK: @ic = local_unnamed_addr constant i32 99, align 4
/frameworks/native/libs/sensorprivacy/
DAndroid.bp36 "-Wzero-as-null-pointer-constant",
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Darray_init.rscript19 // Testing constant array initialization
/frameworks/compile/libbcc/tests/libbcc/
Ddebug_info_static_const_fp.ll2 ; we emit its constant value (if any) in debug info.
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Darray_init.rscript21 // Testing constant array initialization
/frameworks/base/tools/orientationplot/
DREADME.txt72 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/
Dsysui_trace.proto41 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L
/frameworks/base/core/proto/android/server/
Dwindowmanagertrace.proto30 /* constant; MAGIC_NUMBER = (long) MAGIC_NUMBER_H << 32 | MagicNumber.MAGIC_NUMBER_L
/frameworks/rs/tests/java_api/RSTestBackward19/
DAndroid.mk55 $(my_rs_unit_tests_path)/constant.rscript\

123