/external/protobuf/src/google/protobuf/io/ |
tokenizer.cc | 146 // This supports any number base up to 36. 572 int base = 10; local 576 base = 16; 580 base = 8; 587 GOOGLE_LOG_IF(DFATAL, digit < 0 || digit >= base) 590 if (digit > max_value || result > (max_value - digit) / base) { 594 result = result * base + digit;
|
/external/qemu/android/ |
snapshot.c | 174 int64_t base; local 180 base = 1024; 182 if (size < (10 * base)) { 184 (double)size / base, 187 } else if (size < (1000 * base) || i == (NB_SUFFIXES - 1)) { 189 ((size + (base >> 1)) / base), 193 base = base * 1024;
|
/external/qemu/android/utils/ |
path.c | 71 const char* base; local 77 base = end; 78 while (base > path && !ispathsep(base[-1])) 79 base--; 81 if (base <= path) /* we can't go that far */ 84 if (end == base+1 && base[0] == '.') 87 if (end == base+2 && base[0] == '.' && base[1] == '.') [all...] |
/external/qemu/ |
charpipe.c | 166 uint8_t* base; local 191 avail = cbuffer_read_peek( bip->cb, &base ); 195 avail, ph, quote_bytes( base, avail )); 197 qemu_chr_read( peer->cs, base, avail ); 355 uint8_t* base; local 362 avail = cbuffer_read_peek( bip->cb, &base ); 371 size = qemu_chr_write( peer, base, avail );
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
SDL_fbvideo.h | 47 char *base; member in struct:vidmem_bucket
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsyuv.c | 81 caddr_t base; local 215 base = hwdata->ipu_omem; 247 packet[pnum].ptr = (void *)base; 257 base += 16 * 16 * bpp;
|
/external/qemu/hw/ |
i8254.c | 130 uint64_t d, next_time, base; local 144 base = (d / s->count) * s->count; 145 if ((d - base) == 0 && d != 0) 146 next_time = base + s->count; 148 next_time = base + s->count + 1; 151 base = (d / s->count) * s->count; 153 if ((d - base) < period2) 154 next_time = base + period2; 156 next_time = base + s->count; 488 PITState *pit_init(int base, qemu_irq irq [all...] |
/external/skia/src/gpu/ |
GrDefaultPathRenderer.cpp | 235 GrPoint* base; local 236 if (!target->reserveVertexSpace(layout, maxPts, (void**)&base)) { 239 GrAssert(NULL != base); 240 GrPoint* vert = base; 266 uint16_t currIdx = (uint16_t) (vert - base); 275 uint16_t prevIdx = (uint16_t)(vert - base) - 1; 283 uint16_t firstQPtIdx = (uint16_t)(vert - base) - 1; 299 uint16_t firstCPtIdx = (uint16_t)(vert - base) - 1; 315 uint16_t currIdx = (uint16_t) (vert - base); 321 GrAssert((vert - base) <= maxPts) [all...] |
/external/skia/src/images/ |
bmpdecoderhelper.cpp | 95 int base = i * 3; local 96 colTab_[base + 2] = GetByte(); 97 colTab_[base + 1] = GetByte(); 98 colTab_[base] = GetByte(); 264 int base = ((y * width_) + x) * 3; local 266 output_[base] = colTab_[colBase]; 267 output_[base + 1] = colTab_[colBase + 1]; 268 output_[base + 2] = colTab_[colBase + 2]; 308 int base = col * 3; local 309 line[0] = colTab_[base]; [all...] |
/external/srec/portable/src/ |
plog.c | 72 PLogger base; member in struct:FileLogger_t 92 FileLogger *p = STATIC_CAST(self, FileLogger, base); 104 FileLogger *p = STATIC_CAST(self, FileLogger, base); 116 FileLogger *p = STATIC_CAST(self, FileLogger, base); 134 fileLogger->base.printf = FileLoggerPrintf; 135 fileLogger->base.flush = FileLoggerFlush; 136 fileLogger->base.destroy = FileLoggerDestroy; 139 *logger = &fileLogger->base;
|
/external/srec/tools/parseStringTest/ |
parseStringTest.c | 63 pfprintf(PSTDOUT, "usage: %s -base <basefilename> [-in <input file>] [-out <output file>] [-itest <testfilename>]\n", exename); 279 LCHAR base[P_PATH_MAX] = L(""); local 303 if (!LSTRCMP(argv[i], L("-base"))) 306 LSTRCPY(base, argv[i]); 338 rc = SR_GrammarLoad(base, &grammar);
|
/external/stlport/test/unit/ |
codecvt_test.cpp | 56 typedef codecvt<char,char,mbstate_t> base; typedef in struct:eater_codecvt 58 explicit eater_codecvt(size_t refs = 0) : base(refs) {} 61 virtual base::result 149 typedef codecvt<char,char,mbstate_t> base; typedef in struct:generator_codecvt 151 explicit generator_codecvt(size_t refs = 0) : base(refs) {} 154 virtual base::result
|
/external/tremolo/Tremolo/ |
floor1.c | 222 void render_lineARM(int n, ogg_int32_t *d,const ogg_int32_t *floor, int base, int err, int adx, int ady); 229 int base; local 240 base=dy/adx; 244 ady-=abs(base*adx); 246 /* We should add base each time, and then: 249 * As an optimisation we say that if dy <0 we make base 1 smaller. 256 base--; 268 floor+=base; 277 render_lineARM(n,d,floor,base,err,adx,ady);
|
/external/v8/test/cctest/ |
test-log-stack-tracer.cc | 308 int base = 0; local 309 CHECK_GT(sample.frames_count, base + 1); 311 CHECK(IsAddressWithinFuncCode("JSFuncDoTrace", sample.stack[base + 0])); 312 CHECK(IsAddressWithinFuncCode("JSTrace", sample.stack[base + 1])); 358 int base = 0; local 359 CHECK_GT(sample.frames_count, base + 1); 360 CHECK(IsAddressWithinFuncCode("JSTrace", sample.stack[base + 0])); 361 CHECK(IsAddressWithinFuncCode("OuterJSTrace", sample.stack[base + 1])); 370 // Approximate a frame pointer address. We compile without base pointers,
|
/external/valgrind/main/VEX/priv/ |
main_util.c | 259 least 67 bytes long). Observe BASE, SYNED and HEXCAPS. */ 262 Int base, Bool syned, Bool hexcaps ) 282 buf[bufi++] = toHChar('0' + toUInt(u0 % base)); 283 u0 /= base; 329 HChar intbuf[100]; /* big enough for a 64-bit # in base 2 */ 403 convert_int(intbuf, l, 10/*base*/, True/*signed*/, 415 Int base = *format == 'u' ? 10 : 16; local 423 convert_int(intbuf, l, base, False/*unsigned*/, hexcaps); 435 convert_int(intbuf, l, 16/*base*/, False/*unsigned*/, hexcaps);
|
/external/webkit/Source/JavaScriptCore/interpreter/ |
RegisterFile.h | 45 frame by its offset from "base", the logical first entry in the register 46 file. The bottom-most register frame's offset from base is 0. 55 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | | | | | | <-- index relative to base 60 buffer base (frame 0) frame 1 frame 2 64 globals must appear at the beginning of the register file, shifting base 74 | -4 | -3 | -2 | -1 | 0 | 1 |< > <-- index relative to base 79 buffer base (frame 0) 81 As you can see, global offsets relative to base have stayed constant, 82 but base itself has moved. To keep up with possible changes to base, 176 void* base = m_reservation.base(); local [all...] |
/external/webkit/Source/WebCore/html/canvas/ |
CheckedInt.h | 140 typedef integer_type_manually_recorded_info<explicit_sized_type> base; typedef in struct:WebCore::CheckedInt_internal::integer_type_manually_recorded_info 141 typedef typename base::twice_bigger_type twice_bigger_type; 142 typedef typename base::unsigned_type unsigned_type;
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
TilesManager.cpp | 53 // In our case, we use 256*256 textures. Both base and layers can use up to 58 // TODO: after merge the pool of base tiles and layer tiles, we should revisit 76 // Half of glMaxTextureSize can be used for base, the other half for layers. 144 ALOGV("allocated %d textures for base (total: %d, %d Mb), %d textures for layers (total: %d, %d Mb)", 199 bool base = textures == m_textures; local 207 int* countPtr = base ? &m_currentTextureCount : &m_currentLayerTextureCount; 210 base ? "base" : "layer", *countPtr, remainedTextureNumber); 218 max, base ? "base" : "layer") [all...] |
/external/webkit/Source/WebCore/xml/ |
XSLTProcessorLibxslt.cpp | 120 xmlChar* base = xmlNodeGetBase(context->document->doc, context->node); local 121 KURL url(KURL(ParsedURLString, reinterpret_cast<const char*>(base)), reinterpret_cast<const char*>(uri)); 122 xmlFree(base);
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
base_unittest.py | 42 import base namespace 49 output = "OUTPUT %s %s %s" % (base.Port._WDIFF_DEL, base.Port._WDIFF_ADD, base.Port._WDIFF_END) 50 html = base.Port()._format_wdiff_output_as_html(output) 55 port = base.Port() 76 port = base.Port(executive=executive_mock.MockExecutive2(exception=OSError)) 89 port = base.Port(executive=executive_mock.MockExecutive2(exception=ScriptError)) 108 port = base.Port() 132 base._wdiff_available = Tru [all...] |
chromium.py | 44 from webkitpy.layout_tests.port import base namespace 52 class ChromiumPort(base.Port): 53 """Abstract base class for Chromium implementations of the Port class.""" 62 base.Port.__init__(self, **kwargs) 335 class ChromiumDriver(base.Driver): 518 return base.DriverOutput(text, output_image, actual_checksum, audio=None,
|
test.py | 39 import base namespace 47 self.base = name[(name.rfind("/") + 1):name.rfind(".html")] 59 self.actual_text = self.base + '-txt' 60 self.actual_checksum = self.base + '-checksum' 64 self.actual_image = self.base + '\x8a' + '-png' 195 base = test.base 196 path = LAYOUT_TEST_DIR + '/' + dirname + '/' + base + suffix 245 class TestPort(base.Port): 258 base.Port.__init__(self, port_name=port_name, filesystem=filesystem, user=user [all...] |
webkit.py | 44 from webkitpy.layout_tests.port import base namespace 50 class WebKitPort(base.Port): 54 base.Port.__init__(self, **kwargs) 362 class WebKitDriver(base.Driver): 441 return base.DriverOutput(text, image, actual_image_hash, audio,
|
/external/zlib/contrib/blast/ |
blast.c | 245 * This is the base-2 logarithm of the dictionary size minus six. 304 static const short base[16] = { /* base for length codes */ local 328 len = base[symbol] + bits(s, extra[symbol]);
|
/frameworks/av/services/camera/libcameraservice/ |
CameraHardwareStub.cpp | 173 void *base = heap->base(); local 176 uint8_t *frame = ((uint8_t *)base) + offset; 292 cam.getNextFrameAsYuv420((uint8_t *)mRawHeap->base()); 299 memcpy(heap->base(), kCannedJpeg, kCannedJpegSize);
|