| /external/tensorflow/tensorflow/python/saved_model/ |
| D | constants.py | 15 """Constants for SavedModel save and restore operations. 17 The source of truth for these constants is in 18 tensorflow/cc/saved_model/constants.h. 21 from tensorflow.python.saved_model.pywrap_saved_model import constants 25 ASSETS_DIRECTORY = constants.ASSETS_DIRECTORY 29 "saved_model.ASSETS_DIRECTORY", "saved_model.constants.ASSETS_DIRECTORY" 33 EXTRA_ASSETS_DIRECTORY = constants.EXTRA_ASSETS_DIRECTORY 36 ASSETS_KEY = constants.ASSETS_KEY 40 "saved_model.constants.ASSETS_KEY"]).export_constant( 44 LEGACY_INIT_OP_KEY = constants.LEGACY_INIT_OP_KEY [all …]
|
| /external/ow2-asm/asm/src/test/java/org/objectweb/asm/ |
| D | MethodWriterTest.java | 48 * Tests that the attribute name fields of Constants are the expected ones. This test is designed 49 * to fail each time new attributes are added to Constants, and serves as a reminder to update the 55 Arrays.stream(Constants.class.getDeclaredFields()) in testCanCopyMethodAttributesUpdated() 70 Constants.CONSTANT_VALUE, in testCanCopyMethodAttributesUpdated() 71 Constants.CODE, in testCanCopyMethodAttributesUpdated() 72 Constants.STACK_MAP_TABLE, in testCanCopyMethodAttributesUpdated() 73 Constants.EXCEPTIONS, in testCanCopyMethodAttributesUpdated() 74 Constants.INNER_CLASSES, in testCanCopyMethodAttributesUpdated() 75 Constants.ENCLOSING_METHOD, in testCanCopyMethodAttributesUpdated() 76 Constants.SYNTHETIC, in testCanCopyMethodAttributesUpdated() [all …]
|
| /external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
| D | unify_const_test.cpp | 188 // So far we don't have valid decorations for constants. This is in TEST_F() 266 // preserved constants. %flat_1 and %flat_d has same members, but in TEST_F() 273 // duplicated constants. in TEST_F() 319 // preserved constants. 321 // expected uses of the preserved constants. 323 // duplicated constants of the preserved constants. 325 // uses of the duplicated constants, expected to be updated to use the 326 // preserved constants. 329 // constants. 347 // Duplicated constants are killed in the expected output, and the debug in TEST_P() [all …]
|
| /external/deqp-deps/SPIRV-Tools/test/opt/ |
| D | unify_const_test.cpp | 188 // So far we don't have valid decorations for constants. This is in TEST_F() 266 // preserved constants. %flat_1 and %flat_d has same members, but in TEST_F() 273 // duplicated constants. in TEST_F() 319 // preserved constants. 321 // expected uses of the preserved constants. 323 // duplicated constants of the preserved constants. 325 // uses of the duplicated constants, expected to be updated to use the 326 // preserved constants. 329 // constants. 347 // Duplicated constants are killed in the expected output, and the debug in TEST_P() [all …]
|
| /external/angle/third_party/spirv-tools/src/test/opt/ |
| D | unify_const_test.cpp | 188 // So far we don't have valid decorations for constants. This is in TEST_F() 266 // preserved constants. %flat_1 and %flat_d has same members, but in TEST_F() 273 // duplicated constants. in TEST_F() 319 // preserved constants. 321 // expected uses of the preserved constants. 323 // duplicated constants of the preserved constants. 325 // uses of the duplicated constants, expected to be updated to use the 326 // preserved constants. 329 // constants. 347 // Duplicated constants are killed in the expected output, and the debug in TEST_P() [all …]
|
| /external/deqp-deps/SPIRV-Tools/source/opt/ |
| D | fold.cpp | 190 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local 195 if (rule(context_, inst, constants)) { in FoldInstructionInternal() 204 // result in 32 bit word. Scalar constants with longer than 32-bit width are 216 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars() 237 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local 246 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant() 253 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant() 266 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant() 276 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant() 281 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant() [all …]
|
| D | fold_spec_constant_op_and_composite_pass.cpp | 20 #include "source/opt/constants.h" 30 // Constants whose values are determined and do not depend on OpUndef in Process() 33 // Constants later. in Process() 34 // For Spec Constants defined with OpSpecConstantComposite instructions, if in Process() 35 // all of their components are Normal Constants, they will be turned into in Process() 36 // Normal Constants too. For Spec Constants defined with OpSpecConstantOp in Process() 37 // instructions, we check if they only depends on Normal Constants and fold in Process() 38 // them when possible. The two maps for Normal Constants: id_to_const_val_ in Process() 40 // Normal Constants generated from folding can be used to fold following Spec in Process() 41 // Constants. in Process() [all …]
|
| /external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| D | fold.cpp | 190 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local 195 if (rule(context_, inst, constants)) { in FoldInstructionInternal() 204 // result in 32 bit word. Scalar constants with longer than 32-bit width are 216 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars() 237 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local 246 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant() 253 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant() 266 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant() 276 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant() 281 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant() [all …]
|
| D | fold_spec_constant_op_and_composite_pass.cpp | 20 #include "source/opt/constants.h" 30 // Constants whose values are determined and do not depend on OpUndef in Process() 33 // Constants later. in Process() 34 // For Spec Constants defined with OpSpecConstantComposite instructions, if in Process() 35 // all of their components are Normal Constants, they will be turned into in Process() 36 // Normal Constants too. For Spec Constants defined with OpSpecConstantOp in Process() 37 // instructions, we check if they only depends on Normal Constants and fold in Process() 38 // them when possible. The two maps for Normal Constants: id_to_const_val_ in Process() 40 // Normal Constants generated from folding can be used to fold following Spec in Process() 41 // Constants. in Process() [all …]
|
| /external/angle/third_party/spirv-tools/src/source/opt/ |
| D | fold.cpp | 190 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local 195 if (rule(context_, inst, constants)) { in FoldInstructionInternal() 204 // result in 32 bit word. Scalar constants with longer than 32-bit width are 216 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars() 237 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local 246 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant() 253 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant() 266 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant() 276 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant() 281 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant() [all …]
|
| D | fold_spec_constant_op_and_composite_pass.cpp | 20 #include "source/opt/constants.h" 30 // Constants whose values are determined and do not depend on OpUndef in Process() 33 // Constants later. in Process() 34 // For Spec Constants defined with OpSpecConstantComposite instructions, if in Process() 35 // all of their components are Normal Constants, they will be turned into in Process() 36 // Normal Constants too. For Spec Constants defined with OpSpecConstantOp in Process() 37 // instructions, we check if they only depends on Normal Constants and fold in Process() 38 // them when possible. The two maps for Normal Constants: id_to_const_val_ in Process() 40 // Normal Constants generated from folding can be used to fold following Spec in Process() 41 // Constants. in Process() [all …]
|
| /external/apache-xml/src/main/java/org/apache/xalan/templates/ |
| D | ElemComment.java | 43 * @see org.apache.xalan.templates.Constants 49 return Constants.ELEMNAME_COMMENT; in getXSLToken() 59 return Constants.ELEMNAME_COMMENT_STRING; in getNodeName() 112 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild() 113 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild() 114 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild() 115 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild() 116 case Constants.ELEMNAME_FOREACH : in appendChild() 117 case Constants.ELEMNAME_VALUEOF : in appendChild() 118 case Constants.ELEMNAME_COPY_OF : in appendChild() [all …]
|
| D | ElemPI.java | 95 * @see org.apache.xalan.templates.Constants 101 return Constants.ELEMNAME_PI; in getXSLToken() 111 return Constants.ELEMNAME_PI_STRING; in getNodeName() 141 new Object[]{ Constants.ATTRNAME_NAME, piName }); in execute() 151 new Object[]{ Constants.ATTRNAME_NAME, piName }); in execute() 193 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild() 194 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild() 195 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild() 196 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild() 197 case Constants.ELEMNAME_FOREACH : in appendChild() [all …]
|
| D | ElemAttribute.java | 53 * @see org.apache.xalan.templates.Constants 59 return Constants.ELEMNAME_ATTRIBUTE; in getXSLToken() 69 return Constants.ELEMNAME_ATTRIBUTE_STRING; in getNodeName() 231 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild() 232 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild() 233 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild() 234 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild() 235 case Constants.ELEMNAME_FOREACH : in appendChild() 236 case Constants.ELEMNAME_VALUEOF : in appendChild() 237 case Constants.ELEMNAME_COPY_OF : in appendChild() [all …]
|
| /external/mesa3d/src/gallium/drivers/r300/compiler/ |
| D | radeon_remove_constants.c | 70 struct rc_constant *constants = c->Program.Constants.Constants; in rc_remove_unused_constants() local 74 if (!c->Program.Constants.Count) { in rc_remove_unused_constants() 79 const_used = malloc(c->Program.Constants.Count); in rc_remove_unused_constants() 80 memset(const_used, 0, c->Program.Constants.Count); in rc_remove_unused_constants() 85 /* Pass 1: Mark used constants. */ in rc_remove_unused_constants() 94 for (unsigned i = 0; i < c->Program.Constants.Count; i++) in rc_remove_unused_constants() 95 if (constants[i].Type == RC_CONSTANT_EXTERNAL) in rc_remove_unused_constants() 99 /* Pass 3: Make the remapping table and remap constants. in rc_remove_unused_constants() 100 * This pass removes unused constants simply by overwriting them by other constants. */ in rc_remove_unused_constants() 101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants() [all …]
|
| D | radeon_code.c | 42 * Copy a constants structure, assuming that the destination structure 47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); in rc_constants_copy() 48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); in rc_constants_copy() 55 free(c->Constants); in rc_constants_destroy() 71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); in rc_constants_add() 73 free(c->Constants); in rc_constants_add() 74 c->Constants = newlist; in rc_constants_add() 77 c->Constants[index] = *constant; in rc_constants_add() 93 if (c->Constants[index].Type == RC_CONSTANT_STATE) { in rc_constants_add_state() 94 if (c->Constants[index].u.State[0] == state0 && in rc_constants_add_state() [all …]
|
| /external/kernel-headers/original/uapi/linux/ |
| D | ethtool_netlink.h | 61 /* add new constants above here */ 113 /* add new constants above here */ 137 /* add new constants above here */ 150 /* add new constants above here */ 159 /* add new constants above here */ 172 /* add new constants above here */ 184 /* add new constants above here */ 193 /* add new constants above here */ 204 /* add new constants above here */ 213 /* add new constants above here */ [all …]
|
| /external/ethtool/uapi/linux/ |
| D | ethtool_netlink.h | 61 /* add new constants above here */ 113 /* add new constants above here */ 137 /* add new constants above here */ 150 /* add new constants above here */ 159 /* add new constants above here */ 172 /* add new constants above here */ 184 /* add new constants above here */ 193 /* add new constants above here */ 204 /* add new constants above here */ 213 /* add new constants above here */ [all …]
|
| /external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
| D | ConstantPoolGen.java | 42 * constants via `addXXX' methods, `addString', `addClass', 47 * Constants.MAX_SHORT entries. Note that the first (0) is used by the 48 * JVM and that Double and Long constants need two slots. 67 protected Constant[] constants; field in ConstantPoolGen 92 * Initialize with given array of constants. 94 * @param cs array of given constants, new ones will be appended 100 constants = new Constant[size]; in ConstantPoolGen() 102 System.arraycopy(cs, 0, constants, 0, cs.length); in ConstantPoolGen() 109 final Constant c = constants[i]; in ConstantPoolGen() 112 final ConstantUtf8 u8 = (ConstantUtf8) constants[s.getStringIndex()]; in ConstantPoolGen() [all …]
|
| /external/cronet/testing/unexpected_passes_common/ |
| D | builders_unittest.py | 22 from unexpected_passes_common import constants 123 constants.BuilderTypes.CI, False), 125 constants.BuilderTypes.CI, False), 127 constants.BuilderTypes.CI, False), 129 constants.BuilderTypes.CI, False), 190 constants.BuilderTypes.CI, False), 192 constants.BuilderTypes.CI, False), 205 constants.BuilderTypes.CI, False), 207 constants.BuilderTypes.CI, True), 209 constants.BuilderTypes.CI, True), [all …]
|
| /external/apache-xml/src/main/java/org/apache/xalan/processor/ |
| D | XSLTSchema.java | 25 import org.apache.xalan.templates.Constants; 230 …new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", false, false, false, XSLTAttributeDef.W… in build() 231 "default", Constants.ATTRVAL_STRIP, "preserve", in build() 232 Constants.ATTRVAL_PRESERVE); in build() 236 new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", in build() 254 "single", Constants.NUMBERLEVEL_SINGLE, in build() 255 "multiple", Constants.NUMBERLEVEL_MULTI, in build() 256 "any", Constants.NUMBERLEVEL_ANY); in build() 276 "alphabetic", Constants.NUMBERLETTER_ALPHABETIC, in build() 277 "traditional", Constants.NUMBERLETTER_TRADITIONAL); in build() [all …]
|
| /external/autotest/server/site_tests/platform_MTBF/ |
| D | generate_tests.py | 65 def _substitute_constants(val, constants): argument 66 for const in constants: 67 val = val.replace('$' + const + '$', constants[const]) 71 def _parse_tests(json_config, constants): argument 75 # Substitute constants in all fields of the test. 76 new_test['name'] = _substitute_constants(new_test['name'], constants) 78 constants) 82 new_args.append(_substitute_constants(arg, constants)) 87 new_attrs.append(_substitute_constants(attr, constants)) 92 new_deps.append(_substitute_constants(dep, constants)) [all …]
|
| /external/python/cpython2/Doc/library/ |
| D | carbon.rst | 61 :mod:`Carbon.Appearance` --- Appearance Manager constants 102 :mod:`Carbon.CarbonEvents` --- Carbon Event Manager constants 107 :synopsis: Constants for the interface to the Carbon Event Manager. 120 :mod:`Carbon.Components` --- Component Manager constants 125 :synopsis: Constants for the interface to the Component Manager. 137 :mod:`Carbon.Controls` --- Control Manager constants 142 :synopsis: Constants for the interface to the Control Manager. 145 :mod:`Carbon.CoreFounation` --- CoreFounation constants 150 :synopsis: Constants for the interface to CoreFoundation. 153 :mod:`Carbon.CoreGraphics` --- CoreGraphics constants [all …]
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
| D | JDWPCommands.java | 29 * This class defines constants for JDWP commands and command sets. 34 * JDWP VirtualMachine Command Set constants. 85 * JDWP ReferenceType Command Set constants. 130 * JDWP ClassType Command Set constants. 146 * JDWP ArrayType Command Set constants. 156 * JDWP InterfaceType Command Set constants. 165 * JDWP Method Command Set constants. 183 * JDWP Field Command Set constants. 191 * JDWP ObjectReference Command Set constants. 218 * JDWP String Command Set constants. [all …]
|
| /external/apache-commons-bcel/src/examples/ |
| D | HelloWorldBuilder.java | 21 import org.apache.bcel.Constants; 66 "<generated>", Constants.ACC_PUBLIC | in main() 67 Constants.ACC_SUPER, in main() 71 MethodGen mg = new MethodGen(Constants.ACC_STATIC | in main() 72 Constants.ACC_PUBLIC,// access flags in main() 90 … il.append(factory.createFieldAccess("java.lang.System", "in", i_stream, Constants.GETSTATIC)); in main() 95 Constants.INVOKESPECIAL)); in main() 98 Constants.INVOKESPECIAL)); in main() 113 … il.append(factory.createFieldAccess("java.lang.System", "out", p_stream, Constants.GETSTATIC)); in main() 117 new Type[]{Type.STRING}, Constants.INVOKEVIRTUAL)); in main() [all …]
|