/build/kati/ |
D | string_piece.cc | 56 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const { in copy() 57 size_type ret = std::min(length_ - pos, n); in copy() 58 memcpy(buf, ptr_ + pos, ret); in copy() 62 size_type StringPiece::find(const StringPiece& s, size_type pos) const { in find() 63 if (pos > length_) in find() 66 const char* result = std::search(ptr_ + pos, ptr_ + length_, in find() 72 size_type StringPiece::find(char c, size_type pos) const { in find() 73 if (pos >= length_) in find() 76 const char* result = std::find(ptr_ + pos, ptr_ + length_, c); in find() 80 size_type StringPiece::rfind(const StringPiece& s, size_type pos) const { in rfind() [all …]
|
D | string_piece.h | 153 size_type copy(char* buf, size_type n, size_type pos = 0) const; 155 size_type find(const StringPiece& s, size_type pos = 0) const; 156 size_type find(char c, size_type pos = 0) const; 157 size_type rfind(const StringPiece& s, size_type pos = npos) const; 158 size_type rfind(char c, size_type pos = npos) const; 160 size_type find_first_of(const StringPiece& s, size_type pos = 0) const; 161 size_type find_first_of(char c, size_type pos = 0) const { 162 return find(c, pos); 164 size_type find_first_not_of(const StringPiece& s, size_type pos = 0) const; 165 size_type find_first_not_of(char c, size_type pos = 0) const; [all …]
|
D | ninja.cc | 87 size_t pos = GetGomaccPosForAndroidCompileCommand(cmdline.substr(index)); in GetGomaccPosForAndroidCompileCommand() local 88 return pos == string::npos ? string::npos : pos + index; in GetGomaccPosForAndroidCompileCommand() 442 size_t pos = GetGomaccPosForAndroidCompileCommand(translated); in GenShellScript() local 443 if (pos != string::npos) { in GenShellScript() 444 cmd_buf->insert(cmd_start + pos, gomacc_); in GenShellScript()
|
D | eval.go | 184 pos := make([]int, 0, len(args)) 191 pos = append(pos, buf.Len()) 196 for _, p := range pos {
|
/build/blueprint/parser/ |
D | printer.go | 33 pos scanner.Position member 55 pos: scanner.Position{ 131 func (p *printer) printList(list []Value, pos, endPos scanner.Position) { 133 p.printToken("[", pos) 134 if len(list) > 1 || pos.Line != endPos.Line { 151 func (p *printer) printMap(list []*Property, pos, endPos scanner.Position) { 153 p.printToken("{", pos) 154 if len(list) > 0 || pos.Line != endPos.Line { 188 func (p *printer) printToken(s string, pos scanner.Position) { 191 if pos == noPos { [all …]
|
D | parser.go | 108 pos := p.scanner.Position 109 if !pos.IsValid() { 110 pos = p.scanner.Pos() 114 Pos: pos, 155 pos := p.scanner.Position 162 defs = append(defs, p.parseAssignment(ident, pos, "+=")) 164 defs = append(defs, p.parseAssignment(ident, pos, "=")) 166 defs = append(defs, p.parseModule(ident, pos)) 186 pos := p.scanner.Position 195 assignment.Pos = pos [all …]
|
D | sort.go | 123 if c.Pos.Offset > e.pos.Offset && c.Pos.Offset < e.nextPos.Offset { 125 file.Comments[j].Pos.Offset += values[i].Pos.Offset - e.pos.Offset 129 curPos.Offset += e.nextPos.Offset - e.pos.Offset 152 pos scanner.Position member
|
/build/soong/androidmk/cmd/androidmk/ |
D | androidmk.go | 26 pos scanner.Position member 37 Pos: f.pos, 44 Pos: f.pos, 49 func (f *bpFile) setPos(pos, endPos scanner.Position) { 50 f.pos = pos 53 if f.pos.Line > f.prevLine+1 { 57 f.pos.Line = f.line 62 f.pos.Line++ 103 Pos: file.pos, 278 …val, err := makeVariableToBlueprint(file, mkparser.SimpleMakeString("false", file.pos), bpparser.B… [all …]
|
/build/soong/androidmk/parser/ |
D | parser.go | 69 pos := p.scanner.Position 70 if !pos.IsValid() { 71 pos = p.scanner.Pos() 75 Pos: pos, 171 pos := p.scanner.Position 172 endPos := pos 175 expression := SimpleMakeString("", pos) 189 pos: pos, 327 pos := p.scanner.Position 328 endPos := pos [all …]
|
D | makething.go | 50 pos scanner.Position member 55 return m.pos
|
D | make_strings.go | 26 func SimpleMakeString(s string, pos scanner.Position) *MakeString { 28 Pos: pos,
|
/build/tools/ |
D | parsedeps.py | 12 self.pos = "" 38 def setPos(self, tgt, pos): argument 43 t.pos = pos 98 pos,tgt = line.rsplit(":", 1) 99 pos = pos[1:].strip() 101 deps.setPos(tgt, pos) 136 if t.pos: 137 print t.tgt, " " * (width-len(t.tgt)), " #", t.pos
|
/build/tools/releasetools/ |
D | sparse_img.py | 68 pos = 0 # in blocks 87 care_data.append(pos) 88 care_data.append(pos + chunk_sz) 89 offset_map.append((pos, chunk_sz, f.tell(), None)) 90 pos += chunk_sz 95 care_data.append(pos) 96 care_data.append(pos + chunk_sz) 97 offset_map.append((pos, chunk_sz, None, fill_data)) 98 pos += chunk_sz 105 pos += chunk_sz
|
/build/tools/atree/ |
D | fs.cpp | 105 size_t pos = 0; in mkdir_recursively() local 108 if (path.length() != 0 and path[0] == '/') pos++; in mkdir_recursively() 111 pos = path.find('/', pos); in mkdir_recursively() 112 string p = path.substr(0, pos); in mkdir_recursively() 128 pos++; in mkdir_recursively()
|
D | files.cpp | 152 string::size_type pos = 0; in replace_variables() local 153 while((pos = result.find(it->first, pos)) != string::npos) { in replace_variables() 154 result = result.replace(pos, it->first.length(), it->second); in replace_variables() 155 pos += it->second.length(); in replace_variables() 385 int pos = filename.rfind('/'); in dir_part() local 386 if (pos <= 0) { in dir_part() 389 return filename.substr(0, pos); in dir_part()
|
/build/blueprint/ |
D | module_ctx.go | 116 Errorf(pos scanner.Position, fmt string, args ...interface{}) 190 func (d *baseModuleContext) Errorf(pos scanner.Position, 195 Pos: pos, 204 Pos: d.module.pos, 211 pos := d.module.propertyPos[property] 213 if !pos.IsValid() { 214 pos = d.module.pos 221 Pos: pos, 250 Pos: module.pos, 528 Pos: module.pos,
|
D | context.go | 127 pos scanner.Position member 1004 Pos: module.pos, 1063 module.pos = moduleDef.Type.Pos 1080 Pos: module.pos, 1084 Pos: group.modules[0].pos, 1170 Pos: module.pos, 1183 Pos: module.pos, 1202 Pos: module.pos, 1210 Pos: module.pos, 1219 Pos: module.pos, [all …]
|
/build/core/ |
D | checktree | 24 pos = 0 26 pos = s.find(" ", pos) + 1 28 return s[pos:]
|
/build/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-reference.js | 242 var pos = full.lastIndexOf("/"); 243 file = full.substr(pos) + file; 244 full = full.substr(0, pos);
|
/build/tools/droiddoc/templates-sdk-dev/assets/js/ |
D | android_3p-bundle.js | 257 var pos = html.indexOf('&'); 258 if (pos < 0) { return html; } 262 for (--pos; (pos = html.indexOf('&#', pos + 1)) >= 0;) { 263 var end = html.indexOf(';', pos); 265 var num = html.substring(pos + 3, end); 273 html = (html.substring(0, pos) + String.fromCharCode(codePoint) + 627 var pos = 0; 634 out.push(plainText.substring(pos, i)); 644 pos = i + 1; 654 out.push(plainText.substring(pos)); [all …]
|
/build/tools/droiddoc/templates-sac/assets/js/ |
D | android_3p-bundle.js | 257 var pos = html.indexOf('&'); 258 if (pos < 0) { return html; } 262 for (--pos; (pos = html.indexOf('&#', pos + 1)) >= 0;) { 263 var end = html.indexOf(';', pos); 265 var num = html.substring(pos + 3, end); 273 html = (html.substring(0, pos) + String.fromCharCode(codePoint) + 627 var pos = 0; 634 out.push(plainText.substring(pos, i)); 644 pos = i + 1; 654 out.push(plainText.substring(pos)); [all …]
|
/build/tools/droiddoc/templates-sdk-refonly/assets/js/ |
D | android_3p-bundle.js | 257 var pos = html.indexOf('&'); 258 if (pos < 0) { return html; } 262 for (--pos; (pos = html.indexOf('&#', pos + 1)) >= 0;) { 263 var end = html.indexOf(';', pos); 265 var num = html.substring(pos + 3, end); 273 html = (html.substring(0, pos) + String.fromCharCode(codePoint) + 627 var pos = 0; 634 out.push(plainText.substring(pos, i)); 644 pos = i + 1; 654 out.push(plainText.substring(pos)); [all …]
|
/build/tools/droiddoc/templates-ndk/assets/js/ |
D | android_3p-bundle.js | 257 var pos = html.indexOf('&'); 258 if (pos < 0) { return html; } 262 for (--pos; (pos = html.indexOf('&#', pos + 1)) >= 0;) { 263 var end = html.indexOf(';', pos); 265 var num = html.substring(pos + 3, end); 273 html = (html.substring(0, pos) + String.fromCharCode(codePoint) + 627 var pos = 0; 634 out.push(plainText.substring(pos, i)); 644 pos = i + 1; 654 out.push(plainText.substring(pos)); [all …]
|
/build/tools/droiddoc/templates-sdk/assets/js/ |
D | android_3p-bundle.js | 257 var pos = html.indexOf('&'); 258 if (pos < 0) { return html; } 262 for (--pos; (pos = html.indexOf('&#', pos + 1)) >= 0;) { 263 var end = html.indexOf(';', pos); 265 var num = html.substring(pos + 3, end); 273 html = (html.substring(0, pos) + String.fromCharCode(codePoint) + 627 var pos = 0; 634 out.push(plainText.substring(pos, i)); 644 pos = i + 1; 654 out.push(plainText.substring(pos)); [all …]
|
/build/tools/droiddoc/templates-ds/assets/js/ |
D | docs.js | 2171 var pos = full.lastIndexOf("/"); 2172 file = full.substr(pos) + file; 2173 full = full.substr(0, pos);
|