Searched refs:size (Results 1 - 25 of 113) sorted by relevance

12345

/build/kati/
H A Dio.cc27 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 Dstringprintf.cc28 int ret = vsnprintf(&str[0], str.size(), format, args);
31 if (static_cast<size_t>(ret) < str.size()) {
H A Dstrutil_bench.cc30 while (s.size() < 400000) {
H A Dstrutil.cc74 int len = static_cast<int>(in->size());
143 : s_(s), c_(s[s.size()]) {
144 const_cast<char*>(s_.data())[s_.size()] = '\0';
148 const_cast<char*>(s_.data())[s_.size()] = c_;
156 ssize_t size_diff = str.size() - prefix.size();
157 return size_diff >= 0 && str.substr(0, prefix.size()) == prefix;
161 ssize_t size_diff = str.size() - suffix.size();
171 size_t end = found + w.size();
[all...]
H A Dstring_piece_test.cc30 assert(sps.size() == 2);
H A Dflags.cc34 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 Dstring_piece.h68 : ptr_(str.data()), length_(str.size()) { }
70 : ptr_(str.data()), length_(str.size()) { }
79 size_type size() const { return length_; } function in class:StringPiece
122 // std::string doesn't like to take a NULL pointer even with a 0 size.
123 return std::string(!empty() ? data() : "", size());
196 x.data(), y.data(), (x.size() < y.size() ? x.size() : y.size()));
197 return ((r < 0) || ((r == 0) && (x.size() <
[all...]
H A Dsymtab.cc51 if (static_cast<size_t>(v_) >= g_symbol_data.size()) {
63 if (static_cast<size_t>(v_) >= g_symbol_data.size()) {
129 LOG_STAT("%zu symbols", symbols_.size());
139 symbols_.push_back(new string(s.data(), s.size()));
140 Symbol sym = Symbol(symtab_.size());
152 if (s.size() <= 1) {
H A Dfileutil.cc38 CHECK(filename.size() < PATH_MAX);
55 CHECK(filename.size() < PATH_MAX);
144 uint32_t size = PATH_MAX;
145 if (_NSGetExecutablePath(mypath, &size) != 0) {
148 mypath[size] = 0;
/build/core/combo/
H A DHOST_linux-x86.mk28 define get-file-size
/build/make/core/combo/
H A DHOST_linux-x86.mk28 define get-file-size
/build/make/tools/
H A Dfat16copy.py78 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 Dfat16copy.py78 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/ijar/
H A Dzip_main.cc59 const u1* data, const size_t size);
71 // puting the result in "out". "size" specify the size of the output buffer
72 void concat_path(char* out, const size_t size, argument
76 strncpy(out, path1, size - 1);
77 out[size-1] = 0;
78 if (l < size - 1 && path1[len1] != '/' && path2[0] != '/') {
83 if (l < size - 1) {
84 strncat(out, path2, size - 1 - l);
114 const u1* data, const size_t size) {
113 Process(const char* filename, const u4 attr, const u1* data, const size_t size) argument
183 u8 size = ZipBuilder::EstimateSize(files); local
[all...]
H A Dclassfile.cc110 if (idx < 0 || (unsigned)idx >= const_pool_in.size()) {
153 slot_ = const_pool_out.size(); // BugBot's "narrowing" warning
438 WriteProlog(p, exceptions_.size() * 2 + 2);
439 put_u2be(p, exceptions_.size());
440 for (size_t ii = 0; ii < exceptions_.size(); ++ii) {
459 for (size_t i = 0; i < entries_.size(); i++) {
490 entry_count = kept_entries.size();
491 for (size_t i_entry = 0; i_entry < entries_.size(); ++i_entry) {
512 } while (entry_count != kept_entries.size());
514 if (kept_entries.size()
[all...]
/build/tools/ijar/
H A Dzip_main.cc59 const u1* data, const size_t size);
71 // puting the result in "out". "size" specify the size of the output buffer
72 void concat_path(char* out, const size_t size, argument
76 strncpy(out, path1, size - 1);
77 out[size-1] = 0;
78 if (l < size - 1 && path1[len1] != '/' && path2[0] != '/') {
83 if (l < size - 1) {
84 strncat(out, path2, size - 1 - l);
114 const u1* data, const size_t size) {
113 Process(const char* filename, const u4 attr, const u1* data, const size_t size) argument
183 u8 size = ZipBuilder::EstimateSize(files); local
[all...]
H A Dclassfile.cc110 if (idx < 0 || (unsigned)idx >= const_pool_in.size()) {
153 slot_ = const_pool_out.size(); // BugBot's "narrowing" warning
438 WriteProlog(p, exceptions_.size() * 2 + 2);
439 put_u2be(p, exceptions_.size());
440 for (size_t ii = 0; ii < exceptions_.size(); ++ii) {
459 for (size_t i = 0; i < entries_.size(); i++) {
490 entry_count = kept_entries.size();
491 for (size_t i_entry = 0; i_entry < entries_.size(); ++i_entry) {
512 } while (entry_count != kept_entries.size());
514 if (kept_entries.size()
[all...]
/build/make/tools/releasetools/
H A Dblockimgdiff.py91 assert self.clobbered_blocks.size() == 0
208 return (sum(sr.size() for (_, sr) in self.stash_before) -
209 sum(sr.size() for (_, sr) in self.use_stash))
242 # blocksize: the size in bytes of a block, currently must be 4096.
244 # total_blocks: the total size of the partition/image, in blocks.
337 # Ensure the runtime stash size is under the limit.
349 """Limit the size of operand in command 'new' and 'zero' to 1024 blocks.
351 This prevents the target size of one command from being too large; and
360 total += blocks_to_write.size()
382 stashed_blocks += sr.size()
[all...]
/build/tools/releasetools/
H A Dblockimgdiff.py91 assert self.clobbered_blocks.size() == 0
208 return (sum(sr.size() for (_, sr) in self.stash_before) -
209 sum(sr.size() for (_, sr) in self.use_stash))
242 # blocksize: the size in bytes of a block, currently must be 4096.
244 # total_blocks: the total size of the partition/image, in blocks.
337 # Ensure the runtime stash size is under the limit.
349 """Limit the size of operand in command 'new' and 'zero' to 1024 blocks.
351 This prevents the target size of one command from being too large; and
360 total += blocks_to_write.size()
382 stashed_blocks += sr.size()
[all...]
/build/make/tools/droiddoc/templates-pdk/assets/
H A Dyui-3.3.0-reset-min.css8 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 DZipFile.h97 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 Dyui-3.3.0-reset-min.css8 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 DZipFile.h97 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 Ddefault.css36 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 Ddefault.css36 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...]

Completed in 182 milliseconds

12345