Home
last modified time | relevance | path

Searched refs:field_name (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/common_time/
Dcommon_time_server_packets.cpp40 #define SERIALIZE_FIELD(field_name, type, converter) \ argument
42 if ((offset + sizeof(field_name)) > length) \
44 *((type*)(data + offset)) = converter(field_name); \
45 offset += sizeof(field_name); \
47 #define SERIALIZE_INT16(field_name) SERIALIZE_FIELD(field_name, int16_t, htons) argument
48 #define SERIALIZE_INT32(field_name) SERIALIZE_FIELD(field_name, int32_t, htonl) argument
49 #define SERIALIZE_INT64(field_name) SERIALIZE_FIELD(field_name, int64_t, htonq) argument
51 #define DESERIALIZE_FIELD(field_name, type, converter) \ argument
53 if ((offset + sizeof(field_name)) > length) \
55 field_name = converter(*((type*)(data + offset))); \
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp569 const char *field_name; member
584 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); in find_fields()
586 ALOGE("Can't find %s.%s", f->class_name, f->field_name); in find_fields()
Dandroid_hardware_Camera.cpp1029 const char *field_name; member
1044 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); in find_fields()
1046 ALOGE("Can't find %s.%s", f->class_name, f->field_name); in find_fields()