/aosp12/build/soong/android/ |
H A D | bazel_paths.go | 85 func BazelLabelForModuleDeps(ctx BazelConversionPathContext, modules []string) bazel.LabelList { 103 func BazelLabelForModuleSrcSingle(ctx BazelConversionPathContext, path string) bazel.Label { 113 func BazelLabelForModuleSrc(ctx BazelConversionPathContext, paths []string) bazel.LabelList { 137 func directoryHasBlueprint(fs pathtools.FileSystem, prefix string, components []string, componentIn… 291 func getOtherModuleLabel(ctx BazelConversionPathContext, dep, tag string) bazel.Label { 319 func bazelShortLabel(label string) string { 324 func bazelPackage(label string) string { 329 func samePackage(label1, label2 string) bool { 347 func (p BazelOutPath) objPathWithExt(ctx ModuleOutPathContext, subdir, ext string) ModuleObjPath { 353 func PathForBazelOut(ctx PathContext, paths ...string) BazelOutPath { [all …]
|
H A D | paths.go | 69 func Glob(ctx EarlyModulePathContext, globPattern string, excludes []string) Paths { 79 func GlobFiles(ctx EarlyModulePathContext, globPattern string, excludes []string) Paths { 233 func GenPathWithExt(ctx ModuleOutPathContext, subdir string, p Path, ext string) ModuleGenPath { 243 func ObjPathWithExt(ctx ModuleOutPathContext, subdir string, p Path, ext string) ModuleObjPath { 546 func expandOneSrcPath(ctx ModuleWithDepsPathContext, sPath string, expandedExcludes []string) (Path… 795 func (p Paths) HasExt(ext string) bool { 1657 func pathForNdkOrSdkInstall(ctx PathContext, prefix string, paths []string) InstallPath { 1948 func Rel(ctx PathContext, basePath string, targetPath string) string { 1959 func MaybeRel(ctx PathContext, basePath string, targetPath string) (string, bool) { 1967 func maybeRelErr(basePath string, targetPath string) (string, bool, error) { [all …]
|
H A D | testing.go | 335 func (o *registeredComponentOrder) checkTestOrder(testOrder []string, unknownComponents []string) { 465 func (ctx *TestContext) ParseFileList(rootDir string, filePaths []string) (deps []string, errs []er… 528 func (ctx *TestContext) ModuleVariantsForTests(name string) []string { 667 func normalizeStringRelativeToTop(config Config, s string) string { 800 func (b baseTestingComponent) Rule(rule string) TestingBuildParams { 825 func (b baseTestingComponent) Output(file string) TestingBuildParams { 862 func (m TestingModule) OutputFiles(t *testing.T, tag string) Paths { 1050 func StringPathRelativeToTop(soongOutDir string, path string) string { 1091 func StringPathsRelativeToTop(soongOutDir string, paths []string) []string { 1107 func StringRelativeToTop(config Config, command string) string { [all …]
|
H A D | neverallow.go | 270 func (m *equalMatcher) Test(value string) bool { 281 func (m *anyMatcher) Test(value string) bool { 307 func (m *regexMatcher) Test(value string) bool { 396 func (r *rule) In(path ...string) Rule { 401 func (r *rule) NotIn(path ...string) Rule { 459 func (r *rule) Because(reason string) Rule { 504 func (r *rule) appliesToPath(dir string) bool { 558 func StartsWith(prefix string) ValueMatcher { 562 func Regexp(re string) ValueMatcher { 570 func NotInList(allowed []string) ValueMatcher { [all …]
|
H A D | visibility.go | 82 func newVisibilityProperty(name string, stringsProperty *[]string) visibilityProperty { 157 func isAncestor(p1 string, p2 string) bool { 248 func checkRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) { 326 func parseRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) compositeR… 393 func isAllowedFromOutsideVendor(pkg string, name string) bool { 404 func splitRule(ctx BaseModuleContext, ruleExpression string, currentPkg, property string) (bool, st… 526 func (v *visibilityRuleSet) Widen(extra []string) error { 604 func AddVisibilityProperty(module Module, name string, stringsProperty *[]string) { 608 func addVisibilityProperty(module Module, name string, stringsProperty *[]string) visibilityPropert… 618 func setPrimaryVisibilityProperty(module Module, name string, stringsProperty *[]string) {
|
H A D | makevars.go | 441 func (c *makeVarsContext) addPhony(name string, deps []string) { 445 func (c *makeVarsContext) addDist(goals []string, paths []string) { 452 func (c *makeVarsContext) Strict(name, ninjaStr string) { 455 func (c *makeVarsContext) StrictSorted(name, ninjaStr string) { 458 func (c *makeVarsContext) StrictRaw(name, value string) { 462 func (c *makeVarsContext) Check(name, ninjaStr string) { 465 func (c *makeVarsContext) CheckSorted(name, ninjaStr string) { 468 func (c *makeVarsContext) CheckRaw(name, value string) { 472 func (c *makeVarsContext) Phony(name string, deps ...Path) { 480 func (c *makeVarsContext) DistForGoalWithFilename(goal string, path Path, filename string) { [all …]
|
/aosp12/build/blueprint/proptools/ |
H A D | escape.go | 24 func NinjaEscapeList(slice []string) []string { 37 func NinjaEscape(s string) string { 49 func ShellEscapeList(slice []string) []string { 81 func ShellEscape(s string) string { 96 func ShellEscapeIncludingSpaces(s string) string { 105 func NinjaAndShellEscapeList(slice []string) []string { 109 func NinjaAndShellEscape(s string) string {
|
/aosp12/system/tools/aidl/build/ |
H A D | aidl_interface_backends.go | 29 func addLibrary(mctx android.LoadHookContext, i *aidlInterface, version string, lang string) string… 38 func addCppLibrary(mctx android.LoadHookContext, i *aidlInterface, version string, lang string) str… 214 func addJavaLibrary(mctx android.LoadHookContext, i *aidlInterface, version string) string { 269 func addRustLibrary(mctx android.LoadHookContext, i *aidlInterface, version string) string { 326 func (i *aidlInterface) versionedName(version string) string { 334 func (i *aidlInterface) srcsForVersion(mctx android.LoadHookContext, version string) (srcs []string… 351 func (i *aidlInterface) versionForAidlGenRule(version string) string { 358 func (i *aidlInterface) flagsForAidlGenRule(version string) (flags []string) { 367 func (i *aidlInterface) isModuleForVndk(version string) bool { 390 func (i *aidlInterface) getImportWithVersion(version string, anImport string, config android.Config…
|
/aosp12/build/soong/finder/fs/ |
H A D | fs.go | 119 func (osFs) Rename(oldPath string, newPath string) error { 127 func (osFs) Remove(path string) error { 131 func (osFs) RemoveAll(path string) error { 168 func pathSplit(path string) (dir string, leaf string) { 565 func (m *MockFs) Rename(sourcePath string, destPath string) error { 748 func (m *MockFs) newLink(target string) *mockLink { 758 func (m *MockFs) MkDirs(path string) error { 813 func (m *MockFs) Remove(path string) (err error) { 863 func (m *MockFs) Symlink(oldPath string, newPath string) (err error) { 885 func (m *MockFs) RemoveAll(path string) (err error) { [all …]
|
/aosp12/build/blueprint/ |
H A D | glob.go | 25 func verifyGlob(key globKey, pattern string, excludes []string, g pathtools.GlobResult) { 40 func (c *Context) glob(pattern string, excludes []string) ([]string, error) { 114 func globToKey(pattern string, excludes []string) globKey {
|
H A D | package_ctx.go | 96 func NewPackageContext(pkgPath string) PackageContext { 179 func pkgPathToName(pkgPath string) string { 218 func (p *packageContext) Import(pkgPath string) { 338 func (p *packageContext) VariableFunc(name string, 663 func NewBuiltinPool(name string) Pool { 702 argNames ...string) Rule { 778 func (r *staticRule) isArg(argName string) bool { 816 error), argNames ...string) Rule { 896 func (r *ruleFunc) isArg(argName string) bool { 940 func (r *builtinRule) isArg(argName string) bool { [all …]
|
H A D | ninja_writer.go | 48 func (n *ninjaWriter) Comment(comment string) error { 106 func (n *ninjaWriter) Pool(name string) error { 111 func (n *ninjaWriter) Rule(name string) error { 116 func (n *ninjaWriter) Build(comment string, rule string, outputs, implicitOuts, 118 pkgNames map[*packageContext]string) error { 192 func (n *ninjaWriter) Assign(name, value string) error { 213 func (n *ninjaWriter) ScopedAssign(name, value string) error { 259 func (n *ninjaWriter) Subninja(file string) error { 273 func (n *ninjaWriter) writeStatement(directive, name string) error { 320 func (n *ninjaWriterWithWrap) WriteString(s string) (written int, noError error) { [all …]
|
/aosp12/build/soong/sdk/ |
H A D | bp.go | 101 func (s *bpPropertySet) AddProperty(name string, value interface{}) { 128 func (s *bpPropertySet) AddPropertySet(name string) android.BpPropertySet { 133 func (s *bpPropertySet) getValue(name string) interface{} { 137 func (s *bpPropertySet) getOptionalValue(name string) (interface{}, bool) { 142 func (s *bpPropertySet) getTag(name string) interface{} { 146 func (s *bpPropertySet) AddCommentForProperty(name, text string) { 195 func (s *bpPropertySet) setProperty(name string, value interface{}) { 204 func (s *bpPropertySet) removeProperty(name string) { 210 func (s *bpPropertySet) insertAfter(position string, name string, value interface{}) { 403 func (f *bpFile) newModule(moduleType string) *bpModule { [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/common/json_utils/ |
H A D | softbus_json_utils.c | 24 int32_t GetStringItemByJsonObject(const cJSON *json, const char * const string, char *target, in GetStringItemByJsonObject() 49 bool GetJsonObjectStringItem(const cJSON *json, const char * const string, char *target, in GetJsonObjectStringItem() 74 bool GetJsonObjectNumberItem(const cJSON *json, const char * const string, int32_t *target) in GetJsonObjectNumberItem() 104 bool GetJsonObjectDoubleItem(const cJSON *json, const char * const string, double *target) in GetJsonObjectDoubleItem() 164 bool GetJsonObjectInt32Item(const cJSON *json, const char * const string, int32_t *target) in GetJsonObjectInt32Item() 179 bool GetJsonObjectBoolItem(const cJSON *json, const char * const string, bool *target) in GetJsonObjectBoolItem() 194 bool AddStringToJsonObject(cJSON *json, const char * const string, const char *value) in AddStringToJsonObject() 232 bool AddNumber16ToJsonObject(cJSON *json, const char * const string, uint16_t num) in AddNumber16ToJsonObject() 251 bool AddNumberToJsonObject(cJSON *json, const char * const string, int32_t num) in AddNumberToJsonObject() 270 bool AddNumber64ToJsonObject(cJSON *json, const char * const string, int64_t num) in AddNumber64ToJsonObject() [all …]
|
/aosp12/build/soong/cmd/soong_build/ |
H A D | main.go | 93 func newConfig(srcDir, outDir string, availableEnv map[string]string) android.Config { 107 …nMixedModeBuild(configuration android.Config, firstCtx *android.Context, extraNinjaDeps []string) { 165 …leGraph(configuration android.Config, ctx *android.Context, path string, extraNinjaDeps []string) { 177 func doChosenActivity(configuration android.Config, extraNinjaDeps []string) string { 292 func writeUsedEnvironmentFile(configuration android.Config, finalOutputFile string) { 324 func writeFakeNinjaFile(extraNinjaDeps []string, buildDir string) { 339 func touch(path string) { 363 func runBp2Build(configuration android.Config, extraNinjaDeps []string) {
|
/aosp12/build/blueprint/bootstrap/ |
H A D | cleanup.go | 35 srcDir, buildDir string, under, exempt []string) error { 83 func parseNinjaLog(ninjaBuildDir string, under []string) ([]string, error) { 137 func removeFileAndEmptyDirs(path string) error {
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/video/ |
H A D | video_test_ng_add.cpp | 240 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b0502() 320 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b0902() 400 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b0d02() 481 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b1102() 564 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b1502() 647 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b1902() 732 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b1d02() 816 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b2102() 905 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b2502() 982 …ntCallback onStop = [&stopCheck](const std::string& /* param */) { stopCheck = VIDEO_STOP_EVENT; }; in __anon57d7258b2902() [all …]
|
/aosp12/build/blueprint/bpmodify/ |
H A D | bpmodify.go | 62 func processFile(filename string, in io.Reader, out io.Writer) error { 146 func processModule(module *parser.Module, moduleName string, 175 func getRecursiveProperty(module *parser.Module, name string, prefixes []string) (prop *parser.Prop… 180 func createRecursiveProperty(module *parser.Module, name string, prefixes []string, 186 func getOrCreateRecursiveProperty(module *parser.Module, name string, prefixes []string, 270 func targetedModule(name string) bool { 283 func visitFile(path string, f os.FileInfo, err error) error { 293 func walkDir(path string) { 379 func (f stringPtrFlag) Set(s string) error { 400 func (m *identSet) Set(s string) error { [all …]
|
/aosp12/build/soong/java/ |
H A D | prebuilt_apis.go | 63 func parseJarPath(path string) (module string, apiver string, scope string) { 73 func parseApiFilePath(ctx android.LoadHookContext, path string) (module string, apiver string, scop… 88 func prebuiltApiModuleName(mctx android.LoadHookContext, module string, scope string, apiver string… 92 func createImport(mctx android.LoadHookContext, module, scope, apiver, path, sdkVersion string, com… 109 func createApiModule(mctx android.LoadHookContext, name string, path string) { 123 func createEmptyFile(mctx android.LoadHookContext, name string) { 135 func getPrebuiltFiles(mctx android.LoadHookContext, p *prebuiltApis, name string) []string { 143 func getPrebuiltFilesInSubdir(mctx android.LoadHookContext, subdir string, name string) []string { 173 func createSystemModules(mctx android.LoadHookContext, apiver string) {
|
/aosp12/build/soong/androidmk/parser/ |
H A D | make_strings.go | 41 func SimpleMakeString(s string, pos Pos) *MakeString { 65 func (ms *MakeString) appendString(s string) { 125 func (ms *MakeString) Split(sep string) []*MakeString { 129 func (ms *MakeString) SplitN(sep string, n int) []*MakeString { 216 func (ms *MakeString) splitNFunc(n int, splitFunc func(s string, n int) []string) []*MakeString { 275 func (ms *MakeString) ReplaceLiteral(input string, output string) { 281 func splitAnyN(s, sep string, n int) []string { 299 func unescape(s string) string {
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/config/ |
H A D | audio_param_parser.cpp | 38 …std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioPara… in LoadConfiguration() 82 …std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioPara… in ParseInternal() 103 …std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioPara… in ParseMainKeys() 115 …std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioPara… in ParseMainKey() 133 …std::unordered_map<std::string, std::unordered_map<std::string, std::set<std::string>>> &audioPara… in ParseSubKeys()
|
/aosp12/build/soong/ui/build/ |
H A D | bazel.go | 30 …nc getBazelInfo(ctx Context, config Config, bazelExecutable string, bazelEnv map[string]string, qu… 207 func populateOutdir(ctx Context, config Config, rootPath string, relativePath string) {
|
/aosp12/build/soong/ui/build/paths/ |
H A D | logs.go | 46 func procFallback(name string) (string, func(), error) { 57 func tmpFallback(name string) (addr string, cleanup func(), err error) { 84 func getSocketAddr(name string) (string, func(), error) { 112 func dial(name string, lookup socketAddrFunc, timeout time.Duration) (net.Conn, error) { 125 func listen(name string, lookup socketAddrFunc) (net.Listener, error) { 135 func SendLog(logSocket string, entry *LogEntry, done chan interface{}) { 139 func sendLog(logSocket string, lookup socketAddrFunc, timeout time.Duration, entry *LogEntry, done … 156 func LogListener(ctx context.Context, logSocket string) (chan *LogEntry, error) { 160 func logListener(ctx context.Context, logSocket string, lookup socketAddrFunc) (chan *LogEntry, err…
|
/aosp12/build/soong/zip/cmd/ |
H A D | main.go | 44 func (u *uniqueSet) Set(s string) error { 58 func (file) Set(s string) error { 67 func (listFiles) Set(s string) error { 76 func (rspFiles) Set(s string) error { 85 func (dir) Set(s string) error { 94 func (relativeRoot) Set(s string) error { 104 func (junkPaths) Set(s string) error { 114 func (rootPrefix) Set(s string) error {
|
/aosp12/build/soong/cc/ |
H A D | cmakelists.go | 85 func getEnvVariable(name string, ctx android.SingletonContext) string { 91 func exists(path string) bool { 206 func cleanExecutableName(s string) string { 227 func buildCMakePath(p string) string { 271 func writeAllFlags(flags []string, f *os.File, tag string) { 303 func categorizeParameter(parameter string) parameterType { 330 func normalizeParameters(params []string) []string { 416 func cleanupParameter(p string) string { 441 func escape(s string) string { 447 func doubleEscape(s string) string { [all …]
|