Home
last modified time | relevance | path

Searched refs:type_op (Results 1 – 11 of 11) sorted by relevance

/external/python/cffi/c/
Dlib_obj.c128 int i, type_index = _CFFI_GETARG(g->type_op); in lib_build_cpython_func()
275 switch (_CFFI_GETOP(g->type_op)) { in lib_build_and_cache_attr()
304 _CFFI_GETARG(g->type_op)); in lib_build_and_cache_attr()
315 assert(_CFFI_GETOP(g->type_op) == _CFFI_OP_DLOPEN_CONST); in lib_build_and_cache_attr()
335 assert(_CFFI_GETOP(g->type_op) == _CFFI_OP_CONSTANT); in lib_build_and_cache_attr()
356 _CFFI_GETARG(g->type_op)); in lib_build_and_cache_attr()
382 _CFFI_GETARG(g->type_op)); in lib_build_and_cache_attr()
403 _CFFI_GETARG(g->type_op)); in lib_build_and_cache_attr()
417 _CFFI_GETARG(g->type_op)); in lib_build_and_cache_attr()
426 (int)_CFFI_GETOP(g->type_op)); in lib_build_and_cache_attr()
[all …]
Dcall_python.c91 if (_CFFI_GETOP(g->type_op) != _CFFI_OP_EXTERN_PYTHON) in _ffi_def_extern_decorator()
96 _CFFI_GETARG(g->type_op)); in _ffi_def_extern_decorator()
Dcdlopen.c191 nglobs[i].type_op = cdl_opcode(g); g += 4; in ffiobj_init()
193 if (_CFFI_GETOP(nglobs[i].type_op) == _CFFI_OP_CONSTANT_INT || in ffiobj_init()
194 _CFFI_GETOP(nglobs[i].type_op) == _CFFI_OP_ENUM) { in ffiobj_init()
Dparse_c_type.c406 if (_CFFI_GETOP(g->type_op) == _CFFI_OP_CONSTANT_INT || in parse_sequel()
407 _CFFI_GETOP(g->type_op) == _CFFI_OP_ENUM) { in parse_sequel()
Drealize_c_type.c518 assert(builder->ctx.globals[gindex].type_op == in realize_c_type_or_func()
Dffi_obj.c105 switch (_CFFI_GETOP(g->type_op)) { in ffi_fetch_int_constant()
/external/python/cffi/cffi/
Drecompiler.py12 def __init__(self, name, address, type_op, size=0, check_value=0): argument
15 self.type_op = type_op
21 self.name, self.address, self.type_op.as_c_expr(), self.size)
24 return "b'%s%s',%d" % (self.type_op.as_python_bytes(), self.name,
1079 type_op = CffiOp(OP_CONSTANT_INT, -1)
1086 type_op = CffiOp(const_kind, type_index)
1088 GlobalExpr(name, '_cffi_const_%s' % name, type_op))
1102 type_op = CffiOp(OP_ENUM, -1)
1107 GlobalExpr(enumerator, '_cffi_const_%s' % enumerator, type_op,
1146 type_op = CffiOp(OP_CONSTANT_INT, -1)
[all …]
Dparse_c_type.h98 _cffi_opcode_t type_op; member
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dshape_inference_utils.cc343 if (auto type_op = dyn_cast<InferTypeOpInterface>(op)) { in InferReturnTypeComponentsForTFOp() local
346 auto result = type_op.inferReturnTypes( in InferReturnTypeComponentsForTFOp()
/external/python/cffi/doc/misc/
Dparse_c_type.rst59 individual ``type_op`` fields. Most importantly, these are used
/external/python/cffi/testing/cffi1/
Dtest_parse_c_type.py93 ctx_globals[_i].type_op = ffi.cast("_cffi_opcode_t",