Home
last modified time | relevance | path

Searched refs:setTo (Results 1 – 25 of 36) sorted by relevance

12

/system/tools/hidl/test/utils_test/
Dmain.cpp77 ASSERT_TRUE(e.setTo(testString)) << testString; in TEST()
84 ASSERT_TRUE(e.setTo("IFoo")); in TEST()
87 ASSERT_TRUE(e.setTo("foo.IFoo")); in TEST()
89 ASSERT_TRUE(e.setTo("@1.0::IFoo")); in TEST()
96 EXPECT_FALSE(e.setTo(testString)) << testString; in TEST()
102 ASSERT_TRUE(e.setTo("android.hardware.foo@1.0::IFoo/instance")); in TEST()
118 ASSERT_TRUE(e.setTo("@1.0::IFoo/instance")); in TEST()
131 ASSERT_TRUE(e.setTo("IFoo/instance")); in TEST()
144 ASSERT_TRUE(e.setTo(testString)) << testString; in TEST()
153 EXPECT_FALSE(e.setTo(testString)) << testString; in TEST()
[all …]
Dfuzzer.cpp23 (void)fqName.setTo(std::string((const char*)data, size)); in LLVMFuzzerTestOneInput()
/system/tools/hidl/utils/
DFqInstance.cpp94 bool FqInstance::setTo(const std::string& s) { in setTo() function in android::FqInstance
96 if (!mFqName.setTo(s.substr(0, pos))) return false; in setTo()
102 bool FqInstance::setTo(const FQName& fqName, const std::string& instance) { in setTo() function in android::FqInstance
108 bool FqInstance::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() function in android::FqInstance
110 if (!mFqName.setTo(package, majorVer, minorVer, interface)) return false; in setTo()
115 bool FqInstance::setTo(size_t majorVer, size_t minorVer, const std::string& interface, in setTo() function in android::FqInstance
117 return setTo("", majorVer, minorVer, interface, instance); in setTo()
120 bool FqInstance::setTo(const std::string& interface, const std::string& instance) { in setTo() function in android::FqInstance
121 return setTo(0u, 0u, interface, instance); in setTo()
DFQName.cpp30 return into->setTo(s); in parse()
37 CHECK(setTo(package, majorVer, minorVer, name, valueName)) << string(); in FQName()
40 bool FQName::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() function in android::FQName
120 bool FQName::setTo(const std::string &s) { in setTo() function in android::FQName
/system/tools/hidl/utils/include/hidl-util/
DFqInstance.h73 __attribute__((warn_unused_result)) bool setTo(const std::string& s);
76 __attribute__((warn_unused_result)) bool setTo(const FQName& fqName,
83 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer,
90 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer,
95 __attribute__((warn_unused_result)) bool setTo(const std::string& interface,
DFQName.h39 __attribute__((warn_unused_result)) bool setTo(const std::string& s);
40 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer,
/system/core/libutils/
DString16.cpp102 setTo(o, len, begin); in String16()
138 void String16::setTo(const String16& other) in setTo() function in android::String16
145 status_t String16::setTo(const String16& other, size_t len, size_t begin) in setTo() function in android::String16
155 setTo(other); in setTo()
163 return setTo(other.string()+begin, len); in setTo()
166 status_t String16::setTo(const char16_t* other) in setTo() function in android::String16
168 return setTo(other, strlen16(other)); in setTo()
171 status_t String16::setTo(const char16_t* other, size_t len) in setTo() function in android::String16
194 setTo(other); in append()
220 setTo(chrs, otherLen); in append()
[all …]
DString8.cpp208 void String8::setTo(const String8& other) in setTo() function in android::String8
215 status_t String8::setTo(const char* other) in setTo() function in android::String8
226 status_t String8::setTo(const char* other, size_t len) in setTo() function in android::String8
237 status_t String8::setTo(const char16_t* other, size_t len) in setTo() function in android::String8
248 status_t String8::setTo(const char32_t* other, size_t len) in setTo() function in android::String8
263 setTo(other); in append()
280 return setTo(other, otherLen); in append()
DString16_test.cpp72 TEST(String16Test, setTo) { in TEST() argument
74 tmp.setTo(u"New content"); in TEST()
149 tmp.setTo(u"New content"); in TEST()
DString8_test.cpp78 EXPECT_EQ(NO_MEMORY, String8("").setTo(in, SIZE_MAX)); in TEST_F()
/system/core/libutils/include/utils/
DString8.h75 void setTo(const String8& other);
76 status_t setTo(const char* other);
77 status_t setTo(const char* other, size_t numChars);
78 status_t setTo(const char16_t* other, size_t numChars);
79 status_t setTo(const char32_t* other,
294 setTo(other);
300 setTo(other);
DString16.h61 void setTo(const String16& other);
62 status_t setTo(const char16_t* other);
63 status_t setTo(const char16_t* other, size_t len);
64 status_t setTo(const String16& other,
255 setTo(other);
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.h212 void setTo(int r, int f=0) {
225 void setTo(int r, int sz=32, int f=0) {
226 reg_t::setTo(r, f); s=sz;
239 void setTo(int r, const GGLFormat* fmt, int f=0) {
240 reg_t::setTo(r, f); format = *fmt;
264 setTo( rhs.reg, in component_t()
269 void setTo(int r, int lo=0, int hi=0, int f=0) {
270 reg_t::setTo(r, f); h=hi; l=lo;
283 void setTo(int r, int s, int f=0) {
284 reg_t::setTo(r, f); size=s;
DGGLAssembler.cpp242 mDstPixel.setTo(regs.obtain(), &mCbFormat); in scanline_core()
271 pixel.setTo(regs.obtain(), &mCbFormat, FIRST); in scanline_core()
357 parts.count.setTo(obtainReg()); in build_scanline_prolog()
391 parts.cbPtr.setTo(obtainReg(), cb_bits); in build_scanline_prolog()
445 parts.covPtr.setTo(obtainReg(), 16); in build_scanline_prolog()
570 mAlphaSource.setTo(fragment.reg, in build_incoming_component()
579 mAlphaSource.setTo(regs.obtain(), in build_incoming_component()
Dblending.cpp124 fb.setTo(scratches.obtain(), 32); in build_blending()
316 factor.setTo(fragment.reg, 32, CORRUPTIBLE); in build_blend_factor()
319 factor.setTo(fb.reg, 32, CORRUPTIBLE); in build_blend_factor()
322 factor.setTo(scratches.obtain(), 32, CORRUPTIBLE); in build_blend_factor()
Dtexturing.cpp131 parts.iterated.setTo(obtainReg(), in init_iterated_color()
137 parts.iterated.setTo(obtainReg(), &mCbFormat); in init_iterated_color()
183 fragment.setTo( regs.obtain(), 0, 32, CORRUPTIBLE); in build_iterated_color()
346 txPtr.setTo(obtainReg(), tmu.bits); in init_textures()
364 s.setTo(obtainReg()); in init_textures()
365 t.setTo(obtainReg()); in init_textures()
443 texel.setTo(regs.obtain(), &tmu.format); in build_textures()
614 texel.setTo(regs.obtain(), &tmu.format); in build_textures()
615 txPtr.setTo(texel.reg, tmu.bits); in build_textures()
/system/libvintf/
DManifestInstance.cpp97 success = e.setTo(interface(), instance()); in getSimpleFqInstance()
102 success = e.setTo(version().majorVer, version().minorVer, interface(), instance()); in getSimpleFqInstance()
DManifestHal.cpp74 if (fqInstance.setTo(getName(), v.majorVer, v.minorVer, interface, instance)) { in forEachInstance()
164 if (!toAdd.setTo(this->getName(), e.getMajorVersion(), minorVer, e.getInterface(), in insertInstance()
DMatrixHal.cpp62 if (fqInstance.setTo(getName(), vr.majorVer, vr.minMinor, interface, instance)) { in forEachInstance()
/system/core/init/
Dinterface_utils.cpp55 if (!fqinstance.setTo(instance)) { in CheckInterfaceInheritanceHierarchy()
104 if (!fqinstance.setTo(instance)) { in IsKnownInterface()
Dhost_init_verifier.cpp166 if (!fqname.setTo(intf)) { in ReadInterfaceInheritanceHierarchy()
172 if (!fqname.setTo(iface.name)) { in ReadInterfaceInheritanceHierarchy()
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp156 ASSERT_TRUE(fqName.setTo(debug_info.interfaceName.c_str())) in GetPidInterfacesMap()
159 ASSERT_TRUE(fqInstance.setTo(fqName, debug_info.instanceName.c_str())); in GetPidInterfacesMap()
253 ASSERT_TRUE(fqInstance.setTo(interface)) in TEST_F()
/system/libhidl/base/
DHidlSupport.cpp100 void hidl_handle::setTo(native_handle_t* handle, bool shouldOwn) { in setTo() function in android::hardware::hidl_handle
303 hidlHandle.setTo(handle, true /* shouldOwn */); in getInstance()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp170 if (!fqInstance.setTo(instance)) { in main()
/system/core/healthd/
Dcharger_test.cpp115 handle.setTo(nativeHandle, true /* shouldOwn */); in createHidlHandle()

12