Home
last modified time | relevance | path

Searched refs:c_type (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cffi/c/
D_cffi_backend.c218 CTypeDescrObject *c_type; member
759 (((CDataObject *)ob)->c_type->ct_flags & CT_PRIMITIVE_FLOAT))); in CDataObject_Or_PyFloat_Check()
1005 cd->c_type = ct; in new_simple_cdata()
1020 scd->head.c_type = ct; in new_sized_cdata()
1181 (((CDataObject *)init)->c_type->ct_flags & CT_PRIMITIVE_CHAR) && in _convert_to_char()
1182 (((CDataObject *)init)->c_type->ct_size == sizeof(char))) { in _convert_to_char()
1204 (((CDataObject *)init)->c_type->ct_flags & CT_PRIMITIVE_CHAR) && in _convert_to_char16_t()
1205 (((CDataObject *)init)->c_type->ct_size == 2)) { in _convert_to_char16_t()
1228 (((CDataObject *)init)->c_type->ct_flags & CT_PRIMITIVE_CHAR) && in _convert_to_char32_t()
1229 (((CDataObject *)init)->c_type->ct_size == 4)) { in _convert_to_char32_t()
[all …]
/external/pigweed/pw_tokenizer/
Dargument_types_test_c.c30 #define CHECK_TYPE(c_type, enum_type) \ argument
31 static_assert(_PW_VARARGS_TYPE((c_type)1) == enum_type, \
32 #c_type " should map to " #enum_type)
Dargument_types_test.cc29 #define CHECK_TYPE(c_type, enum_type) \ argument
30 static_assert(_PW_VARARGS_TYPE((c_type)0) == enum_type, \
31 #c_type " should map to " #enum_type)
/external/libchrome/base/android/jni_generator/
Djni_generator.py164 def WrapCTypeForDeclaration(c_type): argument
166 if re.match(RE_SCOPED_JNI_TYPES, c_type):
167 return 'const base::android::JavaParamRef<' + c_type + '>&'
169 return c_type
182 c_type = JavaDataTypeToC(java_type)
183 if re.match(RE_SCOPED_JNI_TYPES, c_type):
184 return 'const base::android::JavaRef<' + c_type + '>&'
186 return c_type
212 c_type = _GetJNIFirstParamType(native)
214 c_type = WrapCTypeForDeclaration(c_type)
[all …]
/external/flatbuffers/tests/evolution_test/
Devolution_v1_generated.h232 Evolution::V1::Union c_type() const {
240 …return c_type() == Evolution::V1::Union::TableA ? static_cast<const Evolution::V1::TableA *>(c()) …
243 …return c_type() == Evolution::V1::Union::TableB ? static_cast<const Evolution::V1::TableB *>(c()) …
269 VerifyUnion(verifier, c(), c_type()) &&
301 void add_c_type(Evolution::V1::Union c_type) {
302 fbb_.AddElement<uint8_t>(Root::VT_C_TYPE, static_cast<uint8_t>(c_type), 0);
341 Evolution::V1::Union c_type = Evolution::V1::Union::NONE,
358 builder_.add_c_type(c_type);
367 Evolution::V1::Union c_type = Evolution::V1::Union::NONE,
381 c_type,
Devolution_v2_generated.h331 Evolution::V2::Union c_type() const {
339 …return c_type() == Evolution::V2::Union::TableA ? static_cast<const Evolution::V2::TableA *>(c()) …
342 …return c_type() == Evolution::V2::Union::TableB ? static_cast<const Evolution::V2::TableB *>(c()) …
345 …return c_type() == Evolution::V2::Union::TableC ? static_cast<const Evolution::V2::TableC *>(c()) …
376 VerifyUnion(verifier, c(), c_type()) &&
412 void add_c_type(Evolution::V2::Union c_type) {
413 fbb_.AddElement<uint8_t>(Root::VT_C_TYPE, static_cast<uint8_t>(c_type), 0);
457 Evolution::V2::Union c_type = Evolution::V2::Union::NONE,
477 builder_.add_c_type(c_type);
485 Evolution::V2::Union c_type = Evolution::V2::Union::NONE,
[all …]
/external/protobuf/php/ext/google/protobuf/
Dstorage.c62 #define CASE_TYPE(upb_type, c_type) \ in native_slot_is_default() argument
64 return DEREF(memory, c_type) == 0; \ in native_slot_is_default()
135 #define CASE_TYPE(upb_type, type, c_type, php_type) \ in native_slot_set() argument
137 c_type type##_value; \ in native_slot_set()
139 DEREF(memory, c_type) = type##_value; \ in native_slot_set()
314 #define CASE(upb_type, php_type, c_type) \ in native_slot_get() argument
317 ZVAL_##php_type(CACHED_PTR_TO_ZVAL_PTR(cache), DEREF(memory, c_type)); \ in native_slot_get()
329 #define CASE(upb_type, c_type) \ in native_slot_get() argument
333 sprintf(buffer, "%lld", DEREF(memory, c_type)); \ in native_slot_get()
338 #define CASE(upb_type, c_type) \ in native_slot_get()
[all …]
Dmap.c106 #define CASE_TYPE(upb_type, type, c_type, php_type) \ in table_key() argument
108 c_type type##_value; \ in table_key()
/external/llvm-project/lldb/source/API/
DSBTypeNameSpecifier.cpp73 lldb_private::CompilerType c_type = m_opaque_sp->GetCompilerType(); in GetType() local
74 if (c_type.IsValid()) in GetType()
75 return LLDB_RECORD_RESULT(SBType(c_type)); in GetType()
/external/mesa3d/src/intel/perf/
Dgen_perf.py334 def sizeof(c_type): argument
335 return c_type_sizes[c_type]
367 c_type = data_type
369 if "uint" in c_type:
370 c_type = c_type + "_t"
396 current_offset = pot_align(current_offset, sizeof(c_type))
403 return current_offset + sizeof(c_type)
/external/pdfium/testing/tools/
Dgold.py80 c_type = response.headers.get('Content-type', '')
82 if c_type != EXPECTED_CONTENT_TYPE:
84 (c_type, EXPECTED_CONTENT_TYPE))
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl14.c78 short c_type; member
614 flock.l_type = thiscase->c_type; in dochild()
700 flock.l_type = thiscase->c_type; in dochild()
819 if ((thiscase->c_type) == SKIP) { in run_test()
833 if (self_exec(argv0, "nddddddddd", 2, thiscase->c_type, in run_test()
952 maybe_run_child(&dochild, "nddddddddd", 2, &thiscase->c_type, in main()
1084 if (self_exec(argv0, "nddddddddd", 2, thiscase->c_type, in main()
/external/llvm-project/mlir/test/Dialect/SPIRV/
Dtarget-and-abi.mlir178 // CHECK-SAME: {a_type = i8, b_type = i8, c_type = i32,
181 // CHECK-SAME: {a_type = f16, b_type = f16, c_type = f16,
194 c_type = i32,
203 c_type = f16,
/external/tensorflow/tensorflow/c/
Dops.cc190 #define DEFINE_TF_GETATTR(func, c_type, cc_type) \ argument
192 TF_ShapeInferenceContext* ctx, const char* attr_name, c_type* val, \
200 *val = static_cast<c_type>(v); \
Dkernels.cc351 #define DEFINE_TF_GETATTR(func, c_type, cc_type, attr_type, list_field) \ argument
354 c_type* val, TF_Status* status) { \
361 *val = static_cast<c_type>(v); \
365 TF_OpKernelConstruction* ctx, const char* attr_name, c_type* vals, \
380 vals[i] = static_cast<c_type>(attr->list().list_field(i)); \
Dc_api.cc1383 #define DEFINE_GETATTR(func, c_type, cpp_type, list_field) \ argument
1384 void func(TF_Operation* oper, const char* attr_name, c_type* value, \
1390 *value = static_cast<c_type>(v); \
1392 void func##List(TF_Operation* oper, const char* attr_name, c_type* values, \
1403 values[i] = static_cast<c_type>(attr->list().list_field(i)); \
/external/bcc/tools/
Dtrace.py324 c_type = {"u": "unsigned int", "d": "int", variable in Probe
332 fmt_types = c_type.keys()
339 return "%s v%d;\n" % (Probe.c_type[field_type], idx)
403 (idx, Probe.c_type[field_type], expr)
/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py27 def __init__(self, c_type, union_field, glsl_type): argument
28 self.c_type = c_type
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DTargetAndABI.td49 StructFieldAttr<"c_type", TypeAttr>,
/external/mesa3d/src/mapi/
Dmapi_abi.py115 c_type = m.group('type').strip()
120 return (c_type, c_name, c_array)
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DMethodGen.java196 ObjectType c_type = null; in MethodGen() local
200 c_type = ObjectType.getInstance(cen); in MethodGen()
212 .getHandlerPC()), c_type); in MethodGen() local
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_blas.cc3262 scale_type_ = GetScaleType(p.c_type, p.computation_type); in DoBlasInternalImpl()
3266 p.computation_type, GetScaleType(p.c_type, p.computation_type), in DoBlasInternalImpl()
3279 c_desc_, CreateCublasLtLayoutDesc(p.c_type, p.m, p.n, p.ldc, p.stride_c, in DoBlasInternalImpl()
3282 d_desc_, CreateCublasLtLayoutDesc(p.c_type, p.m, p.n, p.ldc, p.stride_c, in DoBlasInternalImpl()
3297 CreateCublasLtLayoutDesc(p.c_type, p.m, p.n, p.ldc, p.stride_c, in DoBlasInternalImpl()
3301 CreateCublasLtLayoutDesc(p.c_type, p.m, p.n, p.ldc, p.stride_c, in DoBlasInternalImpl()
3328 blas::DataType c_type() const override { return params_.c_type; } in DoBlasInternalImpl() function in stream_executor::gpu::__anone9de0a230311::CUDABlasLtMatmulPlan
3431 cuda_plan.params().c_type))); in DoBlasInternalImpl()
3437 cuda_plan.params().c_type))); in DoBlasInternalImpl()
3539 << cuda_plan.c_type() << ", got alpha=" << alpha.data_type() in DoBlasInternalImpl()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_algebraic.py162 def c_type(self): member in Value
225 return "static const {} {} = {}\n".format(self.c_type, self.name,
/external/llvm-project/polly/lib/External/isl/
Disl_ast_build_expr.c734 enum isl_dim_type c_type[2] = { isl_dim_param, isl_dim_set }; in check_parallel_or_opposite() enum
741 n[t] = isl_constraint_dim(c, c_type[t]); in check_parallel_or_opposite()
747 a = isl_constraint_involves_dims(c, c_type[t], i, 1); in check_parallel_or_opposite()
770 c_type[t], i); in check_parallel_or_opposite()
/external/python/cffi/testing/cffi1/
Dtest_new_ffi_1.py102 for (c_type, size) in [('char', 1),
115 True: 'unsigned '}[unsigned] + c_type
586 for c_type, expected_size in [
594 size = ffi.sizeof(c_type)

12