HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 76 - 100 of 5706) sorted by null

1 2 34 5 6 7 8 91011>>

  /prebuilts/ndk/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp 155 static_cast<unsigned long>(new_size) << " " <<
156 static_cast<unsigned long>(m_load_min) << " " <<
157 static_cast<unsigned long>(m_load_max) << " " <<
158 static_cast<unsigned long>(m_next_shrink_size) << " " <<
159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl;
181 static_cast<unsigned long>(new_size) << " " <<
182 static_cast<unsigned long>(m_load_min) << " " <<
183 static_cast<unsigned long>(m_load_max) << " " <<
184 static_cast<unsigned long>(m_next_shrink_size) << " " <<
185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl
    [all...]
  /sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
GLESmacros.h 10 GLEScmContext *ctx = static_cast<GLEScmContext *>(s_eglIface->getGLESContext()); \
15 GLESv2Context *ctx = static_cast<GLESv2Context *>(s_eglIface->getGLESContext()); \
25 GLEScmContext *ctx = static_cast<GLEScmContext *>(s_eglIface->getGLESContext()); \
30 GLESv2Context *ctx = static_cast<GLESv2Context *>(s_eglIface->getGLESContext()); \
  /external/webkit/Source/WebCore/platform/graphics/
GraphicsContext3D.cpp 54 return static_cast<uint8_t>(value & 0x00FF);
307 if (!packPixels(static_cast<const uint8_t*>(pixels),
334 uint8_t* data = static_cast<uint8_t*>(imageData);
647 uint8_t sourceR = static_cast<uint8_t>(static_cast<float>(source[0]) * scaleFactor);
655 uint8_t sourceR = static_cast<uint8_t>(static_cast<float>(source[0]) * scaleFactor);
668 uint8_t sourceR = static_cast<uint8_t>(static_cast<float>(source[0]) * scaleFactor);
677 uint8_t sourceR = static_cast<uint8_t>(static_cast<float>(source[0]) * scaleFactor)
    [all...]
  /external/webkit/Source/JavaScriptCore/heap/
ConservativeRoots.cpp 39 JSCell** newRoots = static_cast<JSCell**>(OSAllocator::reserveAndCommit(newCapacity * sizeof(JSCell*)));
50 ASSERT((static_cast<char*>(end) - static_cast<char*>(begin)) < 0x1000000);
54 for (char** it = static_cast<char**>(begin); it != static_cast<char**>(end); ++it)
  /frameworks/base/native/android/
looper.cpp 37 static_cast<Looper*>(looper)->incStrong((void*)ALooper_acquire);
41 static_cast<Looper*>(looper)->decStrong((void*)ALooper_acquire);
67 static_cast<Looper*>(looper)->wake();
72 return static_cast<Looper*>(looper)->addFd(fd, ident, events, callback, data);
76 return static_cast<Looper*>(looper)->removeFd(fd);
  /external/webkit/Source/JavaScriptCore/assembler/
ARMAssembler.h 283 emitInst(static_cast<ARMWord>(cc) | AND, rd, rn, op2);
288 emitInst(static_cast<ARMWord>(cc) | AND | SET_CC, rd, rn, op2);
293 emitInst(static_cast<ARMWord>(cc) | EOR, rd, rn, op2);
298 emitInst(static_cast<ARMWord>(cc) | EOR | SET_CC, rd, rn, op2);
303 emitInst(static_cast<ARMWord>(cc) | SUB, rd, rn, op2);
308 emitInst(static_cast<ARMWord>(cc) | SUB | SET_CC, rd, rn, op2);
313 emitInst(static_cast<ARMWord>(cc) | RSB, rd, rn, op2);
318 emitInst(static_cast<ARMWord>(cc) | RSB | SET_CC, rd, rn, op2);
323 emitInst(static_cast<ARMWord>(cc) | ADD, rd, rn, op2);
328 emitInst(static_cast<ARMWord>(cc) | ADD | SET_CC, rd, rn, op2)
    [all...]
  /development/tools/emulator/system/camera/
Converters.h 82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5)
83 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5)
84 #define B16(rgb) static_cast<uint8_t>((rgb & kBlue5) >> 11)
86 #define R16_32(rgb) static_cast<uint8_t>(((rgb & kRed5) << 3) | ((rgb & kRed5) >> 2))
87 #define G16_32(rgb) static_cast<uint8_t>(((rgb & kGreen6) >> 3) | ((rgb & kGreen6) >> 9))
88 #define B16_32(rgb) static_cast<uint8_t>(((rgb & kBlue5) >> 8) | ((rgb & kBlue5) >> 14))
90 #define R32(rgb) static_cast<uint8_t>(rgb & kRed8)
91 #define G32(rgb) static_cast<uint8_t>(((rgb & kGreen8) >> 8) & 0xff)
92 #define B32(rgb) static_cast<uint8_t>(((rgb & kBlue8) >> 16) & 0xff)
94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/filters/
FELighting.cpp 61 const static unsigned char cOpaqueAlpha = static_cast<unsigned char>(0xff);
70 int center = static_cast<int>(pixels->get(offset + cAlphaChannelOffset));
71 int right = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset));
73 int bottom = static_cast<int>(pixels->get(offset + cAlphaChannelOffset));
74 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset));
81 int left = static_cast<int>(pixels->get(offset - cPixelSize + cAlphaChannelOffset));
82 int center = static_cast<int>(pixels->get(offset + cAlphaChannelOffset));
83 int right = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset));
85 int bottomLeft = static_cast<int>(pixels->get(offset - cPixelSize + cAlphaChannelOffset));
86 int bottom = static_cast<int>(pixels->get(offset + cAlphaChannelOffset))
    [all...]
  /external/webkit/Source/WebCore/bindings/js/
JSDataViewCustom.cpp 61 JSDataViewConstructor* jsConstructor = static_cast<JSDataViewConstructor*>(exec->callee());
104 return getDataViewMember(exec, static_cast<DataView*>(impl()), AccessDataViewMemberAsInt8);
109 return getDataViewMember(exec, static_cast<DataView*>(impl()), AccessDataViewMemberAsUint8);
114 return getDataViewMember(exec, static_cast<DataView*>(impl()), AccessDataViewMemberAsFloat32);
119 return getDataViewMember(exec, static_cast<DataView*>(impl()), AccessDataViewMemberAsFloat64);
136 imp->setInt8(byteOffset, static_cast<int8_t>(value), ec);
139 imp->setUint8(byteOffset, static_cast<uint8_t>(value), ec);
151 return setDataViewMember(exec, static_cast<DataView*>(impl()), AccessDataViewMemberAsInt8);
156 return setDataViewMember(exec, static_cast<DataView*>(impl()), AccessDataViewMemberAsUint8);
  /external/webrtc/src/modules/audio_processing/
noise_suppression_impl.cc 67 Handle* my_handle = static_cast<Handle*>(handle(i));
69 err = WebRtcNs_Process(static_cast<Handle*>(handle(i)),
75 err = WebRtcNsx_Process(static_cast<Handle*>(handle(i)),
145 return WebRtcNs_Free(static_cast<Handle*>(handle));
147 return WebRtcNsx_Free(static_cast<Handle*>(handle));
153 return WebRtcNs_Init(static_cast<Handle*>(handle), apm_->sample_rate_hz());
155 return WebRtcNsx_Init(static_cast<Handle*>(handle), apm_->sample_rate_hz());
161 return WebRtcNs_set_policy(static_cast<Handle*>(handle),
164 return WebRtcNsx_set_policy(static_cast<Handle*>(handle),
  /external/webkit/Source/WebCore/html/
HTMLTableRowsCollection.cpp 42 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(theadTag);
47 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(tbodyTag);
52 return row->parentNode() && static_cast<Element*>(row->parentNode())->hasLocalName(tfootTag);
64 return static_cast<HTMLTableRowElement*>(child);
77 return static_cast<HTMLTableRowElement*>(grandchild);
91 return static_cast<HTMLTableRowElement*>(child);
95 return static_cast<HTMLTableRowElement*>(grandchild);
109 return static_cast<HTMLTableRowElement*>(grandchild);
123 return static_cast<HTMLTableRowElement*>(grandchild);
130 return static_cast<HTMLTableRowElement*>(child)
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/InjectedBundle/DOM/
InjectedBundleNodeHandle.cpp 112 return static_cast<Element*>(m_node.get())->boundsInWindowSpace();
125 static_cast<HTMLInputElement*>(m_node.get())->setValueForUser(value);
133 return static_cast<HTMLInputElement*>(m_node.get())->isAutofilled();
141 static_cast<HTMLInputElement*>(m_node.get())->setAutofilled(filled);
149 return static_cast<HTMLInputElement*>(m_node.get())->lastChangeWasUserEdit();
157 return static_cast<HTMLTextAreaElement*>(m_node.get())->lastChangeWasUserEdit();
165 return getOrCreate(static_cast<HTMLTableCellElement*>(m_node.get())->cellAbove());
173 return getOrCreate(static_cast<Element*>(m_node.get())->shadowRoot());
181 Frame* frame = static_cast<Document*>(m_node.get())->frame();
185 return static_cast<WebFrameLoaderClient*>(frame->loader()->client())->webFrame()
    [all...]
  /frameworks/compile/mclinker/lib/MC/
MCFragmentRef.cpp 25 return static_cast<const llvm::MCDataFragment&>(pFrag).getContents().size();
27 return static_cast<const llvm::MCFillFragment&>(pFrag).getSize();
29 return static_cast<const llvm::MCInstFragment&>(pFrag).getInstSize();
32 return static_cast<const llvm::MCLEBFragment&>(pFrag).getContents().size();
36 const llvm::MCAlignFragment& align_frag = static_cast<const llvm::MCAlignFragment&>(pFrag);
50 return static_cast<const llvm::MCDwarfLineAddrFragment&>(pFrag).getContents().size();
52 return static_cast<const llvm::MCDwarfCallFrameFragment&>(pFrag).getContents().size();
55 return static_cast<const MCRegionFragment&>(pFrag).getRegion().size();
58 return static_cast<const MCTargetFragment&>(pFrag).getSize();
109 llvm::MCInstFragment* inst_frag = static_cast<llvm::MCInstFragment*>(m_pFragment)
    [all...]
  /external/webkit/Source/WebCore/html/canvas/
ArrayBufferView.cpp 38 m_baseAddress = m_buffer ? (static_cast<char*>(m_buffer->data()) + m_byteOffset) : 0;
55 char* base = static_cast<char*>(baseAddress());
69 char* base = static_cast<char*>(baseAddress());
83 char* base = static_cast<char*>(baseAddress());
100 *offset = static_cast<unsigned>(start);
101 *length = static_cast<unsigned>(end - start);
  /external/webkit/Source/WebCore/platform/gtk/
PlatformWheelEventGtk.cpp 62 m_position = IntPoint(static_cast<int>(event->x), static_cast<int>(event->y));
63 m_globalPosition = IntPoint(static_cast<int>(event->x_root), static_cast<int>(event->y_root));
72 m_deltaX *= static_cast<float>(Scrollbar::pixelsPerLineStep());
73 m_deltaY *= static_cast<float>(Scrollbar::pixelsPerLineStep());
  /external/webkit/Source/WebKit/chromium/src/
WebFontDescription.cpp 44 genericFamily = static_cast<GenericFamily>(desc.genericFamily());
48 weight = static_cast<Weight>(desc.weight());
49 smoothing = static_cast<Smoothing>(desc.fontSmoothing());
61 desc.setGenericFamily(static_cast<FontDescription::GenericFamilyType>(genericFamily));
66 desc.setWeight(static_cast<FontWeight>(weight));
67 desc.setFontSmoothing(static_cast<FontSmoothingMode>(smoothing));
  /external/webkit/Source/WebCore/bridge/jni/v8/
JNIUtilityPrivate.cpp 84 jsize length = static_cast<jsize>(doubleLength);
95 env->SetObjectArrayElement(static_cast<jobjectArray>(javaArray), i, env->NewStringUTF(str.UTF8Characters));
109 bVal = static_cast<jbyte>(NPVARIANT_TO_INT32(npvValue));
111 bVal = static_cast<jbyte>(NPVARIANT_TO_DOUBLE(npvValue));
112 env->SetByteArrayRegion(static_cast<jbyteArray>(javaArray), i, 1, &bVal);
123 cVal = static_cast<jchar>(NPVARIANT_TO_INT32(npvValue));
124 env->SetCharArrayRegion(static_cast<jcharArray>(javaArray), i, 1, &cVal);
135 env->SetDoubleArrayRegion(static_cast<jdoubleArray>(javaArray), i, 1, &dVal);
146 jfloat fVal = static_cast<jfloat>(NPVARIANT_TO_DOUBLE(npvValue));
147 env->SetFloatArrayRegion(static_cast<jfloatArray>(javaArray), i, 1, &fVal)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/wince/
ImageBufferWinCE.cpp 135 const unsigned char* src = static_cast<const unsigned char*>(bitmap->bytes());
161 *dst++ = static_cast<unsigned char>((red * alpha + 254) / 255);
162 *dst++ = static_cast<unsigned char>((green * alpha + 254) / 255);
163 *dst++ = static_cast<unsigned char>((blue * alpha + 254) / 255);
164 *dst++ = static_cast<unsigned char>(alpha);
166 *dst++ = static_cast<unsigned char>(red);
167 *dst++ = static_cast<unsigned char>(green);
168 *dst++ = static_cast<unsigned char>(blue);
169 *dst++ = static_cast<unsigned char>(alpha);
219 *dst++ = static_cast<unsigned char>(blue * 255 / alpha)
    [all...]
  /external/clang/test/Parser/
cxx-casting.cpp 27 return static_cast<double>(i);
47 (void)static_cast<::c>(&x); // expected-error{{found '<::' after a static_cast which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}}
50 (void)static_cast<: :c>(&x); //\
51 expected-error {{expected '<' after 'static_cast'}} \
55 (void)static_cast<: // expected-error {{expected '<' after 'static_cast'}} \
62 (void)static_cast LC:c>(&x); // expected-error {{expected '<' after 'static_cast'}} expected-error 2{{}} expected-note{{}}
64 (void)static_cast<:C c>(&x); // expected-error {{expected '<' after 'static_cast'}} expected-error 2{{}} expected-no (…)
    [all...]
  /frameworks/rs/
rsAdapter.cpp 44 uint8_t * ptr = static_cast<uint8_t *>(mAllocation->getPtr());
80 Adapter1D * a = static_cast<Adapter1D *>(va);
81 Allocation * alloc = static_cast<Allocation *>(valloc);
86 Adapter1D * a = static_cast<Adapter1D *>(va);
110 Adapter1D * a = static_cast<Adapter1D *>(va);
115 Adapter1D * a = static_cast<Adapter1D *>(va);
148 uint8_t * ptr = static_cast<uint8_t *>(mAllocation->getPtr());
167 const uint8_t *src = static_cast<const uint8_t *>(data);
198 Adapter2D * a = static_cast<Adapter2D *>(va);
199 Allocation * alloc = static_cast<Allocation *>(valloc)
    [all...]
  /external/webkit/Source/JavaScriptCore/runtime/
JSValueInlineMethods.h 102 *this = JSValue(static_cast<int32_t>(i));
107 *this = JSValue(static_cast<int32_t>(i));
112 *this = JSValue(static_cast<int32_t>(i));
117 *this = JSValue(static_cast<int32_t>(i));
122 if (static_cast<int32_t>(i) < 0) {
123 *this = JSValue(EncodeAsDouble, static_cast<double>(i));
126 *this = JSValue(static_cast<int32_t>(i));
131 if (static_cast<int32_t>(i) != i) {
132 *this = JSValue(EncodeAsDouble, static_cast<double>(i));
135 *this = JSValue(static_cast<int32_t>(i))
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/pat_trie_/
insert_join_fn_imps.hpp 84 const bool greater = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(
85 m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(
88 const bool lesser = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(
89 other.m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(m_p_head->m_p_min)->value()));
108 rec_join_prep(static_cast<const_leaf_pointer>(p_l),
109 static_cast<const_leaf_pointer>(p_r), r_bag);
114 rec_join_prep(static_cast<const_leaf_pointer>(p_l),
115 static_cast<const_internal_node_pointer>(p_r), r_bag);
122 rec_join_prep(static_cast<const_internal_node_pointer>(p_l),
123 static_cast<const_leaf_pointer>(p_r), r_bag)
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/pat_trie_/
insert_join_fn_imps.hpp 84 const bool greater = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(
85 m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(
88 const bool lesser = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(
89 other.m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(m_p_head->m_p_min)->value()));
108 rec_join_prep(static_cast<const_leaf_pointer>(p_l),
109 static_cast<const_leaf_pointer>(p_r), r_bag);
114 rec_join_prep(static_cast<const_leaf_pointer>(p_l),
115 static_cast<const_internal_node_pointer>(p_r), r_bag);
122 rec_join_prep(static_cast<const_internal_node_pointer>(p_l),
123 static_cast<const_leaf_pointer>(p_r), r_bag)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/pat_trie_/
insert_join_fn_imps.hpp 84 const bool greater = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(
85 m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(
88 const bool lesser = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(
89 other.m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(m_p_head->m_p_min)->value()));
108 rec_join_prep(static_cast<const_leaf_pointer>(p_l),
109 static_cast<const_leaf_pointer>(p_r), r_bag);
114 rec_join_prep(static_cast<const_leaf_pointer>(p_l),
115 static_cast<const_internal_node_pointer>(p_r), r_bag);
122 rec_join_prep(static_cast<const_internal_node_pointer>(p_l),
123 static_cast<const_leaf_pointer>(p_r), r_bag)
    [all...]
  /prebuilts/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/pat_trie_/
insert_join_fn_imps.hpp 84 const bool greater = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(
85 m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(
88 const bool lesser = synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(
89 other.m_p_head->m_p_max)->value()),PB_DS_V2F(static_cast<const_leaf_pointer>(m_p_head->m_p_min)->value()));
108 rec_join_prep(static_cast<const_leaf_pointer>(p_l),
109 static_cast<const_leaf_pointer>(p_r), r_bag);
114 rec_join_prep(static_cast<const_leaf_pointer>(p_l),
115 static_cast<const_internal_node_pointer>(p_r), r_bag);
122 rec_join_prep(static_cast<const_internal_node_pointer>(p_l),
123 static_cast<const_leaf_pointer>(p_r), r_bag)
    [all...]

Completed in 1045 milliseconds

1 2 34 5 6 7 8 91011>>