Home
last modified time | relevance | path

Searched refs:bit_cast (Results 1 – 25 of 84) sorted by relevance

1234

/external/chromium_org/components/metrics/
Dcompression_utils.cc37 stream.next_in = bit_cast<Bytef*>(source); in GzipCompressHelper()
83 stream.next_in = bit_cast<Bytef*>(source); in GzipUncompressHelper()
136 bit_cast<const Bytef*>(input.data()), in GzipCompress()
150 return GzipUncompressHelper(bit_cast<Bytef*>(output->data()), in GzipUncompress()
152 bit_cast<const Bytef*>(input.data()), in GzipUncompress()
/external/chromium_org/net/filter/
Dgzip_filter.cc207 zlib_stream_.get()->next_in = bit_cast<Bytef*>(next_stream_data_); in DoInflate()
209 zlib_stream_.get()->next_out = bit_cast<Bytef*>(dest_buffer); in DoInflate()
222 next_stream_data_ = bit_cast<char*>(zlib_stream_.get()->next_in); in DoInflate()
249 next_stream_data_ = bit_cast<char*>(zlib_stream_.get()->next_in); in DoInflate()
273 zlib_stream_.get()->next_in = bit_cast<Bytef*>(&dummy_head[0]); in InsertZlibHeader()
275 zlib_stream_.get()->next_out = bit_cast<Bytef*>(&dummy_output[0]); in InsertZlibHeader()
/external/chromium_org/sandbox/win/src/
Dservice_resolver_32.cc229 bit_cast<const void*>(function_code.stub), in IsFunctionAService()
240 bit_cast<const wchar_t*>(ki_system_call), &module_1)) in IsFunctionAService()
280 intercepted_code.stub = bit_cast<ULONG>(&full_remote_thunk->internal_thunk); in PerformPatch()
336 relative += bit_cast<ULONG>(target_) - bit_cast<ULONG>(remote_thunk); in SaveOriginalFunction()
346 relative_jump_ = bit_cast<ULONG>(&full_thunk->internal_thunk) - in SaveOriginalFunction()
347 bit_cast<ULONG>(target_) - kJmp32Size; in SaveOriginalFunction()
Dservice_resolver_unittest.cc83 ULONG source_addr = bit_cast<ULONG>(source); in CheckJump()
84 ULONG target_addr = bit_cast<ULONG>(target); in CheckJump()
/external/chromium_org/v8/src/compiler/
Djs-graph.cc137 if (bit_cast<int64_t>(value) == bit_cast<int64_t>(0.0)) return ZeroConstant(); in Constant()
138 if (bit_cast<int64_t>(value) == bit_cast<int64_t>(1.0)) return OneConstant(); in Constant()
Dcommon-node-cache.h26 return float64_constants_.Find(zone_, bit_cast<int64_t>(value)); in FindFloat64Constant()
35 return number_constants_.Find(zone_, bit_cast<int64_t>(value)); in FindNumberConstant()
Doperator.h162 return static_cast<int>(bit_cast<int64_t>(a));
165 return bit_cast<int64_t>(a) == bit_cast<int64_t>(b);
Dmachine-operator-reducer-unittest.cc304 EXPECT_THAT(reduction.replacement(), IsInt32Constant(bit_cast<int32_t>(x))); in TEST_F()
345 Int32Constant(bit_cast<int32_t>(x)))); in TEST_F()
360 Int32Constant(bit_cast<int32_t>(x)))); in TEST_F()
363 IsInt64Constant(bit_cast<int64_t>(static_cast<uint64_t>(x)))); in TEST_F()
438 IsInt32Constant(bit_cast<int32_t>( in TEST_F()
439 static_cast<uint32_t>(bit_cast<uint64_t>(x))))); in TEST_F()
Dsimplified-operator-reducer.h34 return ReplaceInt32(bit_cast<int32_t>(value)); in ReplaceUint32()
Dinstruction.h661 explicit Constant(double v) : type_(kFloat64), value_(bit_cast<int64_t>(v)) {} in Constant()
663 : type_(kExternalReference), value_(bit_cast<intptr_t>(ref)) {} in Constant()
665 : type_(kHeapObject), value_(bit_cast<intptr_t>(obj)) {} in Constant()
683 return bit_cast<double>(value_); in ToFloat64()
688 return bit_cast<ExternalReference>(static_cast<intptr_t>(value_)); in ToExternalReference()
693 return bit_cast<Handle<HeapObject> >(static_cast<intptr_t>(value_)); in ToHeapObject()
/external/chromium_org/v8/src/
Dproperty.cc16 visitor->VisitPointer(bit_cast<Object**>(&current->holder_)); in Iterate()
17 visitor->VisitPointer(bit_cast<Object**>(&current->transition_)); in Iterate()
Ddouble.h14 inline uint64_t double_to_uint64(double d) { return bit_cast<uint64_t>(d); } in double_to_uint64()
15 inline double uint64_to_double(uint64_t d64) { return bit_cast<double>(d64); } in uint64_to_double()
Dhandles-inl.h44 return *bit_cast<T**>(location_);
58 Object* object = *bit_cast<T**>(location_); in IsDereferenceAllowed()
/external/clang/test/SemaCXX/
Dwarn-memset-bad-sizeof.cpp20 inline Dest bit_cast(const Source& source) { in bit_cast() function
91 bit_cast<char*>(puc); in f()
94 bit_cast<int*>(pf); in f()
/external/chromium_org/remoting/client/plugin/
Dpepper_util.cc61 bit_cast<in_addr>(ipv4_addr.addr))); in PpNetAddressToSocketAddress()
69 bit_cast<in6_addr>(ipv6_addr.addr))); in PpNetAddressToSocketAddress()
/external/chromium_org/gpu/command_buffer/tests/
Dgl_readback_unittest.cc100 return bit_cast<float>(result); in HalfToFloat32()
113 return bit_cast<float>(result); in HalfToFloat32()
116 return bit_cast<float>(result); in HalfToFloat32()
124 return bit_cast<float>(result); in HalfToFloat32()
/external/chromium_org/base/time/
Dtime_win.cc58 return bit_cast<int64, FILETIME>(ft) / 10; in FileTimeToMicroseconds()
67 *ft = bit_cast<FILETIME, int64>(us * 10); in MicrosecondsToFileTime()
151 if (bit_cast<int64, FILETIME>(ft) == 0) in FromFileTime()
161 return bit_cast<FILETIME, int64>(0); in ToFileTime()
/external/chromium_org/v8/src/base/
Dbits.h127 *val = bit_cast<int32_t>(res); in SignedAddOverflow32()
141 *val = bit_cast<int32_t>(res); in SignedSubOverflow32()
/external/lldb/source/Expression/
DIRDynamicChecks.cpp379 BitCastInst *bit_cast = new BitCastInst(dereferenced_ptr, in InstrumentInstruction() local
388 arg_array[0] = bit_cast; in InstrumentInstruction()
476 BitCastInst *bit_cast = new BitCastInst(target_object, in InstrumentInstruction() local
485 arg_array[0] = bit_cast; in InstrumentInstruction()
/external/chromium_org/v8/test/cctest/
Dtest-macro-assembler-mips.cc152 bit_cast<uint64_t>(value) == in TestNaN()
153 bit_cast<uint64_t>( in TestNaN()
/external/chromium_org/mojo/services/native_viewport/
Dgpu_impl.cc27 gfx::AcceleratedWidget widget = bit_cast<gfx::AcceleratedWidget>( in CreateOnscreenGLES2Context()
/external/chromium_org/third_party/cld/base/
Dcasts.h146 inline Dest bit_cast(const Source& source) { in bit_cast() function
/external/chromium_org/base/
Dmacros.h213 inline Dest bit_cast(const Source& source) { in bit_cast() function
/external/chromium_org/components/visitedlink/common/
Dvisitedlink_common.cc98 return bit_cast<Fingerprint, uint8[8]>( in ComputeURLFingerprint()
/external/openfst/src/include/fst/
Dcompat.h67 inline Dest bit_cast(const Source& source) { in bit_cast() function

1234