/external/qemu-pc-bios/vgabios/ |
vbe.c | 1155 Bit16u result, val; local 1160 val = biosfn_read_video_state_size2(CX); 1162 printf("VGA state size=%x\n", val); 1165 val += vbe_biosfn_read_video_state_size(); 1166 write_word(ss, BX, val); 1169 val = read_word(ss, BX); 1170 val = biosfn_save_video_state(CX, ES, val); 1172 printf("VGA save_state offset=%x\n", val); 1175 vbe_biosfn_save_video_state(ES, val); [all...] |
/external/quake/quake/src/QW/client/ |
md4.c | 287 unsigned val; local 294 val = digest[0] ^ digest[1] ^ digest[2] ^ digest[3]; 296 return val;
|
snd_mix.c | 42 int val;
local 46 val = (snd_p[i]*snd_vol)>>8;
47 if (val > 0x7fff)
49 else if (val < (short)0x8000)
52 snd_out[i] = val;
54 val = (snd_p[i+1]*snd_vol)>>8;
55 if (val > 0x7fff)
57 else if (val < (short)0x8000)
60 snd_out[i+1] = val;
146 int val;
local [all...] |
/external/quake/quake/src/QW/server/ |
sv_send.c | 621 eval_t *val; local 651 val = GetEdictFieldValue(ent, "gravity"); 652 if (val && host_client->entgravity != val->_float) { 653 host_client->entgravity = val->_float; 657 val = GetEdictFieldValue(ent, "maxspeed"); 658 if (val && host_client->maxspeed != val->_float) { 659 host_client->maxspeed = val->_float;
|
/external/quake/quake/src/WinQuake/ |
net_wipx.cpp | 317 int val;
local 327 if (sscanf (buf, "%x", &val) != 1) \
329 ((struct sockaddr_ipx *)addr)->dest = val
343 sscanf (&string[22], "%u", &val);
344 ((struct sockaddr_ipx *)addr)->sa_socket = htons((unsigned short)val);
|
snd_mix.cpp | 49 int val; local 53 val = (snd_p[i]*snd_vol)>>8; 54 if (val > 0x7fff) 56 else if (val < (short)0x8000) 59 snd_out[i] = val; 61 val = (snd_p[i+1]*snd_vol)>>8; 62 if (val > 0x7fff) 64 else if (val < (short)0x8000) 67 snd_out[i+1] = val; 154 int val; local [all...] |
sv_main.cpp | 583 eval_t *val; local 629 val = GetEdictFieldValue(ent, "items2"); 631 if (val) 632 items = (int)ent->u.v.items | ((int)val->_float << 23);
|
/external/skia/src/core/ |
SkCordic.cpp | 207 float val; local 232 for (val = -1; val <= 1; val += .1f) { 233 SkFixed f_val = (int) (val * 65536.0f); 235 float arcsine = asinf(val); 240 SkDebugf("asin error : val = %g ; asin = %g ; cordic = %g\n", val, arcsine, arcsine2); 243 for (val = -1; val <= 1; val += .1f) [all...] |
/external/skia/src/images/ |
bmpdecoderhelper.cpp | 228 uint8 val = 0; local 231 val = GetByte(); 234 uint8 col = val; 286 uint32 val = GetShort(); local 287 line[0] = ((val & redBits_) >> redShiftRight_) << redShiftLeft_; 288 line[1] = ((val & greenBits_) >> greenShiftRight_) << greenShiftLeft_; 289 line[2] = ((val & blueBits_) >> blueShiftRight_) << blueShiftLeft_;
|
/external/skia/tests/ |
BitmapCopyTest.cpp | 106 uint32_t val = 0; local 114 memcpy(&val, rawAddr, sizeof(uint32_t)); 119 val = val16; 124 val = val8; 129 val = (val8 >> shift) & 0x1 ; 134 return val; 138 // bm.getConfig() specifies what format 'val' must be 140 void setPixel(int x, int y, uint32_t val, SkBitmap& bm) { 148 memcpy(rawAddr, &val, sizeof(uint32_t)); 152 val16 = val & 0xFFFF [all...] |
/external/stlport/src/ |
time_facets.cpp | 408 long val; variable 411 val = (long)(year % 100 + 100) % 100; 414 val = (long)year; 417 val = (long)days / 7 + 1; 420 _bend = __write_integer(_buf, 0, val);
|
/external/stlport/test/unit/ |
money_facets_test.cpp | 255 _STLP_LONGEST_FLOAT_TYPE val; local 257 long double val; local 261 fmg.get(istr, istreambuf_iterator<char, char_traits<char> >(), false, ostr, err, val); 265 CPPUNIT_ASSERT( val == 123456 ); 268 CPPUNIT_ASSERT( val == -123456 );
|
num_put_get_test.cpp | 56 static bool check_float(float val, float ref) 59 return val <= ref + epsilon && val >= ref - epsilon; 62 static bool check_double(double val, double ref) 65 return val <= ref + epsilon && val >= ref - epsilon; 284 F val; local 285 str >> val; local 288 CPPUNIT_ASSERT( limits::infinity() > val ); 297 F val; local 298 str >> val; local 833 float val; local 834 str >> val; local 846 float val; local 847 str >> val; local 860 double val; local 861 str >> val; local 873 double val; local 874 str >> val; local 897 short val; local 898 istr >> oct >> val; local 906 istr >> oct >> val; local 918 short val = -1; local 919 istr >> val; local 927 istr >> val; local 936 istr >> val; local 945 istr >> val; local 953 istr >> val; local 964 short val = -1; local 965 istr >> hex >> val; local 973 istr >> hex >> val; local 981 istr >> hex >> val; local 988 istr >> hex >> val; local 997 istr >> hex >> val; local [all...] |
/external/svox/pico/lib/ |
picokfst.c | 97 picoos_uint32 val; local 99 val = 0; 101 val = (val << 8) + (picoos_uint32)stream[*pos]; 104 if (val % 2 == 1) { 106 (*num) = -((picoos_int32)((val - 1) / 2)) - 1; 109 (*num) = val / 2; 118 picoos_uint32 val; local 121 val = 0; 125 val = (val << 7) + b 314 picoos_int32 val; local 391 picoos_int32 val; local 422 picoos_uint32 val; local [all...] |
picoklex.c | 101 lexentry = LENGRAPH1 {GRAPH1}=LENGRAPH1-1 3 POS1 <reserved-phon-val=5> 250 picoos_uint32 pos, val; local 252 val = this->searchind[pos]; 253 val = (val << 8) + this->searchind[pos + 1]; 254 val = (val << 8) + this->searchind[pos + 2]; 255 return val;
|
/external/tremolo/Tremolo/ |
floor0.c | 63 long val=INVSQ_LOOKUP_I[i]- /* 1.16 */ local 65 val*=ADJUST_SQRT2[e&1]; 67 return(val>>e); 182 ogg_int32_t val=MULT32(lsp[i],0x517cc2); local 184 ogg_int32_t val=((lsp[i]>>10)*0x517d)>>14; 188 if(val<0 || (val>>COS_LOOKUP_I_SHIFT)>=COS_LOOKUP_I_SZ){ 193 ilsp[i]=vorbis_coslook_i(val);
|
floor1.c | 341 int val=fit_value[i]; local 343 if(val){ 344 if(val>=room){ 346 val = val-loroom; 348 val = -1-(val-hiroom); 351 if(val&1){ 352 val= -((val+1)>>1) [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
d3basics.c | 377 ULong val = read_leb128( *data, &len, 0 ); local 379 return val; 387 ULong val = read_leb128( *data, &len, 1 ); local 389 return (Long)val; [all...] |
/external/valgrind/main/none/tests/amd64/ |
amd64locked.c | 146 static ULong val[NVALS] 180 static ULong val[NVALS] variable 244 g_val = val[v1]; \ 245 e_val = val[v2]; \ 338 e_val = val[v2]; \ 454 e_val = val[v2]; \
|
/external/valgrind/main/none/tests/x86/ |
x86locked.c | 146 static unsigned int val[NVALS] 171 static unsigned int val[NVALS] variable 229 g_val = val[v1]; \ 230 e_val = val[v2]; \ 316 e_val = val[v2]; \ 418 e_val = val[v2]; \
|
/external/webkit/Source/WebCore/bridge/qt/ |
qt_instance.cpp | 347 QVariant val; local 350 val = m_property.read(obj); 354 val = QVariant::fromValue((QObject*) m_childObject); 357 val = obj->property(m_dynamicProperty); 359 return convertQVariantToValue(exec, inst->rootObject(), val); 378 QVariant val = convertValueToQVariant(exec, aValue, argtype, 0); local 381 m_property.write(obj, val); 385 obj->setProperty(m_dynamicProperty.constData(), val);
|
/external/webkit/Source/WebCore/html/ |
HTMLBodyElement.cpp | 129 RefPtr<CSSValue> val = m_linkDecl->getPropertyCSSValue(CSSPropertyColor); local 130 if (val && val->isPrimitiveValue()) { 131 Color col = document()->styleSelector()->getColorFromPrimitiveValue(static_cast<CSSPrimitiveValue*>(val.get()));
|
HTMLTableElement.cpp | 317 RefPtr<CSSValue> val = attr->decl()->getPropertyCSSValue(CSSPropertyBorderLeftWidth); local 318 if (val && val->isPrimitiveValue()) { 319 CSSPrimitiveValue* primVal = static_cast<CSSPrimitiveValue*>(val.get());
|
/external/webkit/Source/WebCore/page/animation/ |
KeyframeAnimation.cpp | 413 const TransformOperations* val = ¤tKeyframe.style()->transform(); local 416 if (val->operations().isEmpty()) 420 if (firstVal->operations().size() != val->operations().size()) 425 if (!firstVal->operations()[j]->isSameType(*val->operations()[j]))
|
/external/webkit/Source/WebCore/platform/graphics/ |
GraphicsLayer.cpp | 346 const TransformOperations* val = operationsAt(valueList, i); local 349 if (val->operations().isEmpty()) 352 if (firstVal->operations().size() != val->operations().size()) 356 if (!firstVal->operations().at(j)->isSameType(*val->operations().at(j))) 383 const TransformOperations* val = operationsAt(valueList, i); local 384 double rotAngle = val->operations().isEmpty() ? 0 : (static_cast<RotateTransformOperation*>(val->operations().at(j).get())->angle());
|