Home
last modified time | relevance | path

Searched refs:c_type (Results 1 – 25 of 26) 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 …]
Dlib_obj.c697 (((CDataObject *)x)->c_type->ct_flags & CT_FUNCTIONPTR) != 0) { in address_of_global_var()
Dffi_obj.c227 return ((CDataObject *)arg)->c_type; in _ffi_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/webrtc/webrtc/base/
Dflags.h156 #define DEFINE_FLAG(type, c_type, name, default, comment) \ argument
158 c_type FLAG_##name = (default); \
166 #define DECLARE_FLAG(c_type, name) \ argument
168 extern c_type FLAG_##name
/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/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/tensorflow/tensorflow/c/
Dkernels.cc220 #define DEFINE_TF_GETATTR(func, c_type, cc_type) \ argument
223 c_type* val, TF_Status* status) { \
230 *val = static_cast<c_type>(v); \
Dops.cc184 #define DEFINE_TF_GETATTR(func, c_type, cc_type) \ argument
186 TF_ShapeInferenceContext* ctx, const char* attr_name, c_type* val, \
194 *val = static_cast<c_type>(v); \
Dc_api.cc1381 #define DEFINE_GETATTR(func, c_type, cpp_type, list_field) \ argument
1382 void func(TF_Operation* oper, const char* attr_name, c_type* value, \
1387 *value = static_cast<c_type>(v); \
1389 void func##List(TF_Operation* oper, const char* attr_name, c_type* values, \
1400 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/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/mesa3d/src/mapi/
Dmapi_abi.py115 c_type = m.group('type').strip()
120 return (c_type, c_name, c_array)
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp1481 const uint32_t c_type = _.GetOperandTypeId(inst, 6); in ValidateExtInst() local
1495 if (!_.IsIntScalarOrVectorType(c_type)) { in ValidateExtInst()
1501 if (num_components != _.GetDimension(c_type)) { in ValidateExtInst()
1508 if (_.GetBitWidth(result_type) != _.GetBitWidth(c_type)) { in ValidateExtInst()
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_extensions.cpp1619 const uint32_t c_type = _.GetOperandTypeId(inst, 6); in ValidateExtInst() local
1633 if (!_.IsIntScalarOrVectorType(c_type)) { in ValidateExtInst()
1639 if (num_components != _.GetDimension(c_type)) { in ValidateExtInst()
1646 if (_.GetBitWidth(result_type) != _.GetBitWidth(c_type)) { in ValidateExtInst()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp1619 const uint32_t c_type = _.GetOperandTypeId(inst, 6); in ValidateExtInst() local
1633 if (!_.IsIntScalarOrVectorType(c_type)) { in ValidateExtInst()
1639 if (num_components != _.GetDimension(c_type)) { in ValidateExtInst()
1646 if (_.GetBitWidth(result_type) != _.GetBitWidth(c_type)) { in ValidateExtInst()
/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,
Dnir.h3974 #define NIR_SRC_AS_(name, c_type, type_enum, cast_macro) \ argument
3975 static inline c_type * \
/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)
/external/python/cffi/testing/cffi0/
Dbackend_tests.py22 for (c_type, size) in [('char', 1),
35 True: 'unsigned '}[unsigned] + c_type
548 for c_type, expected_size in [
556 size = ffi.sizeof(c_type)
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc372 #define PARSE_LIST(c_type, parse_fn) \ in SetOpAttrList() argument
373 std::unique_ptr<c_type[]> values(new c_type[num_values]); \ in SetOpAttrList()

12