/aosp12/frameworks/native/libs/ui/tests/ |
H A D | Size_test.cpp | 39 Size s(123, 456); in TEST() local 66 Size s; in TEST() local 72 Size s(-1, -1); in TEST() local 78 Size s(1, -1000); in TEST() local 109 Size s(0, 0); in TEST() local 136 Size s; in TEST() local 142 Size s; in TEST() local 148 Size s; in TEST() local 162 Size s; in ClampTest() local 168 Size s; in ClampTest() local [all …]
|
/aosp12/frameworks/minikin/tests/unittest/ |
H A D | StringPieceTest.cpp | 25 StringPiece s(nullptr); in TEST() local 31 StringPiece s(""); in TEST() local 37 StringPiece s("", 0); in TEST() local 43 StringPiece s("abcde"); in TEST() local 51 StringPiece s("abcde", 5); in TEST() local 77 StringPiece s(kText + 2); in TEST() local 87 StringPiece s("abcde"); in TEST() local 115 StringPiece s(""); in TEST() local 121 StringPiece s(""); in TEST() local 126 StringPiece s("abcde"); in TEST() local [all …]
|
/aosp12/art/test/021-string2/src/ |
H A D | Main.java | 763 public static boolean $noinline$equalsConstString0(String s) { in $noinline$equalsConstString0() 767 public static boolean $noinline$equalsConstString3(String s) { in $noinline$equalsConstString3() 771 public static boolean $noinline$equalsConstString7(String s) { in $noinline$equalsConstString7() 775 public static boolean $noinline$equalsConstString12(String s) { in $noinline$equalsConstString12() 779 public static boolean $noinline$equalsConstString14(String s) { in $noinline$equalsConstString14() 783 public static boolean $noinline$equalsConstString24(String s) { in $noinline$equalsConstString24() 787 public static boolean $noinline$equalsConstString29(String s) { in $noinline$equalsConstString29() 791 public static boolean $noinline$equalsConstString35(String s) { in $noinline$equalsConstString35() 823 public static boolean $noinline$constString0Equals(String s) { in $noinline$constString0Equals() 827 public static boolean $noinline$constString3Equals(String s) { in $noinline$constString3Equals() [all …]
|
/aosp12/art/benchmark/string-indexof/src/ |
H A D | StringIndexOfBenchmark.java | 22 String s = string36; in timeIndexOf0() local 30 String s = string36; in timeIndexOf1() local 38 String s = string36; in timeIndexOf2() local 46 String s = string36; in timeIndexOf3() local 54 String s = string36; in timeIndexOf4() local 62 String s = string36; in timeIndexOf7() local 70 String s = string36; in timeIndexOf8() local 78 String s = string36; in timeIndexOfF() local 86 String s = string36; in timeIndexOfG() local 94 String s = string36; in timeIndexOfV() local [all …]
|
/aosp12/art/test/684-checker-simd-dotprod/src/other/ |
H A D | TestByte.java | 82 int s = 1; in testDotProdSimple() local 144 int s = 1; in testDotProdComplex() local 207 int s = 1; in testDotProdSimpleUnsigned() local 269 int s = 1; in testDotProdComplexUnsigned() local 331 int s = 1; in testDotProdComplexUnsignedCastedToSigned() local 393 int s = 1; in testDotProdComplexSignedCastedToUnsigned() local 404 int s = 1; in testDotProdSignedWidening() local 415 int s = 1; in testDotProdParamSigned() local 426 int s = 1; in testDotProdParamUnsigned() local 439 int s = 1; in testDotProdIntParam() local [all …]
|
H A D | TestCharShort.java | 61 int s = 1; in testDotProdSimple() local 111 int s = 1; in testDotProdComplex() local 154 int s = 1; in testDotProdSimpleUnsigned() local 204 int s = 1; in testDotProdComplexUnsigned() local 254 int s = 1; in testDotProdComplexUnsignedCastedToSigned() local 304 int s = 1; in testDotProdComplexSignedCastedToUnsigned() local 324 int s = 1; in testDotProdSignedToInt() local 344 int s = 1; in testDotProdParamSigned() local 364 int s = 1; in testDotProdParamUnsigned() local 375 int s = 1; in testDotProdIntParam() local [all …]
|
/ohos5.0/drivers/peripheral/camera/test/ut/pipeline_core/ |
H A D | pipeline_core_test.cpp | 71 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 91 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 115 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 135 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 166 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 190 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 205 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 224 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 248 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable 276 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable [all …]
|
/aosp12/bionic/libc/bionic/ |
H A D | strtol.cpp | 47 const char* s = nptr; in StrToI() local 113 const char* s = nptr; in StrToU() local 162 int atoi(const char* s) { in atoi() 166 long atol(const char* s) { in atol() 170 long long atoll(const char* s) { in atoll() 174 intmax_t strtoimax(const char* s, char** end, int base) { in strtoimax() 178 long strtol(const char* s, char** end, int base) { in strtol() 182 long long strtoll(const char* s, char** end, int base) { in strtoll() 189 unsigned long strtoul(const char* s, char** end, int base) { in strtoul() 193 unsigned long long strtoull(const char* s, char** end, int base) { in strtoull() [all …]
|
H A D | stdlib_l.cpp | 32 double strtod_l(const char* s, char** end_ptr, locale_t) { in strtod_l() 36 float strtof_l(const char* s, char** end_ptr, locale_t) { in strtof_l() 40 long strtol_l(const char* s, char** end_ptr, int base, locale_t) { in strtol_l() 44 long double strtold_l(const char* s, char** end_ptr, locale_t) { in strtold_l() 48 long long strtoll_l(const char* s, char** end_ptr, int base, locale_t) { in strtoll_l() 52 unsigned long strtoul_l(const char* s, char** end_ptr, int base, locale_t) { in strtoul_l() 56 unsigned long long strtoull_l(const char* s, char** end_ptr, int base, locale_t) { in strtoull_l()
|
/aosp12/packages/modules/adb/ |
H A D | sockets.cpp | 80 void install_local_socket(asocket* s) { in install_local_socket() 93 void remove_socket(asocket* s) { in remove_socket() 239 static void local_socket_ready(asocket* s) { in local_socket_ready() 313 static void local_socket_close(asocket* s) { in local_socket_close() 390 asocket* s = new asocket(); in create_local_socket() local 450 static void remote_socket_ready(asocket* s) { in remote_socket_ready() 471 static void remote_socket_close(asocket* s) { in remote_socket_close() 491 asocket* s = new asocket(); in create_remote_socket() local 876 static void smart_socket_ready(asocket* s) { in smart_socket_ready() 892 asocket* s = new asocket(); in create_smart_socket() local [all …]
|
/aosp12/bionic/libc/include/bits/ |
H A D | termios_inlines.h | 48 static __inline speed_t cfgetspeed(const struct termios* s) { in cfgetspeed() 52 __BIONIC_TERMIOS_INLINE speed_t cfgetispeed(const struct termios* s) { in cfgetispeed() 56 __BIONIC_TERMIOS_INLINE speed_t cfgetospeed(const struct termios* s) { in cfgetospeed() 60 __BIONIC_TERMIOS_INLINE void cfmakeraw(struct termios* s) { in cfmakeraw() 70 __BIONIC_TERMIOS_INLINE int cfsetspeed(struct termios* s, speed_t speed) { in cfsetspeed() 80 __BIONIC_TERMIOS_INLINE int cfsetispeed(struct termios* s, speed_t speed) { in cfsetispeed() 84 __BIONIC_TERMIOS_INLINE int cfsetospeed(struct termios* s, speed_t speed) { in cfsetospeed() 102 __BIONIC_TERMIOS_INLINE int tcgetattr(int fd, struct termios* s) { in tcgetattr() 115 __BIONIC_TERMIOS_INLINE int tcsetattr(int fd, int optional_actions, const struct termios* s) { in tcsetattr()
|
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/ |
H A D | StaticIpConfigurationTest.java | 57 private void checkEmpty(StaticIpConfiguration s) { in checkEmpty() 65 StaticIpConfiguration s = new StaticIpConfiguration(); in makeTestObject() local 77 StaticIpConfiguration s = new StaticIpConfiguration(); in testConstructor() local 98 StaticIpConfiguration s = new StaticIpConfiguration(); in testHashCodeAndEquals() local 147 StaticIpConfiguration s = new StaticIpConfiguration(); in testToLinkProperties() local 200 private StaticIpConfiguration passThroughParcel(StaticIpConfiguration s) { in passThroughParcel() 216 StaticIpConfiguration s = makeTestObject(); in testParceling() local 226 final StaticIpConfiguration s = new StaticIpConfiguration.Builder() in testBuilder() local 246 final StaticIpConfiguration s = new StaticIpConfiguration((StaticIpConfiguration) null); in testAddDnsServers() local 262 final StaticIpConfiguration s = makeTestObject(); in testGetRoutes() local
|
/aosp12/art/test/660-checker-simd-sad/src/ |
H A D | SimdSadShort3.java | 56 private static int sadShort2IntParamRight(short[] s, short param) { in sadShort2IntParamRight() 96 private static int sadShort2IntParamLeft(short[] s, short param) { in sadShort2IntParamLeft() 136 private static int sadShort2IntConstRight(short[] s) { in sadShort2IntConstRight() 176 private static int sadShort2IntConstLeft(short[] s) { in sadShort2IntConstLeft() 216 private static int sadShort2IntInvariantRight(short[] s, int val) { in sadShort2IntInvariantRight() 257 private static int sadShort2IntInvariantLeft(short[] s, int val) { in sadShort2IntInvariantLeft() 301 private static int sadShort2IntCastedExprRight(short[] s) { in sadShort2IntCastedExprRight() 345 private static int sadShort2IntCastedExprLeft(short[] s) { in sadShort2IntCastedExprLeft() 373 short[] s = new short[64]; in main() local
|
/aosp12/frameworks/rs/driver/runtime/ |
H A D | rs_sampler.c | 8 rsSamplerGetMinification(rs_sampler s) { in rsSamplerGetMinification() 17 rsSamplerGetMagnification(rs_sampler s) { in rsSamplerGetMagnification() 26 rsSamplerGetWrapS(rs_sampler s) { in rsSamplerGetWrapS() 35 rsSamplerGetWrapT(rs_sampler s) { in rsSamplerGetWrapT() 44 rsSamplerGetAnisotropy(rs_sampler s) { in rsSamplerGetAnisotropy()
|
/aosp12/art/runtime/ |
H A D | intern_table.cc | 139 ObjPtr<mirror::String> InternTable::InsertWeak(ObjPtr<mirror::String> s) { in InsertWeak() 148 void InternTable::RemoveStrong(ObjPtr<mirror::String> s) { in RemoveStrong() 152 void InternTable::RemoveWeak(ObjPtr<mirror::String> s) { in RemoveWeak() 171 void InternTable::RemoveStrongFromTransaction(ObjPtr<mirror::String> s) { in RemoveStrongFromTransaction() 176 void InternTable::RemoveWeakFromTransaction(ObjPtr<mirror::String> s) { in RemoveWeakFromTransaction() 200 ObjPtr<mirror::String> InternTable::Insert(ObjPtr<mirror::String> s, in Insert() 260 ObjPtr<mirror::String> s = LookupStrong(self, utf16_length, utf8_data); in InternStrong() local 297 ObjPtr<mirror::String> InternTable::InternWeak(ObjPtr<mirror::String> s) { in InternWeak() 301 bool InternTable::ContainsWeak(ObjPtr<mirror::String> s) { in ContainsWeak() 310 void InternTable::Table::Remove(ObjPtr<mirror::String> s) { in Remove() [all …]
|
/aosp12/system/libbase/ |
H A D | strings.cpp | 31 std::vector<std::string> Split(const std::string& s, in Split() 49 std::string Trim(const std::string& s) { in Trim() 90 bool StartsWith(std::string_view s, std::string_view prefix) { in StartsWith() 94 bool StartsWith(std::string_view s, char prefix) { in StartsWith() 98 bool StartsWithIgnoreCase(std::string_view s, std::string_view prefix) { in StartsWithIgnoreCase() 102 bool EndsWith(std::string_view s, std::string_view suffix) { in EndsWith() 106 bool EndsWith(std::string_view s, char suffix) { in EndsWith() 110 bool EndsWithIgnoreCase(std::string_view s, std::string_view suffix) { in EndsWithIgnoreCase() 119 std::string StringReplace(std::string_view s, std::string_view from, std::string_view to, in StringReplace()
|
/ohos5.0/base/hiviewdfx/faultloggerd/common/dfxutil/ |
H A D | string_util.h | 46 inline bool StartsWith(const std::string& s, const std::string& prefix) in StartsWith() 51 inline bool StartsWith(const std::string& s, char prefix) in StartsWith() 56 inline bool StartsWithIgnoreCase(const std::string& s, const std::string& prefix) in StartsWithIgnoreCase() 61 inline bool EndsWith(const std::string& s, const std::string& suffix) in EndsWith() 67 inline bool EndsWith(const std::string& s, char suffix) in EndsWith() 72 inline bool EndsWithIgnoreCase(const std::string& s, const std::string& suffix) in EndsWithIgnoreCase()
|
/ohos5.0/base/telephony/ril_adapter/services/vendor/src/ |
H A D | vendor_util.c | 74 int32_t IsResponseSuccess(const char *s) in IsResponseSuccess() 85 int32_t IsResponseError(const char *s) in IsResponseError() 96 int32_t IsSms(const char *s) in IsSms() 107 int32_t IsSmsNotify(const char *s) in IsSmsNotify() 137 int32_t SkipATPrefix(char **s) in SkipATPrefix() 152 void SkipSpace(char **s) in SkipSpace() 163 int32_t NextInt(char **s, int32_t *out) in NextInt() 188 int64_t NextInt64(char **s, int64_t *out) in NextInt64() 260 void SkipNextComma(char **s) in SkipNextComma() 328 int32_t NextStr(char **s, char **out) in NextStr() [all …]
|
/aosp12/hardware/google/pixel/health/test/ |
H A D | TestBatteryDefender.cpp | 225 InSequence s; in TEST_F() local 233 InSequence s; in TEST_F() local 244 InSequence s; in TEST_F() local 258 InSequence s; in TEST_F() local 272 InSequence s; in TEST_F() local 293 InSequence s; in TEST_F() local 316 InSequence s; in TEST_F() local 348 InSequence s; in TEST_F() local 368 InSequence s; in TEST_F() local 393 InSequence s; in TEST_F() local [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_common_test.cpp | 575 const uint8_t s[] = {0x00, 0x50, 0xf2, 1}; variable 581 const uint8_t s[] = {0x00, 0x50, 0xf2, 2}; variable 587 const uint8_t s[] = {0x00, 0x50, 0xf2, 0}; variable 593 const uint8_t s[] = {0x00, 0x50, 0xf2, 3}; variable 600 const uint8_t s[] = {0x00, 0x50, 0xf2, 0}; variable 606 const uint8_t s[] = {0x00, 0x50, 0xf2, 2}; variable 612 const uint8_t s[] = {0x00, 0x50, 0xf2, 4}; variable 618 const uint8_t s[] = {0x00, 0x50, 0xf2, 7}; variable 625 const uint8_t s[] = {0x00, 0x0f, 0xac, 0}; variable 631 const uint8_t s[] = {0x00, 0x0f, 0xac, 2}; variable [all …]
|
/aosp12/hardware/qcom/display/msm8960/liboverlay/ |
H A D | mdpWrapper.h | 201 inline void dump(const char* const s, const msmfb_overlay_data& ov) { in dump() 206 inline void dump(const char* const s, const msmfb_data& ov) { in dump() 210 inline void dump(const char* const s, const mdp_overlay& ov) { in dump() 224 inline void dump(const char* const s, const msmfb_img& ov) { in dump() 229 inline void dump(const char* const s, const mdp_rect& ov) { in dump() 234 inline void dump(const char* const s, const msmfb_overlay_3d& ov) { in dump() 239 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() 245 inline void dump(const char* const s, const msm_rotator_img_info& rot) { in dump() 253 inline void dump(const char* const s, const msm_rotator_data_info& rot) { in dump() 261 inline void dump(const char* const s, const fb_fix_screeninfo& finfo) { in dump() [all …]
|
/aosp12/libnativehelper/ |
H A D | ExpandableString.c | 23 void ExpandableStringInitialize(struct ExpandableString *s) { in ExpandableStringInitialize() 27 void ExpandableStringRelease(struct ExpandableString* s) { in ExpandableStringRelease() 32 bool ExpandableStringAppend(struct ExpandableString* s, const char* text) { in ExpandableStringAppend() 45 bool ExpandableStringAssign(struct ExpandableString* s, const char* text) { in ExpandableStringAssign()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/ |
H A D | rs_profiler_socket_test.cpp | 39 Socket s; variable 54 Socket s; variable 70 Socket s; variable 85 Socket s; variable
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/utils/ |
H A D | constant.h | 80 void Constant::LeftTrim(T &s) in LeftTrim() 87 void Constant::RightTrim(T &s) in RightTrim() 94 void Constant::Trim(T &s) in Trim() 102 T Constant::TrimCopy(T s) in TrimCopy()
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
H A D | cam_semaphore.h | 53 static inline void cam_sem_init(cam_semaphore_t *s, int n) in cam_sem_init() 60 static inline void cam_sem_post(cam_semaphore_t *s) in cam_sem_post() 68 static inline int cam_sem_wait(cam_semaphore_t *s) in cam_sem_wait() 79 static inline int cam_sem_timedwait(cam_semaphore_t *s, const struct timespec *abs_timeout) in cam_sem_timedwait() 100 static inline void cam_sem_destroy(cam_semaphore_t *s) in cam_sem_destroy()
|