Searched refs:field (Results 1 - 25 of 42) sorted by relevance

12

/system/core/healthd/
H A Dhealthd_draw.cpp97 void HealthdDraw::determine_xy(const animation::text_field& field, argument
99 *x = field.pos_x;
101 int str_len_px = length * field.font->char_width;
102 if (field.pos_x == CENTER_VAL) {
104 } else if (field.pos_x >= 0) {
105 *x = field.pos_x;
107 *x = screen_width_ + field.pos_x - str_len_px - kSplitOffset;
110 *y = field.pos_y;
112 if (field.pos_y == CENTER_VAL) {
113 *y = (screen_height_ - field
125 const animation::text_field& field = anim->text_clock; local
158 const animation::text_field& field = anim->text_percent; local
[all...]
H A DAnimationParser.h28 bool parse_text_field(const char* in, animation::text_field* field);
H A DAnimationParser.cpp54 bool parse_text_field(const char* in, animation::text_field* field) { argument
55 int* x = &field->pos_x;
56 int* y = &field->pos_y;
57 int* r = &field->color_r;
58 int* g = &field->color_g;
59 int* b = &field->color_b;
60 int* a = &field->color_a;
77 field->font_file.assign(&in[start], end - start);
H A Dhealthd_draw.h49 virtual void determine_xy(const animation::text_field& field,
/system/tools/hidl/
H A DCompoundType.cpp38 for (const auto &field : *fields) {
39 const Type &type = field->type();
74 for (const auto &field : *mFields) {
75 if (!field->type().canCheckEquality()) {
361 for (const auto &field : *mFields) {
362 out << field->type().getCppStackType()
364 << field->name()
376 for (const auto &field : *mFields) {
378 field->type().getAlignmentAndSize(&fieldAlign, &fieldSize);
386 out << field
[all...]
/system/extras/simpleperf/
H A Dtracing.h51 const TracingField& field = GetField(name); local
52 place.offset = field.offset;
53 place.size = field.elem_size;
58 for (const auto& field : fields) {
59 if (field.name == name) {
60 return field;
63 LOG(FATAL) << "Couldn't find field " << name << "in TracingFormat of "
H A Dtracing.cpp283 // Parse lines like: field:char comm[16]; offset:8; size:16; signed:1;
285 TracingField field; local
297 if (name == "field") {
300 field.name = value;
301 field.elem_count = 1;
303 field.name = value.substr(0, pos);
304 field.elem_count =
308 field.offset =
312 CHECK_EQ(size % field.elem_count, 0u);
313 field
348 TracingField field = ParseTracingField(s); local
[all...]
/system/core/libmetricslogger/
H A Dmetrics_logger.cpp41 void LogMultiAction(int32_t category, int32_t field, const std::string& value) { argument
44 << field << value << LOG_ID_EVENTS;
/system/extras/alloc-stress/
H A DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare
/system/extras/memcpy-perf/
H A DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
/system/extras/zram-perf/
H A DAndroid.mk6 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter
/system/core/gatekeeperd/tests/
H A DAndroid.mk22 LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers
/system/core/libmetricslogger/include/metricslogger/
H A Dmetrics_logger.h32 // |value| in the field |field|.
33 void LogMultiAction(int32_t category, int32_t field, const std::string& value);
/system/extras/mmap-perf/
H A DAndroid.mk27 LOCAL_CFLAGS += -g -Wall -Werror -Wno-missing-field-initializers -Wno-sign-compare -O3
/system/gatekeeper/tests/
H A DAndroid.mk22 LOCAL_CFLAGS += -g -Wall -Werror -std=gnu++11 -Wno-missing-field-initializers
/system/extras/showmap/
H A Dshowmap.cpp92 char field[64]; local
95 if (sscanf(line, "%63s %n", field, &len) == 1
96 && *field && field[strlen(field) - 1] == ':') {
99 if (!strcmp(field, "Size:")) {
101 } else if (!strcmp(field, "Rss:")) {
103 } else if (!strcmp(field, "Pss:")) {
105 } else if (!strcmp(field, "Shared_Clean:")) {
107 } else if (!strcmp(field, "Shared_Dirt
[all...]
/system/core/init/test_service/
H A Dtest_service.cpp26 printf("Usage: %s <status field> <value> [<status field> <value>]*\n", argv[0]);
33 LOG(FATAL) << "no status field requested";
53 std::string field = tokens[0]; local
55 if (field.length() > 0) {
56 fields[field] = value;
68 LOG(ERROR) << "field '" << argv[i] << "' expected '" << expected_value
73 LOG(WARNING) << "could not find field '" << argv[i] << "'";
/system/extras/boot_control_copy/
H A DAndroid.mk7 LOCAL_CFLAGS := -Wall -Wno-missing-field-initializers -Wno-unused-parameter
/system/extras/iotop/
H A Diotop.cpp56 static Sorter GetSorter(const std::string& field) { argument
58 static auto comparator = [](auto& lhs, auto& rhs, auto field, bool ascending) -> bool {
59 auto a = (lhs.*field)();
60 auto b = (rhs.*field)();
62 // Sort by selected field
70 auto make_sorter = [](auto field, bool ascending) {
71 // Make closure for comparator on a specific field
73 auto bound_comparator = std::bind(comparator, _1, _2, field, ascending);
93 auto it = sorters.find(field);
/system/tpm/attestation/common/
H A Dproto_print.py42 # Holds information about a protobuf message field.
45 # repeated: Whether the field is a repeated field.
46 # type_: The type of the field. E.g. int32.
47 # name: The name of the field.
69 """Adds a new field to the message.
73 field_type: The type of the field. E.g. int32.
74 field_name: The name of the field.
151 # Look for a message field definition.
376 for field i
[all...]
/system/core/libunwindstack/include/unwindstack/
H A DMemory.h38 inline bool ReadField(uint64_t addr, void* start, void* field, size_t size) { argument
39 if (reinterpret_cast<uintptr_t>(field) < reinterpret_cast<uintptr_t>(start)) {
42 uint64_t offset = reinterpret_cast<uintptr_t>(field) - reinterpret_cast<uintptr_t>(start);
47 return Read(offset, field, size);
/system/update_engine/payload_generator/
H A Dgraph_utils.cc105 void DumpExtents(const T& field, int prepend_space_count) { argument
107 for (int i = 0, e = field.size(); i != e; ++i) {
108 LOG(INFO) << header << "(" << GetElement(field, i).start_block() << ", "
109 << GetElement(field, i).num_blocks() << ")";
/system/tpm/trunks/generator/
H A Dgenerator.py415 field types. See AddDependency() for more details.
630 """Adds a field for this struct.
633 field_type: The type of the field.
634 field_name: The name of the field.
642 field types, which are implicit dependencies. For example, a field like
660 """Creates a set which holds all current field types.
663 A set of field types.
665 return set([field[0] for field i
[all...]
/system/chre/external/flatbuffers/include/flatbuffers/
H A Dflatbuffers.h372 // Vector::data() assumes the vector elements start after the length field.
499 // of wether it is null or not (the field is not set).
839 void TrackField(voffset_t field, uoffset_t off) {
840 FieldLoc fl = { off, field };
844 // Like PushElement, but additionally tracks the field this represents.
845 template<typename T> void AddElement(voffset_t field, T e, T def) {
849 TrackField(field, off);
852 template<typename T> void AddOffset(voffset_t field, Offset<T> off) {
854 AddElement(field, ReferTo(off.o), static_cast<uoffset_t>(0));
857 template<typename T> void AddStruct(voffset_t field, cons
1692 GetField(voffset_t field, T defaultval) const argument
1697 GetPointer(voffset_t field) argument
1714 SetField(voffset_t field, T val) argument
1721 SetPointer(voffset_t field, const uint8_t *val) argument
1729 GetAddressOf(voffset_t field) argument
1850 IsFieldPresent(const T *table, voffset_t field) argument
[all...]
/system/extras/librank/
H A Dlibrank.c57 #define declare_sort(field) \
58 static int sort_by_ ## field (const void *a, const void *b)
478 #define create_sort(field, compfn) \
479 static int sort_by_ ## field (const void *a, const void *b) { \
481 (*((struct mapping_info**)a))->usage.field, \
482 (*((struct mapping_info**)b))->usage.field \

Completed in 429 milliseconds

12