Home
last modified time | relevance | path

Searched refs:std (Results 1 – 25 of 43) sorted by relevance

12

/build/tools/makeparallel/
Dmakeparallel.cpp60 static std::vector<std::string> ReadMakeflags() { in ReadMakeflags()
61 std::vector<std::string> args; in ReadMakeflags()
73 std::string makeflags = makeflags_env; in ReadMakeflags()
101 static bool ParseMakeflags(std::vector<std::string>& args, in ParseMakeflags()
104 std::vector<char*> getopt_argv; in ParseMakeflags()
108 for (std::string& v : args) { in ParseMakeflags()
306 std::vector<char*> args({argv[1]}); in main()
308 std::vector<std::string> makeflags = ReadMakeflags(); in main()
319 std::string jarg = "-j" + std::to_string(tokens + 1); in main()
DMakefile46 $(MAKEPARALLEL_LD) -std=c++11 $(MAKEPARALLEL_CXXFLAGS) -o $@ $^ $(MAKEPARALLEL_LIBS)
51 $(MAKEPARALLEL_CXX) -c -std=c++11 $(MAKEPARALLEL_CXXFLAGS) -o $@ $<
/build/kati/
Dstring_piece.cc47 void StringPiece::CopyToString(std::string* target) const { in CopyToString()
51 void StringPiece::AppendToString(std::string* target) const { in AppendToString()
57 size_type ret = std::min(length_ - pos, n); in copy()
66 const char* result = std::search(ptr_ + pos, ptr_ + length_, in find()
76 const char* result = std::find(ptr_ + pos, ptr_ + length_, c); in find()
85 return std::min(length_, pos); in rfind()
87 const char* last = ptr_ + std::min(length_ - s.length_, pos) + s.length_; in rfind()
88 const char* result = std::find_end(ptr_, last, s.ptr_, s.ptr_ + s.length_); in rfind()
96 for (size_type i = std::min(pos, length_ - 1); ; --i) { in rfind()
185 for (size_type i = std::min(pos, length_ - 1); ; --i) { in find_last_of()
[all …]
Dstring_piece.h55 typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
56 typedef std::reverse_iterator<iterator> reverse_iterator;
67 StringPiece(const std::string& str) in StringPiece()
69 StringPiece(const std::string&& str) in StringPiece()
121 std::string as_string() const { in as_string()
123 return std::string(!empty() ? data() : "", size()); in as_string()
126 void CopyToString(std::string* target) const;
127 void AppendToString(std::string* target) const;
212 namespace std {
DMakefile.ckati84 $(KATI_LD) -std=c++11 $(KATI_CXXFLAGS) -o $@ $^ $(KATI_LIBS)
89 $(KATI_CXX) -c -std=c++11 $(KATI_CXXFLAGS) -o $@ $<
94 $(KATI_CXX) -c -std=c++11 $(KATI_CXXFLAGS) -o $@ $<
Dsymtab.h23 using namespace std; variable
87 namespace std {
Dstringprintf.h20 using namespace std; variable
Dregen.h20 using namespace std; variable
Dexec.h20 using namespace std; variable
Dthread_pool.h20 using namespace std; variable
Dstrutil_bench.cc23 using namespace std;
Dfile_cache.h22 using namespace std; variable
Dninja.h25 using namespace std; variable
Dstring_piece_test.cc23 using namespace std;
Dfunc.h24 using namespace std; variable
Dio.h24 using namespace std; variable
Dfileutil.h25 using namespace std; variable
Dfile.h23 using namespace std; variable
Dflags.h24 using namespace std; variable
Dparser.h24 using namespace std; variable
Dcommand.h22 using namespace std; variable
/build/tools/ijar/
Dclassfile.cc101 static std::vector<Constant*> const_pool_in; // input constant pool
102 static std::vector<Constant*> const_pool_out; // output constant_pool
103 static std::set<std::string> used_class_names;
134 virtual std::string Display() = 0;
178 void ExtractClassNames(const std::string& desc, size_t* p);
192 std::string Display() { in Display()
217 std::string Display() { in Display()
243 std::string Display() { in Display()
264 std::string Display() { return "int/float"; } in Display()
282 std::string Display() { return "long/double"; } in Display()
[all …]
Dijar.cc90 std::unique_ptr<ZipExtractor> in(ZipExtractor::Create(file_in, &processor)); in OpenFilesAndProcessJar()
97 std::unique_ptr<ZipBuilder> out(ZipBuilder::Create(file_out, output_length)); in OpenFilesAndProcessJar()
/build/tools/atree/
Doptions.h7 using namespace std; variable
Dfs.h6 using namespace std; variable

12