Searched refs:field_name (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/common_time/ |
D | common_time_server_packets.cpp | 40 #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/ |
D | core_jni_helpers.h | 33 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()
|
D | android_hardware_camera2_CameraMetadata.cpp | 588 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()
|
D | android_hardware_Camera.cpp | 1083 const char *field_name; member 1093 jfieldID field = GetFieldIDOrDie(env, clazz, f->field_name, f->field_type); in find_fields()
|