Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 2206) sorted by relevance

12345678910>>...89

/aosp12/frameworks/native/libs/ui/tests/
H A DSize_test.cpp39 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 DStringPieceTest.cpp25 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 DMain.java763 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 DStringIndexOfBenchmark.java22 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 DTestByte.java82 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 DTestCharShort.java61 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 …]
/aosp12/packages/modules/adb/
H A Dsockets.cpp80 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/bionic/
H A Dstrtol.cpp47 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 Dstdlib_l.cpp32 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/bionic/libc/include/bits/
H A Dtermios_inlines.h48 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/art/runtime/
H A Dintern_table.cc139 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/packages/modules/Connectivity/tests/common/java/android/net/
H A DStaticIpConfigurationTest.java57 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 DSimdSadShort3.java56 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/system/libbase/
H A Dstrings.cpp31 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()
/aosp12/frameworks/rs/driver/runtime/
H A Drs_sampler.c8 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/hardware/google/pixel/health/test/
H A DTestBatteryDefender.cpp225 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 …]
/aosp12/hardware/qcom/display/msm8960/liboverlay/
H A DmdpWrapper.h201 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/system/libvintf/
H A Dparse_string.cpp64 bool parse(const std::string &s, std::vector<T> *objs) { in parse()
119 bool parse(const std::string& s, Level* l) { in parse()
182 bool parse(const std::string &s, KernelConfigKey *key) { in parse()
219 bool parse(const std::string &s, Version *ver) { in parse()
242 const std::string& s, VersionRange* vr, in parseVersionRange()
264 bool parse(const std::string& s, VersionRange* vr) { in parse()
278 bool parse(const std::string &s, VndkVersionRange *vr) { in parse()
332 bool parse(const std::string &s, TransportArch *ta) { in parse()
362 bool parse(const std::string &s, ManifestHal *hal) { in parse()
388 std::string s; in expandInstances() local
[all …]
/aosp12/frameworks/base/core/java/android/app/slice/
H A DSliceQuery.java83 public static List<SliceItem> findAll(SliceItem s, String type) { in findAll()
90 public static List<SliceItem> findAll(SliceItem s, String type, String hints, String nonHints) { in findAll()
97 public static List<SliceItem> findAll(SliceItem s, String type, String[] hints, in findAll()
107 public static SliceItem find(Slice s, String type, String hints, String nonHints) { in find()
114 public static SliceItem find(Slice s, String type) { in find()
121 public static SliceItem find(SliceItem s, String type) { in find()
128 public static SliceItem find(SliceItem s, String type, String hints, String nonHints) { in find()
135 public static SliceItem find(Slice s, String type, String[] hints, String[] nonHints) { in find()
144 public static SliceItem find(SliceItem s, String type, String[] hints, String[] nonHints) { in find()
/aosp12/libnativehelper/
H A DExpandableString.c23 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()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
H A DAbstractSessionStateMachine.java168 protected void log(String s) { in log()
173 protected void logd(String s) { in logd()
177 protected void logd(String s, Throwable e) { in logd()
182 protected void logv(String s) { in logv()
187 protected void logi(String s) { in logi()
191 protected void logi(String s, Throwable cause) { in logi()
196 protected void logw(String s) { in logw()
201 protected void loge(String s) { in loge()
206 protected void loge(String s, Throwable e) { in loge()
210 protected void logWtf(String s) { in logWtf()
[all …]
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/common/
H A Dcam_semaphore.h53 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()
/aosp12/frameworks/base/core/tests/coretests/src/android/os/
H A DPerformanceHintManagerTest.java82 Session s = createSession(); in testUpdateTargetWorkDuration() local
89 Session s = createSession(); in testUpdateTargetWorkDurationWithNegativeDuration() local
98 Session s = createSession(); in testReportActualWorkDuration() local
108 Session s = createSession(); in testReportActualWorkDurationWithIllegalArgument() local
118 Session s = createSession(); in testCloseHintSession() local
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
H A DQSIconViewImplTest.java59 State s = new State(); in testNoFirstAnimation() local
82 State s = new State(); in testMutateIconDrawable() local
98 State s = new State(); in testNoFirstFade() local
110 State s = new State(); in testStateSetCorrectly_toString() local
/aosp12/frameworks/rs/driver/
H A DrsdBcc.cpp69 Script *s, in rsdScriptInvokeForEach()
89 Script *s, in rsdScriptInvokeForEachMulti()
103 int rsdScriptInvokeRoot(const Context *dc, Script *s) { in rsdScriptInvokeRoot()
108 void rsdScriptInvokeInit(const Context *dc, Script *s) { in rsdScriptInvokeInit()
113 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { in rsdScriptInvokeFreeChildren()
118 void rsdScriptInvokeFunction(const Context *dc, Script *s, in rsdScriptInvokeFunction()
126 void rsdScriptInvokeReduce(const Context *dc, Script *s, in rsdScriptInvokeReduce()
135 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, in rsdScriptSetGlobalVar()
141 void rsdScriptGetGlobalVar(const Context *dc, const Script *s, in rsdScriptGetGlobalVar()
148 void rsdScriptSetGlobalVarWithElemDims(const Context *dc, const Script *s, in rsdScriptSetGlobalVarWithElemDims()
[all …]

12345678910>>...89