Home
last modified time | relevance | path

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

12345678910>>...56

/ohos5.0/base/web/webview/ohos_adapter/hiviewdfx_adapter/src/
H A Dhisysevent_adapter_impl.cpp74 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
80 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
87 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
94 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
102 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
113 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
131 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
151 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
152 const std::tuple<const std::string, const int64_t, in Write()
177 int HiSysEventAdapterImpl::Write(const std::string& eventName, EventType type, in Write()
[all …]
/aosp12/build/soong/android/
H A Dtest_asserts.go55 func AssertStringEquals(t *testing.T, message string, expected string, actual string) {
78 …rtStringPathRelativeToTopEquals(t *testing.T, message string, config Config, expected string, actu…
85 …tringPathsRelativeToTopEquals(t *testing.T, message string, config Config, expected []string, actu…
105 func AssertTrimmedStringEquals(t *testing.T, message string, expected string, actual string) {
113 func AssertStringDoesContain(t *testing.T, message string, s string, expectedSubstring string) {
122 func AssertStringDoesNotContain(t *testing.T, message string, s string, unexpectedSubstring string)…
132 func AssertStringContainsEquals(t *testing.T, message string, s string, substring string, expected …
143 func AssertStringListContains(t *testing.T, message string, list []string, s string) {
152 func AssertStringListDoesNotContain(t *testing.T, message string, list []string, s string) {
162 func AssertStringListContainsEquals(t *testing.T, message string, list []string, s string, expected…
[all …]
H A Dutil.go34 func JoinWithPrefix(strs []string, prefix string) string {
52 func JoinWithSuffix(strs []string, suffix string, separator string) string {
115 func IndexList(s string, list []string) int {
126 func InList(s string, list []string) bool {
131 func HasAnyPrefix(s string, prefixList []string) bool {
141 func SubstringInList(list []string, substr string) bool {
151 func PrefixInList(list []string, prefix string) bool {
161 func SuffixInList(list []string, suffix string) bool {
183 func FilterList(list []string, filter []string) (remainder []string, filtered []string) {
209 func RemoveListFromList(list []string, filter_out []string) (result []string) {
[all …]
H A Dpackage_ctx.go32 func NewPackageContext(pkgPath string) PackageContext {
74 func (p PackageContext) VariableFunc(name string,
89 func (p PackageContext) PoolFunc(name string,
105 func (p PackageContext) RuleFunc(name string,
141 func (p PackageContext) SourcePathsVariable(name, separator string, paths ...string) blueprint.Vari…
215 name, prefix string, paths []string) blueprint.Variable {
225 argNames ...string) blueprint.Rule {
231 argNames ...string) blueprint.Rule {
246 argNames ...string) blueprint.Rule {
270 …) RemoteStaticRules(name string, ruleParams blueprint.RuleParams, reParams *remoteexec.REParams, c…
[all …]
H A Dexpand.go30 func ExpandNinjaEscaped(s string, mapping func(string) (string, bool, error)) (string, error) {
37 func Expand(s string, mapping func(string) (string, error)) (string, error) {
44 func expand(s string, ninjaEscape bool, mapping func(string) (string, bool, error)) (string, error)…
69 func getMapping(s string, mapping func(string) (string, bool, error)) (string, bool, int, error) {
/aosp12/build/soong/tradefed/
H A Dautogen.go47 …gPath(ctx android.ModuleContext, prop *string, testSuites []string, autoGenConfig *bool, testConfi…
114 …ctx android.ModuleContext, name string, output android.WritablePath, template string, configs []Co…
118 …ModuleContext, name string, output android.WritablePath, template string, configs []Config, output…
141testConfigTemplateProp *string, testSuites []string, config []Config, autoGenConfig *bool, testIns…
161testConfigTemplateProp *string, testSuites []string, config []Config, autoGenConfig *bool, outputF…
176testConfigTemplateProp *string, testSuites []string, configs []Config, autoGenConfig *bool) androi…
190 …AutoGenJavaTestConfig(ctx android.ModuleContext, testConfigProp *string, testConfigTemplateProp *s…
214 testConfigTemplateProp *string, testSuites []string, autoGenConfig *bool) android.Path {
230testConfigTemplateProp *string, testSuites []string, config []Config, autoGenConfig *bool) android…
249testConfigTemplateProp *string, testSuites []string, config []Config, autoGenConfig *bool) android…
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_hisysevent_adapter_wrapper.cpp41 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
64 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
93 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
126 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
163 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
205 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
232 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
262 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
337 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
383 int ArkHiSysEventAdapterWrapper::Write(const std::string& eventName, ArkEventType type, in Write()
[all …]
/aosp12/build/soong/ui/build/
H A Dutil.go26 func absPath(ctx Context, p string) string {
35 func indexList(s string, list []string) int {
46 func inList(s string, list []string) bool {
51 func removeFromList(s string, list []string) []string {
62 func ensureDirectoriesExist(ctx Context, dirs ...string) {
72 func ensureEmptyDirectoriesExist(ctx Context, dirs ...string) {
101 func ensureEmptyFileExists(ctx Context, file string) {
115 func singleUnquote(str string) (string, bool) {
123 func decodeKeyValue(str string) (string, string, bool) {
132 func copyFile(src, dst string) (int64, error) {
[all …]
H A Denvironment.go52 func (e *Environment) Get(key string) (string, bool) {
63 func (e *Environment) GetInt(key string) (int, bool) {
74 func (e *Environment) Set(key, value string) {
80 func (e *Environment) Unset(keys ...string) {
93 func (e *Environment) UnsetWithPrefix(prefix string) {
106 func (e *Environment) Allow(keys ...string) {
132 func (e *Environment) IsEnvTrue(key string) bool {
140 func (e *Environment) IsFalse(key string) bool {
149 func (e *Environment) AppendFromKati(filename string) error {
/aosp12/build/soong/bp2build/
H A Dsymlink_forest.go25 func ensureNodeExists(root *node, path string) *node {
50 func treeFromExcludePathList(paths []string) *node {
62 func readdirToMap(dir string) map[string]os.FileInfo {
85 func symlinkIntoForest(topdir, dst, src string) {
97 …lantSymlinkForestRecursive(topdir string, forestDir string, buildFilesDir string, srcDir string, e…
189 func PlantSymlinkForest(topdir string, forest string, buildFiles string, srcDir string, exclude []s…
/aosp12/build/blueprint/pathtools/
H A Dfs.go130 func NewOsFs(path string) FileSystem {
134 func (fs *osFs) toAbs(path string) string {
141 func (fs *osFs) removeSrcDirPrefix(path string) string {
181 func (fs *osFs) IsDir(name string) (bool, error) {
189 func (fs *osFs) IsSymlink(name string) (bool, error) {
197 func (fs *osFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (GlobResult, e…
236 func (fs *osFs) Readlink(name string) (string, error) {
247 func (m *mockFs) followSymlinks(name string) string {
304 func (m *mockFs) IsDir(name string) (bool, error) {
349 func (m *mockFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (GlobResult, …
[all …]
H A Dglob.go92 func Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (GlobResult, error) {
96 func startGlob(fs FileSystem, pattern string, excludes []string,
153 func glob(fs FileSystem, pattern string, hasRecursive bool,
235 func saneSplit(path string) (dir, file string) {
251 func isWild(pattern string) bool {
257 func filterExcludes(matches []string, excludes []string) ([]string, error) {
281 func filterDotFiles(matches []string) []string {
297 func Match(pattern, name string) (bool, error) {
356 func IsGlob(pattern string) bool {
361 func HasGlob(in []string) bool {
[all …]
H A Dlists.go25 func PrefixPaths(paths []string, prefix string) []string {
33 func ReplaceExtensions(paths []string, extension string) []string {
43 func ReplaceExtension(path string, extension string) string {
/aosp12/build/soong/finder/fs/
H A Dtest.go26 func Write(t *testing.T, path string, content string, filesystem *MockFs) {
35 func Create(t *testing.T, path string, filesystem *MockFs) {
39 func Delete(t *testing.T, path string, filesystem *MockFs) {
46 func RemoveAll(t *testing.T, path string, filesystem *MockFs) {
53 func Move(t *testing.T, oldPath string, newPath string, filesystem *MockFs) {
60 func Link(t *testing.T, newPath string, oldPath string, filesystem *MockFs) {
72 func Read(t *testing.T, path string, filesystem *MockFs) string {
84 func ModTime(t *testing.T, path string, filesystem *MockFs) time.Time {
106 func AssertSameResponse(t *testing.T, actual []string, expected []string) {
116 func AssertSameStatCalls(t *testing.T, actual []string, expected []string) {
[all …]
/aosp12/build/soong/cc/
H A Dcheck.go29 func CheckBadCompilerFlags(ctx BaseModuleContext, prop string, flags []string) {
74 func CheckBadLinkerFlags(ctx BaseModuleContext, prop string, flags []string) {
106 func CheckBadHostLdlibs(ctx ModuleContext, prop string, flags []string) {
126 func CheckBadTidyFlags(ctx ModuleContext, prop string, flags []string) {
143 func CheckBadTidyChecks(ctx ModuleContext, prop string, checks []string) {
H A Dutil.go32 func ldDirsToFlags(dirs []string) string {
36 func libNamesToFlags(names []string) string {
48 func moduleToLibName(module string) (string, error) {
108 func addPrefix(list []string, prefix string) []string {
115 func addSuffix(list []string, suffix string) []string {
123 func makeSymlinkCmd(linkDirOnDevice string, linkName string, target string) string {
129 func copyFileRule(ctx android.SingletonContext, path android.Path, out string) android.OutputPath {
143 func combineNoticesRule(ctx android.SingletonContext, paths android.Paths, out string) android.Outp…
154 func writeStringToFileRule(ctx android.SingletonContext, content, out string) android.OutputPath {
165 func installMapListFileRule(ctx android.SingletonContext, m map[string]string, path string) android…
/aosp12/system/tools/aidl/build/
H A Daidl_utils.go23 func wrap(prefix string, strs []string, suffix string) []string {
32 func wrapFunc(prefix string, strs []string, suffix string, f func(string) string) []string {
41 func concat(sstrs ...[]string) []string {
65 func fixRustName(name string) string {
/aosp12/build/soong/cmd/sbox/
H A Dsbox.go60 func usageViolation(violation string) {
86 func findAllFilesUnder(root string) (paths []string) {
198 func readManifest(file string) (*sbox_proto.Manifest, error) {
344 func makeOutputDirs(copies []*sbox_proto.Copy, sandboxDir string) error {
357 func validateOutputFiles(copies []*sbox_proto.Copy, sandboxDir string) []error {
389 func copyOneFile(from string, to string, forceExecutable, allowFromNotExists bool) error {
517 func applyPathMappings(pathMappings []*sbox_proto.PathMapping, path string) string {
530 func moveFiles(copies []*sbox_proto.Copy, fromDir, toDir string) error {
557 func rewriteDepFiles(ins []string, out string) error {
591 func joinPath(dir, file string) string {
[all …]
/ohos5.0/foundation/communication/netmanager_base/test/commonduplicatedcode/
H A Dcommon_netsys_controller_callback_test.h28 virtual int32_t OnInterfaceAddressUpdated(const std::string &, const std::string &, int, int) in OnInterfaceAddressUpdated()
32 virtual int32_t OnInterfaceAddressRemoved(const std::string &, const std::string &, int, int) in OnInterfaceAddressRemoved()
36 virtual int32_t OnInterfaceAdded(const std::string &) in OnInterfaceAdded()
40 virtual int32_t OnInterfaceRemoved(const std::string &) in OnInterfaceRemoved()
44 virtual int32_t OnInterfaceChanged(const std::string &, bool) in OnInterfaceChanged()
48 virtual int32_t OnInterfaceLinkStateChanged(const std::string &, bool) in OnInterfaceLinkStateChanged()
52 …virtual int32_t OnRouteChanged(bool, const std::string &, const std::string &, const std::string &) in OnRouteChanged()
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unit_test/
H A Dtest_notify_callback.cpp27 int32_t TestNotifyCallback::OnInterfaceAddressUpdated(const std::string &, const std::string &, int… in OnInterfaceAddressUpdated()
34 int32_t TestNotifyCallback::OnInterfaceAddressRemoved(const std::string &, const std::string &, int… in OnInterfaceAddressRemoved()
41 int32_t TestNotifyCallback::OnInterfaceAdded(const std::string &) in OnInterfaceAdded()
48 int32_t TestNotifyCallback::OnInterfaceRemoved(const std::string &) in OnInterfaceRemoved()
55 int32_t TestNotifyCallback::OnInterfaceChanged(const std::string &, bool) in OnInterfaceChanged()
62 int32_t TestNotifyCallback::OnInterfaceLinkStateChanged(const std::string &, bool) in OnInterfaceLinkStateChanged()
69 int32_t TestNotifyCallback::OnRouteChanged(bool, const std::string &, const std::string &, const st… in OnRouteChanged()
/aosp12/build/soong/java/
H A Dtesting.go121 func FixtureWithLastReleaseApis(moduleNames ...string) android.FixturePreparer {
148 func FixtureWithPrebuiltApis(release2Modules map[string][]string) android.FixturePreparer {
171 func prebuiltApisFilesForLibs(apiLevels []string, sdkLibs []string) map[string][]byte {
191 func FixtureConfigureBootJars(bootJars ...string) android.FixturePreparer {
220 func FixtureConfigureUpdatableBootJars(bootJars ...string) android.FixturePreparer {
344 …duleDependencies(t *testing.T, ctx *android.TestContext, name, variant string, expected []string) {
360 …ormBootclasspathModules(t *testing.T, result *android.TestResult, name string, expected []string) {
391 …mBootclasspathFragments(t *testing.T, result *android.TestResult, name string, expected []string) {
398 func CheckHiddenAPIRuleInputs(t *testing.T, message string, expected string, hiddenAPIRule android.…
416 …atConfigInputs(t *testing.T, result *android.TestResult, message string, expectedPaths ...string) {
/aosp12/build/soong/cmd/soong_ui/
H A Dmain.go105 func indexList(s string, list []string) int {
115 func inList(s string, list []string) bool {
291 func fixBadDanglingLink(ctx build.Context, name string) {
305 func dumpVar(ctx build.Context, config build.Config, args []string, _ string) {
355 func dumpVars(ctx build.Context, config build.Config, args []string, _ string) {
434 func dumpVarConfig(ctx build.Context, args ...string) build.Config {
438 func buildActionConfig(ctx build.Context, args ...string) build.Config {
518 func runMake(ctx build.Context, config build.Config, _ []string, logsDir string) {
551 func getCommand(args []string) (*command, []string, error) {
598 …irHelper(ctx build.Context, config build.Config, internalDistDirPath string, externalDistDirPath s…
/aosp12/system/tools/hidl/build/
H A Dutils.go18 func wrap(prefix string, strs []string, suffix string) []string {
27 func concat(sstrs ...[]string) []string {
35 func remove(str string, strs []string) []string {
/aosp12/build/soong/cc/config/
H A Dclang.go232 func ClangFilterUnknownCflags(cflags []string) []string {
237 func clangTidyNegateChecks(checks []string) []string {
249 func ClangRewriteTidyChecks(checks []string) []string {
258 func ClangFilterUnknownLldflags(lldflags []string) []string {
263 func ClangLibToolingFilterUnknownCflags(libToolingFlags []string) []string {
267 func inListSorted(s string, list []string) bool {
278 func sorted(list []string) []string {
/aosp12/build/blueprint/bootstrap/bpdoc/
H A Dreader.go41 func NewReader(pkgFiles map[string][]string) *Reader {
49 func (r *Reader) Package(path string) (*Package, error) {
62 func (r *Reader) ModuleType(name string, factory reflect.Value) (*ModuleType, error) {
116 func (r *Reader) getModuleTypeDoc(pkgPath, factoryFuncName string) (string, error) {
140 func (r *Reader) getPropertyStruct(pkgPath, name string) *PropertyStruct {
149 func (r *Reader) putPropertyStruct(pkgPath, name string, ps *PropertyStruct) *PropertyStruct {
164 func (r *Reader) goPkg(pkgPath string) (*doc.Package, error) {
182 func (r *Reader) getGoPkg(pkgPath string) *doc.Package {
189 func (r *Reader) putGoPkg(pkgPath string, pkg *doc.Package) *doc.Package {
205 func funcNameToPkgPath(f string) (string, error) {
[all …]

12345678910>>...56