HomeSort by relevance Sort by last modified time
    Searched defs:size (Results 1201 - 1225 of 11184) sorted by null

<<41424344454647484950>>

  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_file.cc 64 for (int i = 0; i < fields.size(); i++) {
69 int size = reflection->FieldSize(message, fields[i]); local
70 for (int j = 0; j < size; j++) {
  /external/protobuf/src/google/protobuf/compiler/javanano/
javanano_file.cc 65 for (int i = 0; i < fields.size(); i++) {
70 int size = reflection->FieldSize(message, fields[i]); local
71 for (int j = 0; j < size; j++) {
  /external/protobuf/src/google/protobuf/io/
printer.cc 60 int size = strlen(text); local
63 for (int i = 0; i < size; i++) {
99 WriteRaw(iter->second.data(), iter->second.size());
110 WriteRaw(text + pos, size - pos);
155 indent_.resize(indent_.size() - 2);
159 WriteRaw(data.data(), data.size());
167 void Printer::WriteRaw(const char* data, int size) {
169 if (size == 0) return;
171 if (at_start_of_line_ && (size > 0) && (data[0] != '\n')) {
174 WriteRaw(indent_.data(), indent_.size());
    [all...]
  /external/protobuf/src/google/protobuf/
reflection_ops.cc 68 for (int i = 0; i < fields.size(); i++) {
134 for (int i = 0; i < fields.size(); i++) {
157 for (int i = 0; i < fields.size(); i++) {
162 int size = reflection->FieldSize(message, field); local
164 for (int j = 0; j < size; j++) {
188 for (int i = 0; i < fields.size(); i++) {
192 int size = reflection->FieldSize(*message, field); local
193 for (int j = 0; j < size; j++) {
243 for (int i = 0; i < fields.size(); i++) {
248 int size = reflection->FieldSize(message, field) local
    [all...]
  /external/regex-re2/util/
arena.h 48 void* GetMemoryFallback(const size_t size, const int align);
51 void* GetMemory(const size_t size, const int align) {
52 if ( size > 0 && size < remaining_ && align == 1 ) { // common case
54 freestart_ += size;
55 remaining_ -= size;
58 return GetMemoryFallback(size, align);
64 size_t size; member in struct:re2::UnsafeArena::AllocatedBlock
96 inline void* operator new(size_t size,
99 return reinterpret_cast<char*>(arena->GetMemory(size, 1))
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ItemizedOverlayTest.java 36 public int size() { method in class:ItemizedOverlayTest.TestItemizedOverlay
  /external/selinux/libselinux/src/
avc_sidtab.c 19 unsigned int size; local
24 size = strlen(keyp);
25 for (p = keyp; (unsigned int)(p - keyp) < size; p++)
compute_create.c 59 size_t size; local
72 size = selinux_page_size;
73 buf = malloc(size);
78 len = snprintf(buf, size, "%s %s %hu",
81 object_name_encode(objname, buf + len, size - len) < 0) {
91 memset(buf, 0, size);
92 ret = read(fd, buf, size - 1);
  /external/selinux/libsepol/cil/src/
cil_strpool.c 48 size_t size; local
53 size = strlen(keyp);
54 for (p = keyp; ((size_t) (p - keyp)) < size; p++)
57 return val & (h->size - 1);
  /external/selinux/libsepol/include/sepol/policydb/
hashtab.h 37 unsigned int size; /* number of slots in hash table */ member in struct:hashtab_val
57 unsigned int size);
  /external/sfntly/cpp/src/test/tinyxml/
tinystr.h 58 // The size type used
134 size_type length () const { return rep_->size; }
137 size_type size () const { return rep_->size; } function in class:TiXmlString
140 bool empty () const { return rep_->size == 0; }
207 void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; }
209 char* finish() const { return rep_->str + rep_->size; }
213 size_type size, capacity;
230 rep_->str[ rep_->size = sz ] = '\0';
  /external/skia/bench/
RectanizerBench.cpp 89 SkISize size; variable
93 size = SkISize::Make(rand.nextRangeU(1, kWidth / 2),
96 size = SkISize::Make(GrNextPow2(rand.nextRangeU(1, kWidth / 2)),
100 size = SkISize::Make(128, 128);
103 if (!fRectanizer->addRect(size.fWidth, size.fHeight, &loc)) {
RectoriBench.cpp 33 SkScalar size = Random.nextRangeScalar(20*blurSigma, 50*blurSigma); variable
35 SkScalar x = Random.nextRangeScalar(0.0f, W - size);
36 SkScalar y = Random.nextRangeScalar(0.0f, H - size);
38 SkRect inner = { x, y, x + size, y + size };
52 SkScalar translate = 2.0f * size;
XfermodeBench.cpp 39 SkISize size = canvas->getDeviceSize(); variable
49 SkScalar x = random.nextRangeScalar(0, (SkScalar)size.fWidth),
50 y = random.nextRangeScalar(0, (SkScalar)size.fHeight);
59 random.nextUScalar1() * (size.fWidth - w),
60 random.nextUScalar1() * (size.fHeight - h),
  /external/skia/gm/
shallowgradient.cpp 13 static SkShader* shader_linear(const SkColor colors[], int count, const SkSize& size) {
14 SkPoint pts[] = { { 0, 0 }, { size.width(), size.height() } };
19 static SkShader* shader_radial(const SkColor colors[], int count, const SkSize& size) {
20 SkPoint center = { size.width()/2, size.height()/2 };
21 return SkGradientShader::CreateRadial(center, size.width()/2, colors, nullptr, count,
25 static SkShader* shader_conical(const SkColor colors[], int count, const SkSize& size) {
26 SkPoint center = { size.width()/2, size.height()/2 }
62 SkSize size = SkSize::Make(r.width(), r.height()); variable
    [all...]
  /external/skia/include/core/
SkData.h 27 size_t size() const { return fSize; } function in class:SkData
60 * length to the size of the data. If buffer is NULL, it is ignored, and
90 * (a null-terminated array of bytes). The returned SkData will have size()
141 * Attempt to read size bytes into a SkData. If the read succeeds, return the data,
145 static SkData* NewFromStream(SkStream*, size_t size);
165 SkData(const void* ptr, size_t size, ReleaseProc, void* context);
166 explicit SkData(size_t size); // inplace new/delete
174 void* operator new(size_t size) { return sk_malloc_throw(size); }
  /external/skia/src/animator/
SkScriptRuntime.cpp 66 int index, size; local
141 memcpy(&size, opCode, sizeof(size));
142 opCode += sizeof(size);
143 strPtr->set((char*) opCode, size);
144 opCode += size;
166 memcpy(&size, opCode, sizeof(size));
167 opCode += sizeof(size);
169 opCode += size; // skip to else (or end of if predicate
    [all...]
SkTypedArray.cpp 138 size_t size = fCount + extra + 4; local
139 size += size >> 2;
140 int32_t* array = (int32_t*)sk_malloc_throw(size * sizeof(int32_t));
148 fReserve = SkToU16((U16CPU)size);
  /external/skia/src/codec/
SkMasks.cpp 62 uint32_t size) {
63 return convert_to_8((pixel & mask) >> shift, size);
72 return get_comp(pixel, fRed.mask, fRed.shift, fRed.size);
75 return get_comp(pixel, fGreen.mask, fGreen.shift, fGreen.size);
78 return get_comp(pixel, fBlue.mask, fBlue.shift, fBlue.size);
81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size);
93 uint32_t size = 0; local
99 // Count the size of the mask
101 size++;
108 size++
    [all...]
  /external/skia/src/core/
SkRegionPriv.h 68 const int64_t size = sk_64_mul(count, sizeof(RunType)) + sizeof(RunHead); local
69 if (count < 0 || !sk_64_isS32(size)) { SK_ABORT("Invalid Size"); }
71 RunHead* head = (RunHead*)sk_malloc_throw(size);
SkUtilsArm.cpp 69 int size = TEMP_FAILURE_RETRY(read(fd, buffer+1, sizeof(buffer)-2)); local
72 if (size < 0) { // should not happen
78 size, buffer+1);
81 char* buffer_end = buffer + 1 + size;
  /external/skia/src/gpu/gl/
GrGLProgram.cpp 129 SkISize size; local
130 size.set(rt->width(), rt->height());
133 fRenderTargetState.fRenderTargetSize != size) {
134 fRenderTargetState.fRenderTargetSize = size;
145 size, rt->origin());
  /external/skia/src/images/
SkJpegUtility.cpp 140 size_t size = skjpeg_destination_mgr::kBufferSize - dest->free_in_buffer; local
141 if (size > 0) {
142 if (!dest->fStream->write(dest->fBuffer, size)) {
  /external/skia/tests/
MaskCacheTest.cpp 45 size_t size = 256; local
46 data = cache.newCachedData(size);
47 memset(data->writable_data(), 0xff, size);
60 REPORTER_ASSERT(reporter, data->size() == size);
83 size_t size = 256; local
84 data = cache.newCachedData(size);
85 memset(data->writable_data(), 0xff, size);
98 REPORTER_ASSERT(reporter, data->size() == size);
    [all...]
PDFDeflateWStreamTest.cpp 22 template <typename T> void* skia_alloc_func(void*, T items, T size) {
23 return sk_calloc_throw(SkToSizeT(items) * SkToSizeT(size));
107 uint32_t size = random.nextULessThan(10000); local
108 SkAutoTMalloc<uint8_t> buffer(size);
109 for (uint32_t j = 0; j < size; ++j) {
117 while (j < size) {
119 SkTMin(size - j, random.nextRangeU(1, 400));
131 if (decompressed->getLength() != size) {
132 ERRORF(r, "Decompression failed to get right size [%d]."
134 (unsigned)size);
    [all...]

Completed in 648 milliseconds

<<41424344454647484950>>