Home
last modified time | relevance | path

Searched refs:field_name (Results 1 – 4 of 4) 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/
Dcore_jni_helpers.h33 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie() argument
35 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie()
36 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetFieldIDOrDie()
47 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie() argument
49 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie()
50 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetStaticFieldIDOrDie()
Dandroid_hardware_camera2_CameraMetadata.cpp588 const char *field_name; member
603 jfieldID field = env->GetFieldID(clazz, f->field_name, f->field_type); in find_fields()
605 ALOGE("Can't find %s.%s", f->class_name, f->field_name); in find_fields()
Dandroid_hardware_Camera.cpp1083 const char *field_name; member
1093 jfieldID field = GetFieldIDOrDie(env, clazz, f->field_name, f->field_type); in find_fields()