Home
last modified time | relevance | path

Searched refs:o (Results 1 – 25 of 150) sorted by relevance

123456

/system/libvintf/
Dparse_xml_for_test.h23 std::string toXml(const Version& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
24 std::string toXml(const KernelConfigTypedValue& o,
26 std::string toXml(const ManifestHal& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
27 std::string toXml(const MatrixHal& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
29 [[nodiscard]] bool fromXml(Version* o, const std::string& xml, std::string* error = nullptr);
30 [[nodiscard]] bool fromXml(KernelConfigTypedValue* o, const std::string& xml,
32 [[nodiscard]] bool fromXml(MatrixHal* o, const std::string& xml, std::string* error = nullptr);
33 [[nodiscard]] bool fromXml(ManifestHal* o, const std::string& xml, std::string* error = nullptr);
Dparse_xml_internal.h21 std::string toXml(const KernelInfo& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
22 [[nodiscard]] bool fromXml(KernelInfo* o, const std::string& xml, std::string* error = nullptr);
/system/teeui/test/
Dteeui_test.cpp121 constexpr ConvexObject<10> o{{.0, .0}, {1.0, .0}, {1.0, 1.0}, {.0, 1.0}}; in TEST() local
122 ASSERT_EQ(size_t(4), o.size()); in TEST()
126 constexpr ConvexObject<10> o{{.0, .0}, {1.0, .0}, {1.0, 1.0}, {.0, 1.0}}; in TEST() local
127 ASSERT_EQ(size_t(4), o.size()); in TEST()
130 auto o2 = o.intersect<10>({.0, .0}, {1.0, 1.0}); in TEST()
136 o2 = o.intersect<10>({1.0, 1.0}, {.0, .0}); in TEST()
142 o2 = o.intersect<10>({.0, 2.0}, {2.0, .0}); in TEST()
146 o2 = o.intersect<10>({2.0, .0}, {.0, 2.0}); in TEST()
152 o2 = o.intersect<10>({-1.0, .0}, {1.0, 2.0}); in TEST()
156 o2 = o.intersect<10>({1.0, 2.0}, {-1.0, .0}); in TEST()
[all …]
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DStagedDistroOperation.java47 public boolean equals(Object o) { in equals() argument
48 if (this == o) { in equals()
51 if (o == null || getClass() != o.getClass()) { in equals()
55 StagedDistroOperation that = (StagedDistroOperation) o; in equals()
DDistroVersion.java112 public boolean equals(Object o) { in equals() argument
113 if (this == o) { in equals()
116 if (o == null || getClass() != o.getClass()) { in equals()
120 DistroVersion that = (DistroVersion) o; in equals()
/system/core/libutils/include/utils/
DRefBase.h233 inline bool operator _op_ (const U* o) const { \
234 return m_ptr _op_ o; \
237 inline bool operator _op_ (const T* o) const { \
238 return m_ptr _op_ o; \
250 inline bool operator _op_ (const U* o) const { \
251 return _wp_compare_<_compare_>(m_ptr, o); \
381 RefBase(const RefBase& o);
382 RefBase& operator=(const RefBase& o);
468 inline bool operator == (const wp<U>& o) const {
469 return m_refs == o.m_refs; // Implies m_ptr == o.mptr; see invariants below.
[all …]
DString8.h44 String8(const String8& o);
45 explicit String8(const char* o);
46 explicit String8(const char* o, size_t numChars);
48 explicit String8(const String16& o);
49 explicit String8(const char16_t* o);
50 explicit String8(const char16_t* o, size_t numChars);
51 explicit String8(const char32_t* o);
52 explicit String8(const char32_t* o, size_t numChars);
/system/tools/aidl/
Daidl_const_expressions.cpp63 T operator+(T o) { in operator +() argument
65 mOverflowed = __builtin_add_overflow(mValue, o, &out); in operator +()
68 T operator-(T o) { in operator -() argument
70 mOverflowed = __builtin_sub_overflow(mValue, o, &out); in operator -()
73 T operator*(T o) { in operator *() argument
81 out = mValue * o; in operator *()
83 mOverflowed = __builtin_mul_overflow(mValue, o, &out); in operator *()
87 T operator/(T o) { in operator /() argument
88 if (o == 0 || (isMin() && o == -1)) { in operator /()
92 return mValue / o; in operator /()
[all …]
/system/libvintf/include/vintf/
Dparse_xml.h27 std::string toXml(const HalManifest& o, SerializeFlags::Type flags = SerializeFlags::EVERYTHING);
28 std::string toXml(const CompatibilityMatrix& o,
30 [[nodiscard]] bool fromXml(HalManifest* o, const std::string& xml, std::string* error = nullptr);
31 [[nodiscard]] bool fromXml(CompatibilityMatrix* o, const std::string& xml,
/system/security/keystore/tests/
DMakefile69 GTEST_OBJS = $(GTEST)/src/gtest-all.o gtest_main.o
71 auth_token_table_test: auth_token_table_test.o \
72 ../auth_token_table.o \
74 $(KEYMASTER)/authorization_set.o \
75 $(KEYMASTER)/keymaster_tags.o \
76 $(KEYMASTER)/logger.o \
77 $(KEYMASTER)/serializable.o
113 OBJS=$(CPPSRCS:.cpp=.o)
/system/core/libutils/
DString16.cpp93 String16::String16(const String16& o) in String16() argument
94 : mString(o.mString) in String16()
99 String16::String16(const String16& o, size_t len, size_t begin) in String16() argument
102 setTo(o, len, begin); in String16()
105 String16::String16(const char16_t* o) : mString(allocFromUTF16(o, strlen16(o))) {} in String16() argument
107 String16::String16(const char16_t* o, size_t len) : mString(allocFromUTF16(o, len)) {} in String16() argument
109 String16::String16(const String8& o) in String16() argument
110 : mString(allocFromUTF8(o.string(), o.size())) in String16()
114 String16::String16(const char* o) in String16() argument
115 : mString(allocFromUTF8(o, strlen(o))) in String16()
[all …]
DString8.cpp130 String8::String8(const String8& o) in String8() argument
131 : mString(o.mString) in String8()
136 String8::String8(const char* o) in String8() argument
137 : mString(allocFromUTF8(o, strlen(o))) in String8()
144 String8::String8(const char* o, size_t len) in String8() argument
145 : mString(allocFromUTF8(o, len)) in String8()
152 String8::String8(const String16& o) in String8() argument
153 : mString(allocFromUTF16(o.string(), o.size())) in String8()
157 String8::String8(const char16_t* o) in String8() argument
158 : mString(allocFromUTF16(o, strlen16(o))) in String8()
[all …]
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DZoneOffsetPeriod.java137 public boolean equals(Object o) { in equals() argument
138 if (this == o) { in equals()
141 if (o == null || getClass() != o.getClass()) { in equals()
144 ZoneOffsetPeriod that = (ZoneOffsetPeriod) o; in equals()
180 public boolean equals(Object o) { in equals() argument
181 if (this == o) { in equals()
184 if (o == null || getClass() != o.getClass()) { in equals()
187 ZonePeriodsKey zoneKey = (ZonePeriodsKey) o; in equals()
/system/extras/tests/workloads/
Dpowerave.py17 for o,a in parsedargv:
18 if o == '-o': offset = float(a)
19 if o == '-h' or o == '--help': usage()
/system/libhwbinder/include/hwbinder/
DBinder.h85 BHwBinder(const BHwBinder& o);
86 BHwBinder& operator=(const BHwBinder& o);
101 explicit BpHwRefBase(const sp<IBinder>& o);
111 BpHwRefBase(const BpHwRefBase& o);
112 BpHwRefBase& operator=(const BpHwRefBase& o);
/system/tools/aidl/tests/java/src/android/aidl/tests/
DSimpleParcelable.java49 public boolean equals(Object o) { in equals() argument
50 if (o == null) { in equals()
53 if (!(o instanceof SimpleParcelable)) { in equals()
56 SimpleParcelable p = (SimpleParcelable)o; in equals()
/system/chre/build/
Dbuild_template.mk58 $$(1)_CC_OBJS = $$(patsubst %.cc, $(OUT)/$$($$(1)_OBJS_DIR)/%.o, \
60 $$(1)_CPP_OBJS = $$(patsubst %.cpp, $(OUT)/$$($$(1)_OBJS_DIR)/%.o, \
62 $$(1)_C_OBJS = $$(patsubst %.c, $(OUT)/$$($$(1)_OBJS_DIR)/%.o, \
64 $$(1)_S_OBJS = $$(patsubst %.S, $(OUT)/$$($$(1)_OBJS_DIR)/%.o, \
184 $$($$(1)_CPP_OBJS): $(OUT)/$$($$(1)_OBJS_DIR)/%.o: %.cpp $(MAKEFILE_LIST)
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DZoneTabFile.java94 public boolean equals(Object o) { in equals() argument
95 if (this == o) { in equals()
98 if (o == null || getClass() != o.getClass()) { in equals()
102 CountryEntry that = (CountryEntry) o; in equals()
/system/bt/build/toolchain/gcc/
DBUILD.gn22 …-MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
26 "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o",
32 …MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}} -o {{output}}"
36 "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o",
58 "$cxx -shared {{ldflags}} -o $soname -Wl,-soname=$soname @$rspfile"
80 …command = "$cxx {{ldflags}} -o $outfile -Wl,--start-group @$rspfile {{solibs}} -Wl,--end-group {{l…
/system/bt/build/toolchain/clang/
DBUILD.gn41 …-MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_c}} -c {{source}} -o {{output}}"
45 "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o",
51 …MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}} -c {{source}} -o {{output}}"
55 "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.o",
77 "$clangxx -shared {{ldflags}} -o $soname -Wl,-soname=$soname @$rspfile"
99 …command = "$clangxx {{ldflags}} -o $outfile -Wl,--start-group @$rspfile {{solibs}} -Wl,--end-group…
/system/tools/hidl/test/cpp_impl_test/
DAndroid.bp19 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-headers android.hardware.tests.foo@1.0 && " +
20 "$(location hidl-gen) -o $(genDir) -r hidl.tests:system/tools/hidl/test/ " +
41 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-impl-sources android.hardware.tests.foo@1.0 && " +
42 "$(location hidl-gen) -o $(genDir) -r hidl.tests:system/tools/hidl/test/ " +
/system/core/libsparse/
Dsimg_dump.py53 for o, a in opts:
54 if o in ("-v", "--verbose"):
56 elif o in ("-s", "--showhash"):
58 elif o in ("-c", "--csvfile"):
61 print("Unrecognized option \"%s\"" % (o))
/system/core/fastboot/
Dvendor_boot_img_utils.cpp214 const uint32_t o = round_up(*hdr_size, hdr->page_size); in replace_default_vendor_ramdisk() local
221 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_default_vendor_ramdisk()
241 if (auto res = updater.CheckOffset(o + p, o + new_p); !res.ok()) return res.error(); in replace_default_vendor_ramdisk()
255 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + new_r); !res.ok()) in replace_default_vendor_ramdisk()
308 const uint32_t o = round_up(*hdr_size, hdr->page_size); in replace_vendor_ramdisk_fragment() local
320 reinterpret_cast<const vendor_ramdisk_table_entry_v4*>(vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment()
331 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment()
337 vendor_boot.data() + o + p + q); in replace_vendor_ramdisk_fragment()
359 if (auto res = updater.CheckOffset(o + p, o + new_p); !res.ok()) return res.error(); in replace_vendor_ramdisk_fragment()
385 if (auto res = updater.CheckOffset(o + p + q + r, o + new_p + q + r); !res.ok()) in replace_vendor_ramdisk_fragment()
/system/chre/platform/shared/include/chre/platform/shared/generated/
Dhost_messages_generated.h433 auto o = flatbuffers::Offset<NanoappMessage>(end);
434 fbb_.Required(o, NanoappMessage::VT_MESSAGE);
435 return o;
495 auto o = flatbuffers::Offset<HubInfoRequest>(end);
496 return o;
636 auto o = flatbuffers::Offset<HubInfoResponse>(end);
637 return o;
723 auto o = flatbuffers::Offset<NanoappListRequest>(end);
724 return o;
801 auto o = flatbuffers::Offset<NanoappListEntry>(end);
[all …]
/system/chre/build/sys_support/qcom/
Duimage.lcs.toolv80113 KEEP (*crtbegin.o(.ctors))
114 KEEP (*crtbegin?.o(.ctors))
115 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o fini.o) .ctors))
121 KEEP (*crtbegin.o(.dtors))
122 KEEP (*crtbegin?.o(.dtors))
123 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o fini.o) .dtors))

123456