Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 3516) sorted by relevance

12345678910>>...141

/external/scapy/scapy/contrib/
Droce.py63 def opcode(transport, op): function
69 opcode('RC', 'SEND_FIRST'),
70 opcode('RC', 'SEND_MIDDLE'),
71 opcode('RC', 'SEND_LAST'),
72 opcode('RC', 'SEND_LAST_WITH_IMMEDIATE'),
73 opcode('RC', 'SEND_ONLY'),
74 opcode('RC', 'SEND_ONLY_WITH_IMMEDIATE'),
75 opcode('RC', 'RDMA_WRITE_FIRST'),
76 opcode('RC', 'RDMA_WRITE_MIDDLE'),
77 opcode('RC', 'RDMA_WRITE_LAST'),
[all …]
Doam.py486 [(BitField("version", 1, 5), lambda x: x.opcode in [43, 45, 47])],
494 lambda x: x.opcode == 1,
498 lambda x: x.opcode == 5,
511 lambda x: x.opcode == 4,
513 (BitField("flags", 0, 5), lambda x: x.opcode in [33, 35, 32]),
516 lambda x: x.opcode in [43, 45, 47],
530 lambda x: x.opcode == 52,
540 lambda x: x.opcode == 1,
544 lambda x: x.opcode in [13, 32],
549 lambda x: x.opcode in [1, 33, 35, 52, 32],
[all …]
/external/python/cpython3/Include/internal/
Dpycore_opcode_utils.h15 #define IS_WITHIN_OPCODE_RANGE(opcode) \ argument
16 (((opcode) >= 0 && (opcode) <= MAX_REAL_OPCODE) || \
17 IS_PSEUDO_INSTR(opcode))
19 #define IS_BLOCK_PUSH_OPCODE(opcode) \ argument
20 ((opcode) == SETUP_FINALLY || \
21 (opcode) == SETUP_WITH || \
22 (opcode) == SETUP_CLEANUP)
24 #define HAS_TARGET(opcode) \ argument
25 (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
28 #define IS_TERMINATOR_OPCODE(opcode) \ argument
[all …]
/external/angle/third_party/spirv-tools/src/source/
Dopcode.h32 uint32_t spvOpcodeMake(uint16_t word_count, spv::Op opcode);
36 uint16_t* opcode);
48 const spv::Op opcode,
55 void spvInstructionCopy(const uint32_t* words, const spv::Op opcode,
61 int32_t spvOpcodeIsScalarType(const spv::Op opcode);
65 int32_t spvOpcodeIsSpecConstant(const spv::Op opcode);
69 int32_t spvOpcodeIsConstant(const spv::Op opcode);
72 bool spvOpcodeIsConstantOrUndef(const spv::Op opcode);
75 bool spvOpcodeIsScalarSpecConstant(const spv::Op opcode);
79 int32_t spvOpcodeIsComposite(const spv::Op opcode);
[all …]
/external/deqp-deps/SPIRV-Tools/source/
Dopcode.h32 uint32_t spvOpcodeMake(uint16_t word_count, spv::Op opcode);
36 uint16_t* opcode);
48 const spv::Op opcode,
55 void spvInstructionCopy(const uint32_t* words, const spv::Op opcode,
61 int32_t spvOpcodeIsScalarType(const spv::Op opcode);
65 int32_t spvOpcodeIsSpecConstant(const spv::Op opcode);
69 int32_t spvOpcodeIsConstant(const spv::Op opcode);
72 bool spvOpcodeIsConstantOrUndef(const spv::Op opcode);
75 bool spvOpcodeIsScalarSpecConstant(const spv::Op opcode);
79 int32_t spvOpcodeIsComposite(const spv::Op opcode);
[all …]
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/immutable/instruction/
DImmutableInstructionFactory.java48 public ImmutableInstruction10t makeInstruction10t(@Nonnull Opcode opcode, in makeInstruction10t() argument
50 return new ImmutableInstruction10t(opcode, codeOffset); in makeInstruction10t()
53 public ImmutableInstruction10x makeInstruction10x(@Nonnull Opcode opcode) { in makeInstruction10x() argument
54 return new ImmutableInstruction10x(opcode); in makeInstruction10x()
57 public ImmutableInstruction11n makeInstruction11n(@Nonnull Opcode opcode, in makeInstruction11n() argument
60 return new ImmutableInstruction11n(opcode, registerA, literal); in makeInstruction11n()
63 public ImmutableInstruction11x makeInstruction11x(@Nonnull Opcode opcode, in makeInstruction11x() argument
65 return new ImmutableInstruction11x(opcode, registerA); in makeInstruction11x()
68 public ImmutableInstruction12x makeInstruction12x(@Nonnull Opcode opcode, in makeInstruction12x() argument
71 return new ImmutableInstruction12x(opcode, registerA, registerB); in makeInstruction12x()
[all …]
/external/angle/third_party/spirv-tools/src/test/val/
Dval_ray_query_test.cpp123 std::string RayQueryResult(std::string opcode) { in RayQueryResult() argument
124 if (opcode.compare("OpRayQueryProceedKHR") == 0 || in RayQueryResult()
125 opcode.compare("OpRayQueryGetIntersectionTypeKHR") == 0 || in RayQueryResult()
126 opcode.compare("OpRayQueryGetRayTMinKHR") == 0 || in RayQueryResult()
127 opcode.compare("OpRayQueryGetRayFlagsKHR") == 0 || in RayQueryResult()
128 opcode.compare("OpRayQueryGetIntersectionTKHR") == 0 || in RayQueryResult()
129 opcode.compare("OpRayQueryGetIntersectionInstanceCustomIndexKHR") == 0 || in RayQueryResult()
130 opcode.compare("OpRayQueryGetIntersectionInstanceIdKHR") == 0 || in RayQueryResult()
131 opcode.compare("OpRayQueryGetIntersectionInstanceShaderBindingTableRecord" in RayQueryResult()
133 opcode.compare("OpRayQueryGetIntersectionGeometryIndexKHR") == 0 || in RayQueryResult()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_ray_query_test.cpp116 std::string RayQueryResult(std::string opcode) { in RayQueryResult() argument
117 if (opcode.compare("OpRayQueryProceedKHR") == 0 || in RayQueryResult()
118 opcode.compare("OpRayQueryGetIntersectionTypeKHR") == 0 || in RayQueryResult()
119 opcode.compare("OpRayQueryGetRayTMinKHR") == 0 || in RayQueryResult()
120 opcode.compare("OpRayQueryGetRayFlagsKHR") == 0 || in RayQueryResult()
121 opcode.compare("OpRayQueryGetIntersectionTKHR") == 0 || in RayQueryResult()
122 opcode.compare("OpRayQueryGetIntersectionInstanceCustomIndexKHR") == 0 || in RayQueryResult()
123 opcode.compare("OpRayQueryGetIntersectionInstanceIdKHR") == 0 || in RayQueryResult()
124 opcode.compare("OpRayQueryGetIntersectionInstanceShaderBindingTableRecord" in RayQueryResult()
126 opcode.compare("OpRayQueryGetIntersectionGeometryIndexKHR") == 0 || in RayQueryResult()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_ray_query_test.cpp116 std::string RayQueryResult(std::string opcode) { in RayQueryResult() argument
117 if (opcode.compare("OpRayQueryProceedKHR") == 0 || in RayQueryResult()
118 opcode.compare("OpRayQueryGetIntersectionTypeKHR") == 0 || in RayQueryResult()
119 opcode.compare("OpRayQueryGetRayTMinKHR") == 0 || in RayQueryResult()
120 opcode.compare("OpRayQueryGetRayFlagsKHR") == 0 || in RayQueryResult()
121 opcode.compare("OpRayQueryGetIntersectionTKHR") == 0 || in RayQueryResult()
122 opcode.compare("OpRayQueryGetIntersectionInstanceCustomIndexKHR") == 0 || in RayQueryResult()
123 opcode.compare("OpRayQueryGetIntersectionInstanceIdKHR") == 0 || in RayQueryResult()
124 opcode.compare("OpRayQueryGetIntersectionInstanceShaderBindingTableRecord" in RayQueryResult()
126 opcode.compare("OpRayQueryGetIntersectionGeometryIndexKHR") == 0 || in RayQueryResult()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/
Dopcode.h32 uint32_t spvOpcodeMake(uint16_t word_count, spv::Op opcode);
36 uint16_t* opcode);
48 const spv::Op opcode,
55 void spvInstructionCopy(const uint32_t* words, const spv::Op opcode,
61 int32_t spvOpcodeIsScalarType(const spv::Op opcode);
65 int32_t spvOpcodeIsSpecConstant(const spv::Op opcode);
69 int32_t spvOpcodeIsConstant(const spv::Op opcode);
72 bool spvOpcodeIsConstantOrUndef(const spv::Op opcode);
75 bool spvOpcodeIsScalarSpecConstant(const spv::Op opcode);
79 int32_t spvOpcodeIsComposite(const spv::Op opcode);
[all …]
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/instruction/
DDexBackedInstruction.java45 @Nonnull public final Opcode opcode; field in DexBackedInstruction
49 @Nonnull Opcode opcode, in DexBackedInstruction() argument
52 this.opcode = opcode; in DexBackedInstruction()
56 @Nonnull public Opcode getOpcode() { return opcode; } in getOpcode()
57 @Override public int getCodeUnits() { return opcode.format.size / 2; } in getCodeUnits()
67 Opcode opcode = dexFile.getOpcodes().getOpcodeByValue(opcodeValue); in readFrom() local
69 Instruction instruction = buildInstruction(dexFile, opcode, in readFrom()
76 …c DexBackedInstruction buildInstruction(@Nonnull DexBackedDexFile dexFile, @Nullable Opcode opcode, in buildInstruction() argument
78 if (opcode == null) { in buildInstruction()
81 switch (opcode.format) { in buildInstruction()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dreflect.h28 inline bool IsDebug1Inst(spv::Op opcode) { in IsDebug1Inst() argument
29 return (opcode >= spv::Op::OpSourceContinued && in IsDebug1Inst()
30 opcode <= spv::Op::OpSourceExtension) || in IsDebug1Inst()
31 opcode == spv::Op::OpString; in IsDebug1Inst()
33 inline bool IsDebug2Inst(spv::Op opcode) { in IsDebug2Inst() argument
34 return opcode == spv::Op::OpName || opcode == spv::Op::OpMemberName; in IsDebug2Inst()
36 inline bool IsDebug3Inst(spv::Op opcode) { in IsDebug3Inst() argument
37 return opcode == spv::Op::OpModuleProcessed; in IsDebug3Inst()
39 inline bool IsOpLineInst(spv::Op opcode) { in IsOpLineInst() argument
40 return opcode == spv::Op::OpLine || opcode == spv::Op::OpNoLine; in IsOpLineInst()
[all …]
/external/angle/third_party/spirv-tools/src/source/opt/
Dreflect.h28 inline bool IsDebug1Inst(spv::Op opcode) { in IsDebug1Inst() argument
29 return (opcode >= spv::Op::OpSourceContinued && in IsDebug1Inst()
30 opcode <= spv::Op::OpSourceExtension) || in IsDebug1Inst()
31 opcode == spv::Op::OpString; in IsDebug1Inst()
33 inline bool IsDebug2Inst(spv::Op opcode) { in IsDebug2Inst() argument
34 return opcode == spv::Op::OpName || opcode == spv::Op::OpMemberName; in IsDebug2Inst()
36 inline bool IsDebug3Inst(spv::Op opcode) { in IsDebug3Inst() argument
37 return opcode == spv::Op::OpModuleProcessed; in IsDebug3Inst()
39 inline bool IsOpLineInst(spv::Op opcode) { in IsOpLineInst() argument
40 return opcode == spv::Op::OpLine || opcode == spv::Op::OpNoLine; in IsOpLineInst()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dreflect.h28 inline bool IsDebug1Inst(spv::Op opcode) { in IsDebug1Inst() argument
29 return (opcode >= spv::Op::OpSourceContinued && in IsDebug1Inst()
30 opcode <= spv::Op::OpSourceExtension) || in IsDebug1Inst()
31 opcode == spv::Op::OpString; in IsDebug1Inst()
33 inline bool IsDebug2Inst(spv::Op opcode) { in IsDebug2Inst() argument
34 return opcode == spv::Op::OpName || opcode == spv::Op::OpMemberName; in IsDebug2Inst()
36 inline bool IsDebug3Inst(spv::Op opcode) { in IsDebug3Inst() argument
37 return opcode == spv::Op::OpModuleProcessed; in IsDebug3Inst()
39 inline bool IsOpLineInst(spv::Op opcode) { in IsOpLineInst() argument
40 return opcode == spv::Op::OpLine || opcode == spv::Op::OpNoLine; in IsOpLineInst()
[all …]
/external/elfutils/tests/
Drun-readelf-line.sh65 [ 35] extended opcode 2: set address to 0x80482f0 <main>
68 [ 3f] special opcode 159: address+10 = 0x80482fa <main+0xa>, line+1 = 17
69 [ 40] special opcode 117: address+7 = 0x8048301 <main+0x11>, line+1 = 18
71 [ 43] special opcode 200: address+13 = 0x804830e <main+0x1e>, line+0 = 9
72 [ 44] special opcode 48: address+2 = 0x8048310 <main+0x20>, line+2 = 11
73 [ 45] special opcode 58: address+3 = 0x8048313 <main+0x23>, line-2 = 9
74 [ 46] special opcode 48: address+2 = 0x8048315 <main+0x25>, line+2 = 11
75 [ 47] special opcode 44: address+2 = 0x8048317 <main+0x27>, line-2 = 9
77 [ 4a] special opcode 46: address+2 = 0x8048319 <main+0x29>, line+0 = 22
79 [ 4d] special opcode 60: address+3 = 0x804831c <main+0x2c>, line+0 = 9
[all …]
/external/mesa3d/src/gallium/frontends/d3d10umd/
DShaderParse.c286 struct Shader_opcode *opcode) in Shader_parse_opcode() argument
298 memset(opcode, 0, sizeof *opcode); in Shader_parse_opcode()
301 opcode->type = DECODE_D3D10_SB_OPCODE_TYPE(*curr); in Shader_parse_opcode()
303 if (opcode->type == D3D10_SB_OPCODE_CUSTOMDATA) { in Shader_parse_opcode()
304 opcode->customdata._class = DECODE_D3D10_SB_CUSTOMDATA_CLASS(*curr); in Shader_parse_opcode()
307 assert(opcode->customdata._class == D3D10_SB_CUSTOMDATA_DCL_IMMEDIATE_CONSTANT_BUFFER); in Shader_parse_opcode()
309 opcode->customdata.u.constbuf.count = *curr - 2; in Shader_parse_opcode()
312opcode->customdata.u.constbuf.data = MALLOC(opcode->customdata.u.constbuf.count * sizeof(unsigned)… in Shader_parse_opcode()
313 assert(opcode->customdata.u.constbuf.data); in Shader_parse_opcode()
315 memcpy(opcode->customdata.u.constbuf.data, in Shader_parse_opcode()
[all …]
DShaderTGSI.c1168 struct Shader_opcode *opcode, in sample_ureg_emit() argument
1177 if (opcode->imm_texel_offset.u || in sample_ureg_emit()
1178 opcode->imm_texel_offset.v || in sample_ureg_emit()
1179 opcode->imm_texel_offset.w) { in sample_ureg_emit()
1184 opcode->imm_texel_offset.u, in sample_ureg_emit()
1185 opcode->imm_texel_offset.v, in sample_ureg_emit()
1186 opcode->imm_texel_offset.w); in sample_ureg_emit()
1207 struct Shader_xlate *sx, struct Shader_opcode *opcode) in expand_unary_to_scalarf() argument
1210 struct ureg_dst dst = translate_dst_operand(sx, &opcode->dst[0], in expand_unary_to_scalarf()
1211 opcode->saturate); in expand_unary_to_scalarf()
[all …]
/external/javassist/src/main/javassist/bytecode/analysis/
DUtil.java28 int opcode = iter.byteAt(pos); in getJumpTarget() local
29 … pos += (opcode == JSR_W || opcode == GOTO_W) ? iter.s32bitAt(pos + 1) : iter.s16bitAt(pos + 1); in getJumpTarget()
33 public static boolean isJumpInstruction(int opcode) { in isJumpInstruction() argument
34 …return (opcode >= IFEQ && opcode <= JSR) || opcode == IFNULL || opcode == IFNONNULL || opcode == J… in isJumpInstruction()
37 public static boolean isGoto(int opcode) { in isGoto() argument
38 return opcode == GOTO || opcode == GOTO_W; in isGoto()
41 public static boolean isJsr(int opcode) { in isJsr() argument
42 return opcode == JSR || opcode == JSR_W; in isJsr()
45 public static boolean isReturn(int opcode) { in isReturn() argument
46 return (opcode >= IRETURN && opcode <= RETURN); in isReturn()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_atomics.cpp49 bool HasReturnType(spv::Op opcode) { in HasReturnType() argument
50 switch (opcode) { in HasReturnType()
60 bool HasOnlyFloatReturnType(spv::Op opcode) { in HasOnlyFloatReturnType() argument
61 switch (opcode) { in HasOnlyFloatReturnType()
72 bool HasOnlyIntReturnType(spv::Op opcode) { in HasOnlyIntReturnType() argument
73 switch (opcode) { in HasOnlyIntReturnType()
94 bool HasIntOrFloatReturnType(spv::Op opcode) { in HasIntOrFloatReturnType() argument
95 switch (opcode) { in HasIntOrFloatReturnType()
105 bool HasOnlyBoolReturnType(spv::Op opcode) { in HasOnlyBoolReturnType() argument
106 switch (opcode) { in HasOnlyBoolReturnType()
[all …]
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_atomics.cpp49 bool HasReturnType(spv::Op opcode) { in HasReturnType() argument
50 switch (opcode) { in HasReturnType()
60 bool HasOnlyFloatReturnType(spv::Op opcode) { in HasOnlyFloatReturnType() argument
61 switch (opcode) { in HasOnlyFloatReturnType()
72 bool HasOnlyIntReturnType(spv::Op opcode) { in HasOnlyIntReturnType() argument
73 switch (opcode) { in HasOnlyIntReturnType()
94 bool HasIntOrFloatReturnType(spv::Op opcode) { in HasIntOrFloatReturnType() argument
95 switch (opcode) { in HasIntOrFloatReturnType()
105 bool HasOnlyBoolReturnType(spv::Op opcode) { in HasOnlyBoolReturnType() argument
106 switch (opcode) { in HasOnlyBoolReturnType()
[all …]
Dvalidate_id.cpp63 if (use->opcode() == spv::Op::OpPhi) { in CheckIdDefinitionDominateUse()
123 spvIsExtendedInstruction(inst->opcode()) && in IdPass()
126 inst->opcode(), inst->ext_inst_type(), inst->word(4)) in IdPass()
127 : spvOperandCanBeForwardDeclaredFunction(inst->opcode()); in IdPass()
161 const auto opcode = inst->opcode(); in IdPass() local
162 if (spvOpcodeGeneratesType(def->opcode()) && in IdPass()
163 !spvOpcodeGeneratesType(opcode) && !spvOpcodeIsDebug(opcode) && in IdPass()
165 !spvOpcodeIsDecoration(opcode) && opcode != spv::Op::OpFunction && in IdPass()
166 opcode != spv::Op::OpSizeOf && in IdPass()
167 opcode != spv::Op::OpCooperativeMatrixLengthNV && in IdPass()
[all …]
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_atomics.cpp49 bool HasReturnType(spv::Op opcode) { in HasReturnType() argument
50 switch (opcode) { in HasReturnType()
60 bool HasOnlyFloatReturnType(spv::Op opcode) { in HasOnlyFloatReturnType() argument
61 switch (opcode) { in HasOnlyFloatReturnType()
72 bool HasOnlyIntReturnType(spv::Op opcode) { in HasOnlyIntReturnType() argument
73 switch (opcode) { in HasOnlyIntReturnType()
94 bool HasIntOrFloatReturnType(spv::Op opcode) { in HasIntOrFloatReturnType() argument
95 switch (opcode) { in HasIntOrFloatReturnType()
105 bool HasOnlyBoolReturnType(spv::Op opcode) { in HasOnlyBoolReturnType() argument
106 switch (opcode) { in HasOnlyBoolReturnType()
[all …]
Dvalidate_id.cpp63 if (use->opcode() == spv::Op::OpPhi) { in CheckIdDefinitionDominateUse()
123 spvIsExtendedInstruction(inst->opcode()) && in IdPass()
126 inst->opcode(), inst->ext_inst_type(), inst->word(4)) in IdPass()
127 : spvOperandCanBeForwardDeclaredFunction(inst->opcode()); in IdPass()
161 const auto opcode = inst->opcode(); in IdPass() local
162 if (spvOpcodeGeneratesType(def->opcode()) && in IdPass()
163 !spvOpcodeGeneratesType(opcode) && !spvOpcodeIsDebug(opcode) && in IdPass()
165 !spvOpcodeIsDecoration(opcode) && opcode != spv::Op::OpFunction && in IdPass()
166 opcode != spv::Op::OpSizeOf && in IdPass()
167 opcode != spv::Op::OpCooperativeMatrixLengthNV && in IdPass()
[all …]
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/
DInstructionFactory.java44 Instruction makeInstruction10t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction10t() argument
45 Instruction makeInstruction10x(@Nonnull Opcode opcode); in makeInstruction10x() argument
46 Instruction makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction11n() argument
47 Instruction makeInstruction11x(@Nonnull Opcode opcode, int registerA); in makeInstruction11x() argument
48 Instruction makeInstruction12x(@Nonnull Opcode opcode, int registerA, int registerB); in makeInstruction12x() argument
49 …Instruction makeInstruction20bc(@Nonnull Opcode opcode, int verificationError, @Nonnull Ref refere… in makeInstruction20bc() argument
50 Instruction makeInstruction20t(@Nonnull Opcode opcode, int codeOffset); in makeInstruction20t() argument
51 Instruction makeInstruction21c(@Nonnull Opcode opcode, int registerA, @Nonnull Ref reference); in makeInstruction21c() argument
52 Instruction makeInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction21ih() argument
53 Instruction makeInstruction21lh(@Nonnull Opcode opcode, int registerA, long literal); in makeInstruction21lh() argument
[all …]
/external/cronet/tot/net/websockets/
Dwebsocket_frame.h53 static bool IsKnownDataOpCode(OpCode opcode) { in IsKnownDataOpCode()
54 return opcode == kOpCodeContinuation || opcode == kOpCodeText || in IsKnownDataOpCode()
55 opcode == kOpCodeBinary; in IsKnownDataOpCode()
60 static bool IsKnownControlOpCode(OpCode opcode) { in IsKnownControlOpCode()
61 return opcode == kOpCodeClose || opcode == kOpCodePing || in IsKnownControlOpCode()
62 opcode == kOpCodePong; in IsKnownControlOpCode()
66 static bool IsReservedDataOpCode(OpCode opcode) { in IsReservedDataOpCode()
67 return opcode == kOpCodeDataUnused3 || opcode == kOpCodeDataUnused4 || in IsReservedDataOpCode()
68 opcode == kOpCodeDataUnused5 || opcode == kOpCodeDataUnused6 || in IsReservedDataOpCode()
69 opcode == kOpCodeDataUnused7; in IsReservedDataOpCode()
[all …]

12345678910>>...141