/external/skia/tools/ |
image_expectations.cpp | 128 if (headerRevision.asInt() != kJsonValue_Header_Revision) { 130 jsonPath, kJsonValue_Header_Revision, headerRevision.asInt());
|
/external/smali/util/src/main/java/org/jf/util/ |
NumberUtils.java | 81 String asInt = format.format(value); 97 return asFloat.length() < asInt.length();
|
/external/deqp/framework/randomshaders/ |
rsgVariableValue.hpp | 102 int asInt (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->intVal; } 107 int asInt (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx].intVal; } 135 int& asInt (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->intVal; } 140 int& asInt (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].intVal; } 154 StridedValueAccess& operator= (int intVal) { asInt() = intVal; return *this; }
|
rsgExpression.cpp | 190 valueRange.getMin().component(ndx).asInt() = minVal; 191 valueRange.getMax().component(ndx).asInt() = maxVal; 425 minVal = valueRange.getMin().component(0).asInt(); 426 maxVal = valueRange.getMax().component(0).asInt(); 439 access.asInt(ndx) = value; 448 int minVal = valueRange.getMin().asInt(); 449 int maxVal = valueRange.getMax().asInt(); 468 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_INT)).asInt(0)); 588 template<> inline int getValueAccessValue<int> (ConstValueAccess access) { return access.asInt(); } 593 template<> inline int& getValueAccessValue<int> (ValueAccess access) { return access.asInt(); } [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkSpriteBlitter_RGB16.cpp | 167 static intptr_t asint(const void* ptr) { function 182 while (asint(src) & 3) { 190 if (asint(dst) & 2) {
|
SkPaint.cpp | 1958 static uintptr_t asint(const void* p) { function [all...] |
/external/skia/src/core/ |
SkSpriteBlitter_RGB16.cpp | 167 static intptr_t asint(const void* ptr) { function 182 while (asint(src) & 3) { 190 if (asint(dst) & 2) {
|
/external/chromium_org/native_client_sdk/src/examples/api/mouse_cursor/ |
mouse_cursor.cc | 56 static_cast<PP_MouseCursor_Type>(var_message.AsInt());
|
/external/chromium_org/ppapi/cpp/ |
url_response_info.h | 94 return GetProperty(PP_URLRESPONSEPROPERTY_STATUSCODE).AsInt();
|
var.h | 184 /// AsInt() converts this <code>Var</code> to an int32_t. This function 189 /// !is_double() before calling AsInt(). 195 int32_t AsInt() const; 202 /// !is_double() before calling AsInt().
|
/external/chromium_org/third_party/skia/tools/ |
image_expectations.cpp | 155 if (headerRevision.asInt() != kJsonValue_Header_Revision) { 157 jsonPath, kJsonValue_Header_Revision, headerRevision.asInt());
|
/external/chromium_org/third_party/webrtc/base/ |
json.cc | 25 s << in.asInt(); 45 *out = in.asInt();
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
earth.cc | 133 int AsInt() { return i; } 139 return u.AsInt(); 751 int threads = dictionary.Get("value").AsInt(); 756 int width = dictionary.Get("width").AsInt(); 757 int height = dictionary.Get("height").AsInt();
|
/external/chromium_org/native_client_sdk/src/examples/api/media_stream_video/ |
media_stream_video.cc | 183 attrib_width_ = var_dictionary_message.Get("width").AsInt(); 184 attrib_height_ = var_dictionary_message.Get("height").AsInt();
|
/external/chromium_org/ppapi/examples/media_stream_video/ |
media_stream_video.cc | 183 attrib_width_ = var_dictionary_message.Get("width").AsInt(); 184 attrib_height_ = var_dictionary_message.Get("height").AsInt();
|
/external/guava/guava/src/com/google/common/hash/ |
Hashing.java | 151 * returns a {@code long} value with {@code hashCode.asInt()} as the least-significant 155 return (hashCode.bits() < 64) ? UnsignedInts.toLong(hashCode.asInt()) : hashCode.asLong();
|
/external/deqp/modules/glshared/ |
glsRandomShaderCase.cpp | 221 int unitNdx = uniformIter->getValue().asInt(0); 376 case rsg::VariableType::TYPE_INT: message << value.component(elementNdx).asInt(); break; 378 case rsg::VariableType::TYPE_SAMPLER_2D: message << value.component(elementNdx).asInt(); break; 379 case rsg::VariableType::TYPE_SAMPLER_CUBE: message << value.component(elementNdx).asInt(); break;
|
/external/jsoncpp/doc/ |
jsoncpp.dox | 62 setIndentLength( root["indent"].get("length", 3).asInt() );
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/ |
earth.cc | 190 int AsInt() { return i; } 196 return u.AsInt(); 791 int threads = dictionary.Get("value").AsInt(); 796 int width = dictionary.Get("width").AsInt(); 797 int height = dictionary.Get("height").AsInt();
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/ |
earth.cc | 126 int AsInt() { return i; } 132 return u.AsInt(); 797 int threads = dictionary.Get("value").AsInt(); 802 int width = dictionary.Get("width").AsInt(); 803 int height = dictionary.Get("height").AsInt();
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
heap-checker.cc | 546 inline static uintptr_t AsInt(const void* ptr) { 583 uintptr_t addr = AsInt(ptr); 639 uintptr_t top = AsInt(top_ptr); 670 uintptr_t start = AsInt(span->ptr); 747 uintptr_t addr = AsInt(info.call_stack[depth]); 762 uintptr_t start_address = AsInt(ptr); [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
heap-checker.cc | 546 inline static uintptr_t AsInt(const void* ptr) { 583 uintptr_t addr = AsInt(ptr); 639 uintptr_t top = AsInt(top_ptr); 670 uintptr_t start = AsInt(span->ptr); 747 uintptr_t addr = AsInt(info.call_stack[depth]); 762 uintptr_t start_address = AsInt(ptr); [all...] |
/external/chromium_org/native_client_sdk/doc_generated/pepper_beta/cpp/ |
classpp_1_1_var.html | 59 <tr><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16">AsInt</a> () const </td></tr> 373 <p>This function is necessary because JavaScript doesn't have a concept of ints and doubles, only numbers. The distinction between the two is an optimization inside the compiler. Since converting from a double to an int may be lossy, if you care about the distinction, either always work in doubles, or check !is_double() before calling <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a>.</p> 378 <a class="anchor" id="ad31cdb379b6ceaae967125e358c81d16"></a><!-- doxytag: member="pp::Var::AsInt" ref="ad31cdb379b6ceaae967125e358c81d16" args="() const " --> 383 <td class="memname">int32_t <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16">pp::Var::AsInt</a> </td> 391 <p><a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a> converts this <code><a class="el" href="classpp_1_1_var.html" title="A generic type used for passing data types between the module and the page.">Var</a></code> to an int32_t. </p> 392 <p>This function is required because JavaScript doesn't have a concept of ints and doubles, only numbers. The distinction between the two is an optimization inside the compiler. Since converting from a double to an int may be lossy, if you care about the distinction, either always work in doubles, or check !is_double() before calling <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a>.</p> [all...] |
/external/chromium_org/native_client_sdk/doc_generated/pepper_dev/cpp/ |
classpp_1_1_var.html | 59 <tr><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16">AsInt</a> () const </td></tr> 373 <p>This function is necessary because JavaScript doesn't have a concept of ints and doubles, only numbers. The distinction between the two is an optimization inside the compiler. Since converting from a double to an int may be lossy, if you care about the distinction, either always work in doubles, or check !is_double() before calling <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a>.</p> 378 <a class="anchor" id="ad31cdb379b6ceaae967125e358c81d16"></a><!-- doxytag: member="pp::Var::AsInt" ref="ad31cdb379b6ceaae967125e358c81d16" args="() const " --> 383 <td class="memname">int32_t <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16">pp::Var::AsInt</a> </td> 391 <p><a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a> converts this <code><a class="el" href="classpp_1_1_var.html" title="A generic type used for passing data types between the module and the page.">Var</a></code> to an int32_t. </p> 392 <p>This function is required because JavaScript doesn't have a concept of ints and doubles, only numbers. The distinction between the two is an optimization inside the compiler. Since converting from a double to an int may be lossy, if you care about the distinction, either always work in doubles, or check !is_double() before calling <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a>.</p> [all...] |
/external/chromium_org/native_client_sdk/doc_generated/pepper_stable/cpp/ |
classpp_1_1_var.html | 59 <tr><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16">AsInt</a> () const </td></tr> 373 <p>This function is necessary because JavaScript doesn't have a concept of ints and doubles, only numbers. The distinction between the two is an optimization inside the compiler. Since converting from a double to an int may be lossy, if you care about the distinction, either always work in doubles, or check !is_double() before calling <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a>.</p> 378 <a class="anchor" id="ad31cdb379b6ceaae967125e358c81d16"></a><!-- doxytag: member="pp::Var::AsInt" ref="ad31cdb379b6ceaae967125e358c81d16" args="() const " --> 383 <td class="memname">int32_t <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16">pp::Var::AsInt</a> </td> 391 <p><a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a> converts this <code><a class="el" href="classpp_1_1_var.html" title="A generic type used for passing data types between the module and the page.">Var</a></code> to an int32_t. </p> 392 <p>This function is required because JavaScript doesn't have a concept of ints and doubles, only numbers. The distinction between the two is an optimization inside the compiler. Since converting from a double to an int may be lossy, if you care about the distinction, either always work in doubles, or check !is_double() before calling <a class="el" href="classpp_1_1_var.html#ad31cdb379b6ceaae967125e358c81d16" title="AsInt() converts this Var to an int32_t.">AsInt()</a>.</p> [all...] |