Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 13 of 13) sorted by relevance

/build/soong/jar/
Djar_test.go140 check := func(t *testing.T, ch rune, i int, want bool) {
142 if got := javaIdentRune(ch, i); got != want {
149 for _, ch := range validFirst {
150 t.Run(string(ch), func(t *testing.T) {
151 check(t, ch, 0, true)
157 for _, ch := range invalidFirst {
158 t.Run(string(ch), func(t *testing.T) {
159 check(t, ch, 0, false)
167 for _, ch := range validPart {
168 t.Run(string(ch), func(t *testing.T) {
[all …]
Djar.go128 func javaIdentRune(ch rune, i int) bool {
129 if unicode.IsLetter(ch) {
132 if unicode.IsDigit(ch) && i > 0 {
136 if unicode.In(ch,
144 if unicode.In(ch,
/build/soong/androidmk/parser/
Dparser.go77 p.scanner.IsIdentRune = func(ch rune, i int) bool {
78 return ch > 0 && ch != ':' && ch != '#' && ch != '=' && ch != '+' && ch != '$' &&
79 ch != '\\' && ch != '(' && ch != ')' && ch != '{' && ch != '}' && ch != ';' &&
80 ch != '|' && ch != '?' && ch != '\r' && !isWhitespace(ch)
623 func isWhitespace(ch rune) bool {
624 return ch == ' ' || ch == '\t' || ch == '\n'
627 func isValidVariableRune(ch rune) bool {
628 return ch != scanner.Ident && ch != ':' && ch != '=' && ch != '#'
Dmake_strings.go193 func (ms *MakeString) EndsWith(ch rune) bool {
195 return s[len(s)-1] == uint8(ch)
/build/soong/android/
Donceper_test.go42 ch := make(chan bool)
44 …go once.Once(key, func() interface{} { close(ch); time.Sleep(100 * time.Millisecond); return "foo"…
45 <-ch
88 ch := make(chan bool)
90 …go once.Once(key, func() interface{} { close(ch); time.Sleep(100 * time.Millisecond); return "foo"…
91 <-ch
184 ch := make(chan interface{})
190 ch <- recover()
198 p := <-ch
/build/soong/cmd/fileslist/
Dfileslist.go98 ch := make(chan Node) // Pass nodes to goroutines.
109 for node := range ch {
144 ch <- newNode(absPath, devicePath, stat)
153 close(ch)
/build/make/tools/releasetools/
Dsign_target_files_apks.py750 for ch in OPTIONS.tag_changes:
751 if ch[0] == "-":
752 tags.discard(ch[1:])
753 elif ch[0] == "+":
754 tags.add(ch[1:])
Dsign_target_files_apks750 for ch in OPTIONS.tag_changes:
751 if ch[0] == "-":
752 tags.discard(ch[1:])
753 elif ch[0] == "+":
754 tags.add(ch[1:])
Dcommon.py397 if (" " in fingerprint or any(ord(ch) > 127 for ch in fingerprint)):
/build/make/tools/droiddoc/templates-pdk/assets/
Djquery-1.6.2.min.js16ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!
/build/soong/cmd/soong_build/
Dwritedocs.go307 width: 30ch;
/build/blueprint/
Dcontext.go2387 ch := make(chan update)
2393 ch <- update{origLogicModule, m}
2404 case update := <-ch:
/build/make/tools/droiddoc/templates-ndk/assets/js/
Dandroid_3p-bundle.js399 var ch = String.fromCharCode(charCode);
400 if (ch === '\\' || ch === '-' || ch === '[' || ch === ']') {
401 ch = '\\' + ch;
403 return ch;
558 function (ch) { argument
559 var cc = ch.charCodeAt(0);
629 var ch = plainText.charAt(i);
631 switch (ch) {