Home
last modified time | relevance | path

Searched defs:string (Results 1 – 25 of 2850) sorted by relevance

12345678910>>...114

/prebuilts/go/linux-x86/src/internal/coverage/cfile/
Demitdata_test.go102 func upmergeCoverData(t *testing.T, gocoverdir string, mode string) {
121 func buildHarness(t *testing.T, dir string, opts []string) string {
135 func mkdir(t *testing.T, d string) string {
146 func updateGoCoverDir(env []string, gcd string, setGoCoverDir bool) []string {
165 func runHarness(t *testing.T, harnessPath string, tp string, setGoCoverDir bool, rdir, edir string)…
175 func testForSpecificFunctions(t *testing.T, dir string, want []string, avoid []string) string {
205 func withAndWithoutRunner(f func(setit bool, tag string)) {
218 func mktestdirs(t *testing.T, tag, tp, dir string) (string, string) {
225 func testEmitToDir(t *testing.T, harnessPath string, dir string) {
268 func testEmitToWriter(t *testing.T, harnessPath string, dir string) {
[all …]
/prebuilts/rust/linux-musl-x86/1.83.0/lib/rustlib/src/rust/library/std/src/sys_common/wtf8/
Dtests.rs133 let mut string = Wtf8Buf::new(); in wtf8buf_push_str() localVariable
144 let mut string = Wtf8Buf::from_str("aé "); in wtf8buf_push_char() localVariable
155 let mut string = Wtf8Buf::from_str("aé "); in wtf8buf_push() localVariable
167 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
173 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
180 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
186 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
192 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
199 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
206 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
[all …]
/prebuilts/rust/linux-musl-x86/1.82.0/lib/rustlib/src/rust/library/std/src/sys_common/wtf8/
Dtests.rs133 let mut string = Wtf8Buf::new(); in wtf8buf_push_str() localVariable
144 let mut string = Wtf8Buf::from_str("aé "); in wtf8buf_push_char() localVariable
155 let mut string = Wtf8Buf::from_str("aé "); in wtf8buf_push() localVariable
167 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
173 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
180 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
186 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
192 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
199 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
206 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
[all …]
/prebuilts/rust/linux-x86/1.82.0/lib/rustlib/src/rust/library/std/src/sys_common/wtf8/
Dtests.rs133 let mut string = Wtf8Buf::new(); in wtf8buf_push_str() localVariable
144 let mut string = Wtf8Buf::from_str("aé "); in wtf8buf_push_char() localVariable
155 let mut string = Wtf8Buf::from_str("aé "); in wtf8buf_push() localVariable
167 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
173 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
180 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
186 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
192 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
199 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
206 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
[all …]
/prebuilts/rust/linux-x86/1.83.0/lib/rustlib/src/rust/library/std/src/sys_common/wtf8/
Dtests.rs133 let mut string = Wtf8Buf::new(); in wtf8buf_push_str() localVariable
144 let mut string = Wtf8Buf::from_str("aé "); in wtf8buf_push_char() localVariable
155 let mut string = Wtf8Buf::from_str("aé "); in wtf8buf_push() localVariable
167 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
173 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
180 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
186 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
192 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
199 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
206 let mut string = Wtf8Buf::new(); in wtf8buf_push() localVariable
[all …]
/prebuilts/go/linux-x86/src/strings/
Dstrings.go22 func explode(s string, n int) []string {
41 func Count(s, substr string) int {
61 func Contains(s, substr string) bool {
66 func ContainsAny(s, chars string) bool {
71 func ContainsRune(s string, r rune) bool {
76 func ContainsFunc(s string, f func(rune) bool) bool {
81 func LastIndex(s, substr string) int {
118 func IndexByte(s string, c byte) int {
126 func IndexRune(s string, r rune) int {
146 func IndexAny(s, chars string) int {
[all …]
/prebuilts/go/linux-x86/src/path/filepath/
Dpath.go55 func Clean(path string) string {
73 func IsLocal(path string) bool {
85 func Localize(path string) (string, error) {
92 func ToSlash(path string) string {
102 func FromSlash(path string) string {
110 func SplitList(path string) []string {
119 func Split(path string) (dir, file string) {
130 func Join(elem ...string) string {
138 func Ext(path string) string {
147 func EvalSymlinks(path string) (string, error) {
[all …]
Dmatch.go44 func Match(pattern, name string) (matched bool, err error) {
91 func scanChunk(pattern string) (star bool, chunk, rest string) {
124 func matchChunk(chunk, s string) (rest string, ok bool, err error) {
212 func getEsc(chunk string) (r rune, nchunk string, err error) {
243 func Glob(pattern string) (matches []string, err error) {
247 func globWithLimit(pattern string, depth int) (matches []string, err error) {
297 func cleanGlobPath(path string) string {
310 func cleanGlobPathWindows(path string) (prefixLen int, cleaned string) {
332 func glob(dir, pattern string, matches []string) (m []string, e error) {
364 func hasMeta(path string) bool {
/prebuilts/go/linux-x86/src/cmd/dist/
Dutil.go24 func pathf(format string, args ...interface{}) string {
29 func filter(list []string, f func(string) bool) []string {
40 func uniq(list []string) []string {
62 func run(dir string, mode int, cmd ...string) string {
73 func runEnv(dir string, mode int, env []string, cmd ...string) string {
163 func bgrun(wg *sync.WaitGroup, dir string, cmd ...string) {
199 func xrealwd(path string) string {
212 func isdir(p string) bool {
218 func isfile(p string) bool {
224 func mtime(p string) time.Time {
[all …]
Dbuild.go106 func find(p string, l []string) int {
293 func compilerEnv(envName, def string) map[string]string {
326 func compilerEnvLookup(kind string, m map[string]string, goos, goarch string) string {
359 func chomp(s string) string {
584 func mustLinkExternal(goos, goarch string, cgoEnabled bool) bool {
651 func install(dir string) {
655 func startInstall(dir string) chan struct{} {
669 func runInstall(pkg string, ch chan struct{}) {
1027 func packagefile(pkg string) string {
1050 func matchtag(tag string) bool {
[all …]
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/sys/unix/
Dxattr_bsd.go16 func xattrnamespace(fullattr string) (ns int, attr string, err error) {
50 func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
62 func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
74 func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
88 func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {
104 func Setxattr(file string, attr string, data []byte, flags int) (err error) {
120 func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {
136 func Removexattr(file string, attr string) (err error) {
146 func Fremovexattr(fd int, attr string) (err error) {
156 func Lremovexattr(link string, attr string) (err error) {
[all …]
/prebuilts/go/linux-x86/src/cmd/go/internal/work/
Dexec.go435 func allowedVersion(v string) bool {
1022 func (b *Builder) cacheObjdirFile(a *Action, c cache.Cache, name string) error {
1032 func (b *Builder) findCachedObjdirFile(a *Action, c cache.Cache, name string) (string, error) {
1040 func (b *Builder) loadCachedObjdirFile(a *Action, c cache.Cache, name string) error {
1058 func (b *Builder) cacheSrcFiles(a *Action, srcfiles []string) {
1153 func buildVetConfig(a *Action, srcfiles []string) {
1509 func (b *Builder) writeLinkImportcfg(a *Action, file string) error {
1924 func (b *Builder) cover(a *Action, dst, src string, varName string) error {
1942 func (b *Builder) cover2(a *Action, infiles, outfiles []string, varName string, mode string) ([]str…
1965 …c (b *Builder) writeCoverPkgInputs(a *Action, pconfigfile string, covoutputsfile string, outfiles …
[all …]
/prebuilts/go/linux-x86/src/internal/syscall/windows/registry/
Dvalue.go53 func (k Key) GetValue(name string, buf []byte) (n int, valtype uint32, err error) {
70 func (k Key) getValue(name string, buf []byte) (date []byte, valtype uint32, err error) {
97 func (k Key) GetStringValue(name string) (val string, valtype uint32, err error) {
118 func (k Key) GetMUIStringValue(name string) (string, error) {
169 func ExpandString(value string) (string, error) {
195 func (k Key) GetStringsValue(name string) (val []string, valtype uint32, err error) {
229 func (k Key) GetIntegerValue(name string) (val uint64, valtype uint32, err error) {
255 func (k Key) GetBinaryValue(name string) (val []byte, valtype uint32, err error) {
266 func (k Key) setValue(name string, valtype uint32, data []byte) error {
279 func (k Key) SetDWordValue(name string, value uint32) error {
[all …]
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/module/
Dpseudo.go54 func PseudoVersion(major, older string, t time.Time, rev string) string {
79 func ZeroPseudoVersion(major string) string {
84 func incDecimal(decimal string) string {
103 func decDecimal(decimal string) string {
123 func IsPseudoVersion(v string) bool {
129 func IsZeroPseudoVersion(v string) bool {
136 func PseudoVersionTime(v string) (time.Time, error) {
154 func PseudoVersionRev(v string) (rev string, err error) {
164 func PseudoVersionBase(v string) (string, error) {
229 func parsePseudoVersion(v string) (base, timestamp, rev, build string, err error) {
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/semver/
Dsemver.go38 func IsValid(v string) bool {
48 func Canonical(v string) string {
65 func Major(v string) string {
76 func MajorMinor(v string) string {
91 func Prerelease(v string) string {
102 func Build(v string) string {
116 func Compare(v, w string) int {
145 func Max(v, w string) string {
168 func Sort(list []string) {
172 func parse(v string) (p parsed, ok bool) {
[all …]
/prebuilts/go/linux-x86/src/net/
Dlookup_plan9.go22 func query(ctx context.Context, filename, query string, bufSize int) (addrs []string, err error) { func
76 func queryCS(ctx context.Context, net, host, service string) (res []string, err error) {
89 func queryCS1(ctx context.Context, net string, ip IP, port int) (clone, dest string, err error) {
106 func queryDNS(ctx context.Context, addr string, typ string) (res []string, err error) {
110 func handlePlan9DNSError(err error, name string) error {
123 func toLower(in string) string {
143 func lookupProtocol(ctx context.Context, name string) (proto int, err error) {
162 func (*Resolver) lookupHost(ctx context.Context, host string) (addrs []string, err error) {
193 func (r *Resolver) lookupIP(ctx context.Context, network, host string) (addrs []IPAddr, err error) {
212 func (r *Resolver) lookupPort(ctx context.Context, network, service string) (port int, err error) {
[all …]
Dparse.go75 func open(name string) (*file, error) {
83 func stat(name string) (mtime time.Time, size int64, err error) {
92 func countAnyByte(s string, t string) int {
103 func splitAtBytes(s string, t string) []string {
123 func getFields(s string) []string { return splitAtBytes(s, " \r\t\n") }
130 func dtoi(s string) (n int, i int, ok bool) {
146 func xtoi(s string) (n int, i int, ok bool) {
175 func xtoi2(s string, e byte) (byte, bool) {
184 func hasUpperCase(s string) bool {
211 func trimSpace(x string) string {
[all …]
/prebuilts/go/linux-x86/test/
Dreorder2.go15 func (t TT) a(s string) TT {
20 func (TT) b(s string) string {
27 func a(s string) F {
32 func b(s string) string {
38 a(s string) I
39 b(s string) string
44 func (t T1) a(s string) I {
49 func (T1) b(s string) string {
57 func f(x, y string) {
62 func ff(x, y string) {
[all …]
Descape_array.go15 func bar(a, b *string) U { // ERROR "leaking param: a to result ~r0 level=0$" "leaking param: b to …
23 func bff(a, b *string) U { // ERROR "leaking param: a to result ~r0 level=0$" "leaking param: b to …
49 func fun(x U, y *string) *string { // ERROR "leaking param: x to result ~r0 level=0$" "leaking para…
54 func fup(x *U, y *string) *string { // ERROR "leaking param: x to result ~r0 level=1$" "leaking par…
59 func fum(x *U, y **string) *string { // ERROR "leaking param: x to result ~r0 level=1$" "leaking pa…
74 func hugeLeaks1(x **string, y **string) { // ERROR "leaking param content: x" "y does not escape"
82 func hugeLeaks2(x *string, y *string) { // ERROR "leaking param: x" "y does not escape"
91 func doesNew1(x *string, y *string) { // ERROR "leaking param: x" "leaking param: y"
109 func doesNew2(x *string, y *string) { // ERROR "leaking param: x" "leaking param: y"
117 func doesMakeSlice(x *string, y *string) { // ERROR "leaking param: x" "leaking param: y"
/prebuilts/go/linux-x86/src/internal/filepathlite/
Dpath.go57 func (b *lazybuf) string() string { func
65 func Clean(path string) string {
141 func IsLocal(path string) bool {
145 func unixIsLocal(path string) bool {
168 func Localize(path string) (string, error) {
176 func ToSlash(path string) string {
184 func FromSlash(path string) string {
191 func replaceStringByte(s string, old, new byte) string {
205 func Split(path string) (dir, file string) {
215 func Ext(path string) string {
[all …]
/prebuilts/vndk/v34/x86_64/include/generated-headers/frameworks/native/libs/binder/libbinder/android_vendor.34_x86_64_shared/gen/aidl/android/os/
DIServiceManager.h58 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in getService()
61 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in checkService()
64 …::sp<::android::IBinder>& /*service*/, bool /*allowIsolated*/, int32_t /*dumpPriority*/) override { in addService()
67 …::android::binder::Status listServices(int32_t /*dumpPriority*/, ::std::vector<::std::string>* /*_… in listServices()
70 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in registerForNotifications()
73 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in unregisterForNotifications()
76 …ndroid::binder::Status isDeclared(const ::std::string& /*name*/, bool* /*_aidl_return*/) override { in isDeclared()
79 …laredInstances(const ::std::string& /*iface*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getDeclaredInstances()
82 …datableViaApex(const ::std::string& /*name*/, ::std::optional<::std::string>* /*_aidl_return*/) ov… in updatableViaApex()
85 …atableNames(const ::std::string& /*apexName*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getUpdatableNames()
[all …]
/prebuilts/vndk/v34/arm64/include/generated-headers/frameworks/native/libs/binder/libbinder/android_vendor.34_arm_armv8-a_shared/gen/aidl/android/os/
DIServiceManager.h58 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in getService()
61 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in checkService()
64 …::sp<::android::IBinder>& /*service*/, bool /*allowIsolated*/, int32_t /*dumpPriority*/) override { in addService()
67 …::android::binder::Status listServices(int32_t /*dumpPriority*/, ::std::vector<::std::string>* /*_… in listServices()
70 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in registerForNotifications()
73 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in unregisterForNotifications()
76 …ndroid::binder::Status isDeclared(const ::std::string& /*name*/, bool* /*_aidl_return*/) override { in isDeclared()
79 …laredInstances(const ::std::string& /*iface*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getDeclaredInstances()
82 …datableViaApex(const ::std::string& /*name*/, ::std::optional<::std::string>* /*_aidl_return*/) ov… in updatableViaApex()
85 …atableNames(const ::std::string& /*apexName*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getUpdatableNames()
[all …]
/prebuilts/vndk/v34/x86/include/generated-headers/frameworks/native/libs/binder/libbinder/android_vendor.34_x86_shared/gen/aidl/android/os/
DIServiceManager.h58 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in getService()
61 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in checkService()
64 …::sp<::android::IBinder>& /*service*/, bool /*allowIsolated*/, int32_t /*dumpPriority*/) override { in addService()
67 …::android::binder::Status listServices(int32_t /*dumpPriority*/, ::std::vector<::std::string>* /*_… in listServices()
70 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in registerForNotifications()
73 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in unregisterForNotifications()
76 …ndroid::binder::Status isDeclared(const ::std::string& /*name*/, bool* /*_aidl_return*/) override { in isDeclared()
79 …laredInstances(const ::std::string& /*iface*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getDeclaredInstances()
82 …datableViaApex(const ::std::string& /*name*/, ::std::optional<::std::string>* /*_aidl_return*/) ov… in updatableViaApex()
85 …atableNames(const ::std::string& /*apexName*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getUpdatableNames()
[all …]
/prebuilts/vndk/v34/arm/include/generated-headers/frameworks/native/libs/binder/libbinder/android_vendor.34_arm_armv7-a-neon_shared/gen/aidl/android/os/
DIServiceManager.h58 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in getService()
61 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in checkService()
64 …::sp<::android::IBinder>& /*service*/, bool /*allowIsolated*/, int32_t /*dumpPriority*/) override { in addService()
67 …::android::binder::Status listServices(int32_t /*dumpPriority*/, ::std::vector<::std::string>* /*_… in listServices()
70 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in registerForNotifications()
73 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in unregisterForNotifications()
76 …ndroid::binder::Status isDeclared(const ::std::string& /*name*/, bool* /*_aidl_return*/) override { in isDeclared()
79 …laredInstances(const ::std::string& /*iface*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getDeclaredInstances()
82 …datableViaApex(const ::std::string& /*name*/, ::std::optional<::std::string>* /*_aidl_return*/) ov… in updatableViaApex()
85 …atableNames(const ::std::string& /*apexName*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getUpdatableNames()
[all …]
/prebuilts/vndk/v34/arm64/include/generated-headers/frameworks/native/libs/binder/libbinder/android_vendor.34_arm64_armv8-a_shared/gen/aidl/android/os/
DIServiceManager.h58 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in getService()
61 …vice(const ::std::string& /*name*/, ::android::sp<::android::IBinder>* /*_aidl_return*/) override { in checkService()
64 …::sp<::android::IBinder>& /*service*/, bool /*allowIsolated*/, int32_t /*dumpPriority*/) override { in addService()
67 …::android::binder::Status listServices(int32_t /*dumpPriority*/, ::std::vector<::std::string>* /*_… in listServices()
70 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in registerForNotifications()
73 …d::string& /*name*/, const ::android::sp<::android::os::IServiceCallback>& /*callback*/) override { in unregisterForNotifications()
76 …ndroid::binder::Status isDeclared(const ::std::string& /*name*/, bool* /*_aidl_return*/) override { in isDeclared()
79 …laredInstances(const ::std::string& /*iface*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getDeclaredInstances()
82 …datableViaApex(const ::std::string& /*name*/, ::std::optional<::std::string>* /*_aidl_return*/) ov… in updatableViaApex()
85 …atableNames(const ::std::string& /*apexName*/, ::std::vector<::std::string>* /*_aidl_return*/) ove… in getUpdatableNames()
[all …]

12345678910>>...114