/build/kati/ |
H A D | io.cc | 27 DumpInt(fp, s.size()); 28 size_t r = fwrite(s.data(), 1, s.size(), fp); 29 CHECK(r == s.size()); 45 size_t r = fread(&(*s)[0], 1, s->size(), fp); 46 if (r != s->size())
|
H A D | stringprintf.cc | 28 int ret = vsnprintf(&str[0], str.size(), format, args); 31 if (static_cast<size_t>(ret) < str.size()) {
|
H A D | strutil_bench.cc | 30 while (s.size() < 400000) {
|
H A D | strutil.cc | 78 int len = static_cast<int>(in->size()); 141 ScopedTerminator::ScopedTerminator(StringPiece s) : s_(s), c_(s[s.size()]) { 142 const_cast<char*>(s_.data())[s_.size()] = '\0'; 146 const_cast<char*>(s_.data())[s_.size()] = c_; 154 ssize_t size_diff = str.size() - prefix.size(); 155 return size_diff >= 0 && str.substr(0, prefix.size()) == prefix; 159 ssize_t size_diff = str.size() - suffix.size(); 169 size_t end = found + w.size(); [all...] |
H A D | string_piece_test.cc | 30 assert(sps.size() == 2);
|
H A D | flags.cc | 34 if (arg[option.size()] == '\0') { 39 if (arg[option.size()] == '=') { 40 *out_arg = arg + option.size() + 1; 44 if (option.size() == 2) { 45 *out_arg = arg + option.size();
|
H A D | string_piece.h | 67 StringPiece(const std::string& str) : ptr_(str.data()), length_(str.size()) {} 69 : ptr_(str.data()), length_(str.size()) {} 77 size_type size() const { return length_; } function in class:StringPiece 120 // std::string doesn't like to take a NULL pointer even with a 0 size. 121 return std::string(!empty() ? data() : "", size()); 192 x.data(), y.data(), (x.size() < y.size() ? x.size() : y.size())); 193 return ((r < 0) || ((r == 0) && (x.size() < [all...] |
H A D | symtab.cc | 47 if (static_cast<size_t>(v_) >= g_symbol_data.size()) { 54 if (static_cast<size_t>(v_) >= g_symbol_data.size()) { 66 if (static_cast<size_t>(v_) >= g_symbol_data.size()) { 131 LOG_STAT("%zu symbols", symbols_.size()); 141 symbols_.push_back(new string(s.data(), s.size())); 142 Symbol sym = Symbol(symtab_.size()); 154 if (s.size() <= 1) {
|
H A D | fileutil.cc | 38 CHECK(filename.size() < PATH_MAX); 55 CHECK(filename.size() < PATH_MAX); 146 uint32_t size = PATH_MAX; 147 if (_NSGetExecutablePath(mypath, &size) != 0) { 150 mypath[size] = 0;
|
H A D | ninja.cc | 62 StringPiece val = TrimLeftSpace(cmd.substr(index + name.size())); 65 val = TrimLeftSpace(val.substr(index + name.size())); 76 *s = s->substr(p.size()); 149 cmd->erase(found, rm_f.size()); 260 const size_t orig_size = cmd_buf->size(); 295 cmd_buf->resize(cmd_buf->size() - 1); 319 cmd_buf->resize(cmd_buf->size() - 1); 323 char c = (*cmd_buf)[cmd_buf->size() - 1]; 326 cmd_buf->resize(cmd_buf->size() - 1); 330 cmd_buf->size() [all...] |
H A D | func.cc | 129 while (index < str.size()) { 135 index = found + pat.size(); 209 if (n < 0 || n == LONG_MAX || s.data() + s.size() != end) { 427 if (args.size() > 2) 492 if (HasPrefix(cmd, "echo $((") && cmd[cmd.size() - 1] == ')') 608 for (size_t i = 1; i < args.size(); i++) { 623 if (i < args.size()) { 757 if (fwrite(&text[0], text.size(), 1, f) != 1) { 782 if (filename.size() <= 1) { 788 if (!filename.size()) { [all...] |
/build/core/combo/ |
H A D | HOST_linux-x86.mk | 28 define get-file-size
|
/build/make/core/combo/ |
H A D | HOST_linux-x86.mk | 28 define get-file-size
|
/build/make/tools/ |
H A D | fat16copy.py | 78 size member which indicates the total file size. 86 self.idx = self.size - amount 92 if self.idx > self.size: 93 self.idx = self.size 102 def __init__(self, fs, cluster, size=None): 106 size: The size of this file. If not given, we use the total length of the 111 self.size = size [all...] |
/build/tools/ |
H A D | fat16copy.py | 78 size member which indicates the total file size. 86 self.idx = self.size - amount 92 if self.idx > self.size: 93 self.idx = self.size 102 def __init__(self, fs, cluster, size=None): 106 size: The size of this file. If not given, we use the total length of the 111 self.size = size [all...] |
/build/make/tools/releasetools/ |
H A D | ota_package_parser.py | 38 self.blocks_stashed += blocks.size() 39 self.current_stash_size += blocks.size() 45 self.current_stash_size -= self.stash_map[SHA1].size() 50 self.overlap_blocks_stashed += blocks.size() 65 def GetSizeString(size): 66 assert size >= 0 68 if size <= base: 69 return "{} bytes".format(size) 71 if size <= base * 1024 or units == 'G': 72 return "{:.1f}{}".format(size / bas [all...] |
H A D | blockimgdiff.py | 92 assert self.clobbered_blocks.size() == 0 219 return (sum(sr.size() for (_, sr) in self.stash_before) - 220 sum(sr.size() for (_, sr) in self.use_stash)) 328 # blocksize: the size in bytes of a block, currently must be 4096. 330 # total_blocks: the total size of the partition/image, in blocks. 483 # Ensure the runtime stash size is under the limit. 500 """Limit the size of operand in command 'new' and 'zero' to 1024 blocks. 502 This prevents the target size of one command from being too large; and 511 total += blocks_to_write.size() 533 stashed_blocks += sr.size() [all...] |
/build/tools/releasetools/ |
H A D | ota_package_parser.py | 38 self.blocks_stashed += blocks.size() 39 self.current_stash_size += blocks.size() 45 self.current_stash_size -= self.stash_map[SHA1].size() 50 self.overlap_blocks_stashed += blocks.size() 65 def GetSizeString(size): 66 assert size >= 0 68 if size <= base: 69 return "{} bytes".format(size) 71 if size <= base * 1024 or units == 'G': 72 return "{:.1f}{}".format(size / bas [all...] |
H A D | blockimgdiff.py | 92 assert self.clobbered_blocks.size() == 0 219 return (sum(sr.size() for (_, sr) in self.stash_before) - 220 sum(sr.size() for (_, sr) in self.use_stash)) 328 # blocksize: the size in bytes of a block, currently must be 4096. 330 # total_blocks: the total size of the partition/image, in blocks. 483 # Ensure the runtime stash size is under the limit. 500 """Limit the size of operand in command 'new' and 'zero' to 1024 blocks. 502 This prevents the target size of one command from being too large; and 511 total += blocks_to_write.size() 533 stashed_blocks += sr.size() [all...] |
/build/make/tools/droiddoc/templates-pdk/assets/ |
H A D | yui-3.3.0-reset-min.css | 8 html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;
|
/build/make/tools/zipalign/ |
H A D | ZipFile.h | 97 status_t add(const void* data, size_t size, const char* storageName, argument 100 return addCommon(NULL, data, size, storageName, 158 int getNumEntries(void) const { return mEntries.size(); } 218 status_t addCommon(const char* fileName, const void* data, size_t size, 225 const void* data, size_t size, uint32_t* pCRC32); 233 const void* data, size_t size, uint32_t* pCRC32);
|
/build/tools/droiddoc/templates-pdk/assets/ |
H A D | yui-3.3.0-reset-min.css | 8 html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;
|
/build/tools/zipalign/ |
H A D | ZipFile.h | 97 status_t add(const void* data, size_t size, const char* storageName, argument 100 return addCommon(NULL, data, size, storageName, 158 int getNumEntries(void) const { return mEntries.size(); } 218 status_t addCommon(const char* fileName, const void* data, size_t size, 225 const void* data, size_t size, uint32_t* pCRC32); 233 const void* data, size_t size, uint32_t* pCRC32);
|
/build/make/tools/droiddoc/templates-pdk/assets/design/ |
H A D | default.css | 36 font-size: 48px; 63 font-size: 12px; 185 .vspace.size-1 { 188 .vspace.size-2 { 191 .vspace.size-3 { 194 .vspace.size-4 { 197 .vspace.size-5 { 200 .vspace.size-6 { 203 .vspace.size-7 { 206 .vspace.size [all...] |
/build/tools/droiddoc/templates-pdk/assets/design/ |
H A D | default.css | 36 font-size: 48px; 63 font-size: 12px; 185 .vspace.size-1 { 188 .vspace.size-2 { 191 .vspace.size-3 { 194 .vspace.size-4 { 197 .vspace.size-5 { 200 .vspace.size-6 { 203 .vspace.size-7 { 206 .vspace.size [all...] |