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_Camera.cpp1109 const char *field_name; member
1119 jfieldID field = GetFieldIDOrDie(env, clazz, f->field_name, f->field_type); in find_fields()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp212 std::string field_name; member
254 styleable_attr.field_name = in ProcessStyleable()
302 styleable_comment << "<tr><td><code>{@link #" << entry.field_name << " " in ProcessStyleable()
320 styleable_comment << "@see #" << entry.field_name << "\n"; in ProcessStyleable()
376 sorted_attributes[i].field_name, static_cast<uint32_t>(i)); in ProcessStyleable()
400 *out_r_txt << StringPrintf("int styleable %s %d\n", sorted_attributes[i].field_name.data(), in ProcessStyleable()
432 const std::string field_name = TransformToFieldName(name.entry); in ProcessResource() local
434 util::make_unique<ResourceMember>(field_name, real_id); in ProcessResource()
460 *out_r_txt << "int " << name.type << " " << field_name << " " << real_id << "\n"; in ProcessResource()
466 type_str.data(), field_name.data(), in ProcessResource()
[all …]