Searched defs:name (Results 1 - 25 of 26) sorted by relevance

12

/build/kati/
H A Dtimeutil.cc37 ScopedTimeReporter::ScopedTimeReporter(const char* name) argument
38 : name_(name), start_(GetTime()) {
H A Dstats.cc36 Stats::Stats(const char* name) argument
37 : name_(name), elapsed_(0), cnt_(0) {
H A Dfunc.h27 const char* name; member in struct:FuncInfo
40 FuncInfo* GetFuncInfo(StringPiece name);
H A Dmain.cc196 const Symbol name = p.first; local
198 Var* v = ev->LookupVar(name);
200 LOG("setenv(%s, %s)", name.c_str(), value.c_str());
201 setenv(name.c_str(), value.c_str(), 1);
203 LOG("unsetenv(%s)", name.c_str());
204 unsetenv(name.c_str());
H A Dsymtab.cc93 ScopedGlobalVar::ScopedGlobalVar(Symbol name, Var* var) argument
94 : name_(name), orig_(NULL) {
95 orig_ = name.GetGlobalVar();
H A Dvar.cc121 Var* Vars::Lookup(Symbol name) const {
122 auto found = find(name);
128 used_env_vars_.insert(name);
133 void Vars::Assign(Symbol name, Var* v, bool* readonly) { argument
135 auto p = emplace(name, v);
157 ScopedVar::ScopedVar(Vars* vars, Symbol name, Var* var) argument
159 auto p = vars->emplace(name, var);
H A Deval.cc106 Error("*** empty variable name.");
111 for (auto const& name : WordScanner(rhs)) {
112 Var* var = Intern(name).GetGlobalVar();
114 Error(StringPrintf("*** unknown variable: %s", name.as_string().c_str()));
197 for (auto const& name : WordScanner(rhs_value)) {
198 Var* var = current_scope_->Lookup(Intern(name));
200 Error(StringPrintf("*** unknown variable: %s", name.as_string().c_str()));
341 Var* Evaluator::LookupVarGlobal(Symbol name) { argument
342 Var* v = name.GetGlobalVar();
345 used_undefined_vars_.insert(name);
349 LookupVar(Symbol name) argument
358 LookupVarInCurrentScope(Symbol name) argument
365 EvalVar(Symbol name) argument
[all...]
H A Ddep.cc90 void Add(StringPiece name, const Rule* rule) { argument
91 if (name.empty() || name[0] == '%') {
92 rules_.push_back(Entry(rule, name));
95 const char c = name[0];
100 p.first->second->Add(name.substr(1), rule);
103 void Get(StringPiece name, vector<const Rule*>* rules) const { argument
105 if ((ent.suffix.empty() && name.empty()) ||
106 HasSuffix(name, ent.suffix.substr(1))) {
110 if (name
589 Symbol name = p.first; local
[all...]
H A Dexpr.cc159 const string&& name = name_->Eval(ev); variable
161 Var* v = ev->LookupVar(Intern(name));
186 const string&& name = name_->Eval(ev); variable
187 Var* v = ev->LookupVar(Intern(name));
225 LOG("Invoke func %s(%s)", name(), JoinValues(args_, ",").c_str());
233 fi_->name,
241 const char* name() const { return fi_->name; } function in class:Func
322 f->name(), terms[0]);
336 nargs - 1, f->name());
[all...]
H A Dfind.cc163 explicit DirentNode(const string& name) { argument
164 base_ = Basename(name).as_string();
184 DirentFileNode(const string& name, unsigned char type) argument
185 : DirentNode(name), type_(type) {
232 explicit DirentDirNode(const string& name) argument
233 : DirentNode(name) {
343 void Add(const string& name, DirentNode* c) { argument
344 children_.emplace(children_.end(), name, c);
353 explicit DirentSymlinkNode(const string& name) argument
354 : DirentNode(name), to
[all...]
H A Dninja.cc49 static size_t FindCommandLineFlag(StringPiece cmd, StringPiece name) { argument
50 const size_t found = cmd.find(name);
57 StringPiece name) {
58 size_t index = FindCommandLineFlag(cmd, name);
62 StringPiece val = TrimLeftSpace(cmd.substr(index + name.size()));
63 index = val.find(name);
65 val = TrimLeftSpace(val.substr(index + name.size()));
66 index = val.find(name);
334 bool IsOutputMkdir(const char *name, StringPiece cmd) { argument
343 StringPiece dir = Dirname(name);
56 FindCommandLineFlagWithArg(StringPiece cmd, StringPiece name) argument
399 GenShellScript(const char *name, const vector<Command*>& commands, string* cmd_buf, string* description) argument
[all...]
H A Dfunc.cc865 bool ok = g_func_info_map->emplace(fi->name, fi).second;
874 FuncInfo* GetFuncInfo(StringPiece name) { argument
875 auto found = g_func_info_map->find(name);
/build/core/
H A Ddevice.mk51 # $(1): short device name like "sooner"
53 define _resolve-short-device-name
72 # $(1): short device name like "sooner"
74 define resolve-short-device-name
75 $(strip $(call _resolve-short-device-name,$(1)))
H A Dproduct.mk22 # If the <product_name> is the same as the base file name (without dir
31 -name .git -prune \
32 -o -name AndroidProducts.mk -print))
224 # Returns the product makefile path for the product with the provided name
226 # $(1): short product name like "generic"
228 define _resolve-short-product-name
245 define resolve-short-product-name
246 $(strip $(call _resolve-short-product-name,$(1)))
H A DMakefile205 ro.product.name \
421 name := $(TARGET_PRODUCT) macro
423 name := $(name)_debug macro
425 name := $(name)-apkcerts-$(FILE_NAME_TAG) macro
428 APKCERTS_FILE := $(intermediates)/$(name).txt
438 'name="$(p).apk" certificate="EXTERNAL" \
441 'name="$(p).apk" certificate="$(PACKAGES.$(p).CERTIFICATE)" \
913 # opt := <name>[
2051 name := $(TARGET_PRODUCT) macro
2053 name := $(name)_debug macro
2055 name := $(name)-target_files-$(FILE_NAME_TAG) macro
2420 name := $(TARGET_PRODUCT) macro
2422 name := $(name)_debug macro
2424 name := $(name)-ota-$(FILE_NAME_TAG) macro
2450 name := $(TARGET_PRODUCT) macro
2452 name := $(name)_debug macro
2454 name := $(name)-img-$(FILE_NAME_TAG) macro
2470 name := $(TARGET_PRODUCT) macro
2472 name := $(name)_debug macro
2474 name := $(name)-symbols-$(FILE_NAME_TAG) macro
2495 name := $(TARGET_PRODUCT) macro
2497 name := $(name)_debug macro
2499 name := $(name)-coverage-$(FILE_NAME_TAG) macro
2519 name := $(TARGET_PRODUCT) macro
2521 name := $(name)_debug macro
2523 name := $(name)-apps-$(FILE_NAME_TAG) macro
2589 name := $(TARGET_PRODUCT)-emulator-$(FILE_NAME_TAG) macro
[all...]
/build/make/core/
H A Ddevice.mk51 # $(1): short device name like "sooner"
53 define _resolve-short-device-name
72 # $(1): short device name like "sooner"
74 define resolve-short-device-name
75 $(strip $(call _resolve-short-device-name,$(1)))
H A Dproduct.mk22 # If the <product_name> is the same as the base file name (without dir
31 -name .git -prune \
32 -o -name AndroidProducts.mk -print))
224 # Returns the product makefile path for the product with the provided name
226 # $(1): short product name like "generic"
228 define _resolve-short-product-name
245 define resolve-short-product-name
246 $(strip $(call _resolve-short-product-name,$(1)))
H A DMakefile205 ro.product.name \
421 name := $(TARGET_PRODUCT) macro
423 name := $(name)_debug macro
425 name := $(name)-apkcerts-$(FILE_NAME_TAG) macro
428 APKCERTS_FILE := $(intermediates)/$(name).txt
438 'name="$(p).apk" certificate="EXTERNAL" \
441 'name="$(p).apk" certificate="$(PACKAGES.$(p).CERTIFICATE)" \
913 # opt := <name>[
2051 name := $(TARGET_PRODUCT) macro
2053 name := $(name)_debug macro
2055 name := $(name)-target_files-$(FILE_NAME_TAG) macro
2420 name := $(TARGET_PRODUCT) macro
2422 name := $(name)_debug macro
2424 name := $(name)-ota-$(FILE_NAME_TAG) macro
2450 name := $(TARGET_PRODUCT) macro
2452 name := $(name)_debug macro
2454 name := $(name)-img-$(FILE_NAME_TAG) macro
2470 name := $(TARGET_PRODUCT) macro
2472 name := $(name)_debug macro
2474 name := $(name)-symbols-$(FILE_NAME_TAG) macro
2495 name := $(TARGET_PRODUCT) macro
2497 name := $(name)_debug macro
2499 name := $(name)-coverage-$(FILE_NAME_TAG) macro
2519 name := $(TARGET_PRODUCT) macro
2521 name := $(name)_debug macro
2523 name := $(name)-apps-$(FILE_NAME_TAG) macro
2589 name := $(TARGET_PRODUCT)-emulator-$(FILE_NAME_TAG) macro
[all...]
/build/make/tools/
H A Dmerge-event-log-tags.py73 # Explicit tag numbers must be unique. (If the tag name is also the
104 # if the name and description are identical, issue a warning
112 "tag name \"%s\" used by conflicting tag %s from %s:%d" %
151 # assigned. We do this based on a hash of the tag name so that the
157 for name, t in sorted(by_tagname.iteritems()):
168 x = (hashname(name) % (ASSIGN_LIMIT - ASSIGN_START - 1)) + ASSIGN_START
173 name = "_" + name variable
H A Dfat16copy.py134 def shorten(name, index):
136 Create a file short name from the given long name (with the extension already
138 name to avoid collisions.
140 name = "".join(name.split('.')).upper()
142 return name[:8 - len(postfix)] + postfix
174 shortname: Short name of this file. Up to 8 characters, no dots.
176 longname: The long name for this file, with extension. Largely unrestricted.
187 def make_short_name(self, name)
307 def name(self): member in class:dentry
[all...]
/build/tools/
H A Dmerge-event-log-tags.py73 # Explicit tag numbers must be unique. (If the tag name is also the
104 # if the name and description are identical, issue a warning
112 "tag name \"%s\" used by conflicting tag %s from %s:%d" %
151 # assigned. We do this based on a hash of the tag name so that the
157 for name, t in sorted(by_tagname.iteritems()):
168 x = (hashname(name) % (ASSIGN_LIMIT - ASSIGN_START - 1)) + ASSIGN_START
173 name = "_" + name variable
H A Dfat16copy.py134 def shorten(name, index):
136 Create a file short name from the given long name (with the extension already
138 name to avoid collisions.
140 name = "".join(name.split('.')).upper()
142 return name[:8 - len(postfix)] + postfix
174 shortname: Short name of this file. Up to 8 characters, no dots.
176 longname: The long name for this file, with extension. Largely unrestricted.
187 def make_short_name(self, name)
307 def name(self): member in class:dentry
[all...]
/build/make/tools/atree/
H A Datree.cpp95 escape_filename(const string& name) argument
98 for (string::const_iterator iter = name.begin(); iter != name.end(); ++iter)
239 // get the name and modtime of the output files
/build/tools/atree/
H A Datree.cpp95 escape_filename(const string& name) argument
98 for (string::const_iterator iter = name.begin(); iter != name.end(); ++iter)
239 // get the name and modtime of the output files
/build/make/tools/ijar/
H A Dclassfile.cc484 // kept. Then we mark its outer class and its class name as kept, too, then
1194 Constant *name; member in struct:devtools_ijar::Member
1200 m->name = constant(get_u2be(p));
1208 put_u2be(p, name->slot());
1572 if (method->name->Display() == "<clinit>") continue;
1586 // identifiers as part of the class name. Note that signatures are UTF-8, but

Completed in 624 milliseconds

12