Home
last modified time | relevance | path

Searched refs:LONG (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/external/aac/libFDK/include/
Dfixmul.h122 inline LONG fixmuldiv2_DD (const LONG a, const LONG b) in fixmuldiv2_DD()
124 return (LONG) ((((INT64)a) * b) >> 32) ; in fixmuldiv2_DD()
135 inline LONG fixmuldiv2BitExact_DD (const LONG a, const LONG b) in fixmuldiv2BitExact_DD()
137 return (LONG) ((((INT64)a) * b) >> 32) ; in fixmuldiv2BitExact_DD()
143 inline LONG fixmul_DD (const LONG a, const LONG b) in fixmul_DD()
154 inline LONG fixmulBitExact_DD (const LONG a, const LONG b) in fixmulBitExact_DD()
156 return ( (LONG) ((((INT64)a) * b) >> 32) ) << 1; in fixmulBitExact_DD()
162 inline LONG fixmuldiv2_SS (const SHORT a, const SHORT b) in fixmuldiv2_SS()
163 { return ((LONG)a*b); } in fixmuldiv2_SS()
168 inline LONG fixmul_SS (const SHORT a, const SHORT b) in fixmul_SS()
[all …]
Dscale.h205 …( (((LONG)(src)>>(scale)) > (LONG)(((1U)<<((dBits)-1))-1)) ? (LONG)(((1U)<<((dBits)-1))-1) …
206 … : (((LONG)(src)>>(scale)) < ~((LONG)(((1U)<<((dBits)-1))-1))) ? ~((LONG)(((1U)<<((dBits)-1))-1)) \
207 : ((LONG)(src) >> (scale)) )
212 …( ((LONG)(src) > ((LONG)(((1U)<<((dBits)-1))-1)>>(scale))) ? (LONG)(((1U)<<((dBits)-1))-1) …
213 … : ((LONG)(src) < ~((LONG)(((1U)<<((dBits)-1))-1)>>(scale))) ? ~((LONG)(((1U)<<((dBits)-1))-1)) \
214 : ((LONG)(src) << (scale)) )
230 …( ((LONG)(src) > ((LONG)(((1U)<<((dBits)-1))-1)>>(scale))) ? (LONG)(((1U)<<((dBits)-1))-1) …
231 … : ((LONG)(src) < ~((LONG)(((1U)<<((dBits)-1))-2)>>(scale))) ? ~((LONG)(((1U)<<((dBits)-1))-2)) \
232 : ((LONG)(src) << (scale)) )
237 …( (((LONG)(src)>>(scale)) > (LONG)(((1U)<<((dBits)-1))-1)) ? (LONG)(((1U)<<((dBits)-1))-1) …
[all …]
Dcommon_fix.h141 …(val) ( ( ((((val) >> (DFRACT_BITS-FRACT_BITS-1)) + 1) > (((LONG)1<<FRACT_BITS)-1)) && ((LONG)(val…
142 …(FIXP_SGL)(SHORT)(((LONG)1<<(FRACT_BITS-1))-1):(FIXP_SGL)(SHORT)((((val) >> (DFRACT_BITS-FRACT_BIT…
149 typedef LONG FIXP_DBL;
164 …(val) * (DFRACT_FIX_SCALE) + 0.5 ) >= (double)(MAXVAL_DBL) ) ? (LONG)(MAXVAL_DBL) : (LONG)( (doubl…
165 …DFRACT_FIX_SCALE) - 0.5) <= (double)(MINVAL_DBL_CONST) ) ? (LONG)(MINVAL_DBL_CONST) : (LONG)( (do…
170 #define FL2FX_DBL(val) ( (val)>0.0f ? (LONG)( (val)*(float)(DFRACT_FIX_SCALE)+0.5f ) : (LONG)( (val…
175 #define FX_SGL2FX_ACC(val) ((FIXP_ACC)((LONG)(val)<<(ACCU_BITS-FRACT_BITS)))
176 #define FX_SGL2FX_DBL(val) ((FIXP_DBL)((LONG)(val)<<(DFRACT_BITS-FRACT_BITS)))
190 FDK_INLINE LONG fMult(SHORT a, SHORT b) { return fixmul_SS(a, b); } in fMult()
191 FDK_INLINE LONG fMult(SHORT a, LONG b) { return fixmul_SD(a, b); } in fMult()
[all …]
DFDK_trigFcts.h98 #define Q(format) ((FIXP_DBL)(((LONG)1) << (format)))
153 s = ((LONG)residual) >> shift; in fixp_sin_cos_residual_inline()
177 LONG sl, cl; in fixp_sin_cos_residual_inline()
184 sl = (LONG)tmp.v.re; in fixp_sin_cos_residual_inline()
185 cl = (LONG)tmp.v.im; in fixp_sin_cos_residual_inline()
189 sl = (LONG)tmp.v.im; in fixp_sin_cos_residual_inline()
190 cl = (LONG)tmp.v.re; in fixp_sin_cos_residual_inline()
Dfixpoint_math.h157 return (FIXP_DBL)(LONG)(t>>1); in sqrtFixp_lookup()
412 LONG sum; in fAddSaturate()
414 sum = (LONG)(SHORT)a + (LONG)(SHORT)b; in fAddSaturate()
427 LONG sum; in fAddSaturate()
429 sum = (LONG)(a>>1) + (LONG)(b>>1); in fAddSaturate()
431 return (FIXP_DBL)(LONG)(sum<<1); in fAddSaturate()
/external/lzma/CPP/Windows/
DRegistry.h13 LONG SetValue(HKEY parentKey, LPCTSTR keyName, LPCTSTR valueName, LPCTSTR value);
31 LONG Create(HKEY parentKey, LPCTSTR keyName,
36 LONG Open(HKEY parentKey, LPCTSTR keyName, REGSAM accessMask = KEY_ALL_ACCESS);
38 LONG Close();
40 LONG DeleteSubKey(LPCTSTR subKeyName);
41 LONG RecurseDeleteKey(LPCTSTR subKeyName);
43 LONG DeleteValue(LPCTSTR name);
45 LONG DeleteValue(LPCWSTR name);
48 LONG SetValue(LPCTSTR valueName, UInt32 value);
49 LONG SetValue(LPCTSTR valueName, bool value);
[all …]
DRegistry.cpp19 LONG CKey::Create(HKEY parentKey, LPCTSTR keyName, in Create()
26 LONG res = RegCreateKeyEx(parentKey, keyName, 0, keyClass, in Create()
38 LONG CKey::Open(HKEY parentKey, LPCTSTR keyName, REGSAM accessMask) in Open()
42 LONG res = RegOpenKeyEx(parentKey, keyName, 0, accessMask, &key); in Open()
52 LONG CKey::Close() in Close()
54 LONG res = ERROR_SUCCESS; in Close()
65 LONG CKey::DeleteSubKey(LPCTSTR subKeyName) in DeleteSubKey()
71 LONG CKey::RecurseDeleteKey(LPCTSTR subKeyName) in RecurseDeleteKey()
74 LONG res = key.Open(_object, subKeyName, KEY_READ | KEY_WRITE); in RecurseDeleteKey()
100 LONG CKey::DeleteValue(LPCTSTR name) in DeleteValue()
[all …]
/external/google-breakpad/src/third_party/curl/
Dcurl.h644 #define LONG CURLOPTTYPE_LONG macro
665 CINIT(PORT, LONG, 3),
697 CINIT(TIMEOUT, LONG, 13),
708 CINIT(INFILESIZE, LONG, 14),
730 CINIT(LOW_SPEED_LIMIT, LONG, 19),
733 CINIT(LOW_SPEED_TIME, LONG, 20),
741 CINIT(RESUME_FROM, LONG, 21),
759 CINIT(CRLF, LONG, 27),
774 CINIT(SSLVERSION, LONG, 32),
777 CINIT(TIMECONDITION, LONG, 33),
[all …]
/external/aac/libFDK/include/arm/
Dscale.h144 …( (((LONG)(src) ^ ((LONG)(src) >> (DFRACT_BITS-1)))>>(scale)) > (LONG)(((1U)<<((dBits)-1))-1)) …
145 … ? ((LONG)(src) >> (DFRACT_BITS-1)) ^ (LONG)(((1U)<<((dBits)-1))-1) \
146 : ((LONG)(src) >> (scale))
149 …( ((LONG)(src) ^ ((LONG)(src) >> (DFRACT_BITS-1))) > ((LONG)(((1U)<<((dBits)-1))-1) >> (scale)) ) …
150 … ? ((LONG)(src) >> (DFRACT_BITS-1)) ^ (LONG)(((1U)<<((dBits)-1))-1) \
151 : ((LONG)(src) << (scale))
Dcplx_mul.h110 LONG tmp1,tmp2; in cplxMultDiv2()
111 const LONG w = wpk.w; in cplxMultDiv2()
135 LONG tmp1, tmp2; in cplxMultDiv2()
159 LONG tmp1, tmp2; in cplxMultAddDiv2()
184 LONG tmp1, tmp2; in cplxMultDiv2()
197 LONG discard; in cplxMultDiv2()
/external/protobuf/src/google/protobuf/stubs/
Datomicops_internals_x86_msvc.cc55 LONG result = InterlockedCompareExchange( in NoBarrier_CompareAndSwap()
56 reinterpret_cast<volatile LONG*>(ptr), in NoBarrier_CompareAndSwap()
57 static_cast<LONG>(new_value), in NoBarrier_CompareAndSwap()
58 static_cast<LONG>(old_value)); in NoBarrier_CompareAndSwap()
64 LONG result = InterlockedExchange( in NoBarrier_AtomicExchange()
65 reinterpret_cast<volatile LONG*>(ptr), in NoBarrier_AtomicExchange()
66 static_cast<LONG>(new_value)); in NoBarrier_AtomicExchange()
73 reinterpret_cast<volatile LONG*>(ptr), in Barrier_AtomicIncrement()
74 static_cast<LONG>(increment)) + increment; in Barrier_AtomicIncrement()
/external/webrtc/src/system_wrappers/source/
Datomic32_win.cc25 COMPILE_ASSERT(sizeof(_value) == sizeof(LONG)); in Atomic32()
36 reinterpret_cast<volatile LONG*>(&_value))); in operator ++()
42 reinterpret_cast<volatile LONG*>(&_value))); in operator --()
47 return InterlockedExchangeAdd(reinterpret_cast<volatile LONG*>(&_value), in operator +=()
53 return InterlockedExchangeAdd(reinterpret_cast<volatile LONG*>(&_value), in operator -=()
60 const LONG oldValue = InterlockedCompareExchange( in CompareExchange()
61 reinterpret_cast<volatile LONG*>(&_value), in CompareExchange()
/external/llvm/test/CodeGen/ARM/
Dfast-isel-intrinsic.ll4 …triple=armv7-apple-ios -arm-long-calls -verify-machineinstrs | FileCheck %s --check-prefix=ARM-LONG
5 …le=armv7-linux-gnueabi -arm-long-calls -verify-machineinstrs | FileCheck %s --check-prefix=ARM-LONG
6 …le=thumbv7-apple-ios -arm-long-calls -verify-machineinstrs | FileCheck %s --check-prefix=THUMB-LONG
24 ; ARM-LONG-LABEL: t1:
25 ; ARM-LONG: {{(movw r3, :lower16:L_memset\$non_lazy_ptr)|(ldr r3, .LCPI)}}
26 ; ARM-LONG: {{(movt r3, :upper16:L_memset\$non_lazy_ptr)?}}
27 ; ARM-LONG: ldr r3, [r3]
28 ; ARM-LONG: blx r3
37 ; THUMB-LONG-LABEL: t1:
38 ; THUMB-LONG: movw r3, :lower16:L_memset$non_lazy_ptr
[all …]
Dfast-isel-call.ll4 …odel=dynamic-no-pic -mtriple=armv7-apple-ios -arm-long-calls | FileCheck %s --check-prefix=ARM-LONG
5 …=dynamic-no-pic -mtriple=armv7-linux-gnueabi -arm-long-calls | FileCheck %s --check-prefix=ARM-LONG
6 …=dynamic-no-pic -mtriple=thumbv7-apple-ios -arm-long-calls | FileCheck %s --check-prefix=THUMB-LONG
113 ; ARM-LONG: @t10
114 ; ARM-LONG: {{(movw)|(ldr)}} [[R:l?r[0-9]*]], {{(:lower16:L_bar\$non_lazy_ptr)|(.LCPI)}}
115 ; ARM-LONG: {{(movt [[R]], :upper16:L_bar\$non_lazy_ptr)?}}
116 ; ARM-LONG: ldr [[R]], {{\[}}[[R]]{{\]}}
117 ; ARM-LONG: blx [[R]]
134 ; THUMB-LONG: @t10
135 ; THUMB-LONG: {{(movw)|(ldr.n)}} [[R:l?r[0-9]*]], {{(:lower16:L_bar\$non_lazy_ptr)|(.LCPI)}}
[all …]
/external/aac/libAACenc/src/
Dchaosmeasure.cpp112 left = (FIXP_DBL)((LONG)paMDCTDataNM0[i]^((LONG)paMDCTDataNM0[i]>>(DFRACT_BITS-1))); in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
113 center = (FIXP_DBL)((LONG)paMDCTDataNM0[i+2]^((LONG)paMDCTDataNM0[i+2]>>(DFRACT_BITS-1))); in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
116 … FIXP_DBL right = (FIXP_DBL)((LONG)paMDCTDataNM0[j+2]^((LONG)paMDCTDataNM0[j+2]>>(DFRACT_BITS-1))); in FDKaacEnc_FDKaacEnc_CalculateChaosMeasurePeakFast()
/external/v8/src/base/
Datomicops_internals_x86_msvc.h28 LONG result = InterlockedCompareExchange( in NoBarrier_CompareAndSwap()
29 reinterpret_cast<volatile LONG*>(ptr), in NoBarrier_CompareAndSwap()
30 static_cast<LONG>(new_value), in NoBarrier_CompareAndSwap()
31 static_cast<LONG>(old_value)); in NoBarrier_CompareAndSwap()
37 LONG result = InterlockedExchange( in NoBarrier_AtomicExchange()
38 reinterpret_cast<volatile LONG*>(ptr), in NoBarrier_AtomicExchange()
39 static_cast<LONG>(new_value)); in NoBarrier_AtomicExchange()
46 reinterpret_cast<volatile LONG*>(ptr), in Barrier_AtomicIncrement()
47 static_cast<LONG>(increment)) + increment; in Barrier_AtomicIncrement()
/external/bison/lib/
Dstrtol.c47 # define INT LONG int
49 # define INT unsigned LONG int
116 # define LONG long long macro
167 # define LONG long macro
242 register unsigned LONG int cutoff; in INTERNAL()
244 register unsigned LONG int i; in INTERNAL()
345 cutoff = STRTOL_ULONG_MAX / (unsigned LONG int) base; in INTERNAL()
346 cutlim = STRTOL_ULONG_MAX % (unsigned LONG int) base; in INTERNAL()
367 i *= (unsigned LONG int) base; in INTERNAL()
386 ? -((unsigned LONG int) (STRTOL_LONG_MIN + 1)) + 1 in INTERNAL()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DWireFormat.java79 LONG(0L), enumConstant
110 INT64 (JavaType.LONG , WIRETYPE_VARINT ),
111 UINT64 (JavaType.LONG , WIRETYPE_VARINT ),
113 FIXED64 (JavaType.LONG , WIRETYPE_FIXED64 ),
131 SFIXED64(JavaType.LONG , WIRETYPE_FIXED64 ),
133 SINT64 (JavaType.LONG , WIRETYPE_VARINT );
/external/icu/icu4c/source/common/
Dwintz.c96 LONG result; in detectWindowsType()
120 static LONG openTZRegKey(HKEY *hkey, const char *winid) in openTZRegKey()
124 LONG result; in openTZRegKey()
151 static LONG getTZI(const char *winid, TZI *tzi) in getTZI()
154 LONG result; in getTZI()
174 static LONG getSTDName(const char *winid, char *regStdName, int32_t length) { in getSTDName()
176 LONG result; in getSTDName()
196 static LONG getTZKeyName(char* tzKeyName, int32_t length) { in getTZKeyName()
198 LONG result = FALSE; in getTZKeyName()
286 LONG result; in uprv_detectWindowsTimeZone()
/external/aac/libFDK/src/
Dfixpoint_math.cpp213 #define ACCU_R (LONG) 0x00008000
219 LONG v = (LONG)(op1); in mul_dbl_sgl_rnd()
222 LONG low = u*(v&SGL_MASK); in mul_dbl_sgl_rnd()
224 LONG high = u * ((v>>FRACT_BITS)<<1); in mul_dbl_sgl_rnd()
226 prod = (LONG)(high+low); in mul_dbl_sgl_rnd()
291 FIXP_SGL frac = (FIXP_SGL)(LONG)(x & 0x3FF); in CalcInvLdData()
292 UINT index3 = (UINT)(LONG)(x >> 10) & 0x1F; in CalcInvLdData()
293 UINT index2 = (UINT)(LONG)(x >> 15) & 0x1F; in CalcInvLdData()
294 UINT index1 = (UINT)(LONG)(x >> 20) & 0x1F; in CalcInvLdData()
300 UINT lookup3f = lookup3 + (UINT)(LONG)fMultDiv2((FIXP_DBL)(0x0016302F),(FIXP_SGL)frac); in CalcInvLdData()
[all …]
/external/javassist/src/main/javassist/bytecode/analysis/
DExecutor.java89 frame.push(Type.LONG); in execute()
117 evalLoad(Type.LONG, iter.byteAt(pos + 1), frame, subroutine); in execute()
138 evalLoad(Type.LONG, opcode - LLOAD_0, frame, subroutine); in execute()
162 evalArrayLoad(Type.LONG, frame); in execute()
182 evalStore(Type.LONG, iter.byteAt(pos + 1), frame, subroutine); in execute()
203 evalStore(Type.LONG, opcode - LSTORE_0, frame, subroutine); in execute()
227 evalArrayStore(Type.LONG, frame); in execute()
310 evalBinaryMath(Type.LONG, frame); in execute()
322 evalBinaryMath(Type.LONG, frame); in execute()
334 evalBinaryMath(Type.LONG, frame); in execute()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRops.java43 new Rop(RegOps.MOVE, Type.LONG, StdTypeList.LONG, "move-long");
74 new Rop(RegOps.MOVE_PARAM, Type.LONG, StdTypeList.EMPTY,
98 new Rop(RegOps.CONST, Type.LONG, StdTypeList.EMPTY, "const-long");
214 new Rop(RegOps.ADD, Type.LONG, StdTypeList.LONG_LONG, "add-long");
231 new Rop(RegOps.SUB, Type.LONG, StdTypeList.LONG_LONG, "sub-long");
248 new Rop(RegOps.MUL, Type.LONG, StdTypeList.LONG_LONG, "mul-long");
266 new Rop(RegOps.DIV, Type.LONG, StdTypeList.LONG_LONG,
285 new Rop(RegOps.REM, Type.LONG, StdTypeList.LONG_LONG,
303 new Rop(RegOps.NEG, Type.LONG, StdTypeList.LONG, "neg-long");
319 new Rop(RegOps.AND, Type.LONG, StdTypeList.LONG_LONG, "and-long");
[all …]
/external/aac/libFDK/include/x86/
Dclz_x86.h96 inline INT fixnormz_D(LONG value) in fixnormz_D()
108 inline INT fixnorm_D(LONG value) in fixnorm_D()
129 inline INT fixnormz_D(LONG value) in fixnormz_D()
141 inline INT fixnorm_D(LONG value) in fixnorm_D()
/external/lzma/C/
DThreads.c60 *p = CreateSemaphore(NULL, (LONG)initCount, (LONG)maxCount, NULL); in Semaphore_Create()
64 static WRes Semaphore_Release(CSemaphore *p, LONG releaseCount, LONG *previousCount) in Semaphore_Release()
67 { return Semaphore_Release(p, (LONG)num, NULL); } in Semaphore_ReleaseN()
/external/aac/libFDK/src/arm/
Dqmf_arm.cpp130 inline INT SMULBB (const SHORT a, const LONG b) in SMULBB()
138 inline INT SMULBT (const SHORT a, const LONG b) in SMULBT()
147 inline INT SMLABB(const LONG accu, const SHORT a, const LONG b) in SMLABB()
155 inline INT SMLABT(const LONG accu, const SHORT a, const LONG b) in SMLABT()
173 LONG *p_flt = (LONG *) p_filter; in qmfAnaPrototypeFirSlot()
174 LONG flt; in qmfAnaPrototypeFirSlot()
424 inline INT SMULWB (const LONG a, const LONG b) in SMULWB()
433 inline INT SMULWT (const LONG a, const LONG b) in SMULWT()
443 inline INT SMLAWB(const LONG accu, const LONG a, const LONG b) in SMLAWB()
452 inline INT SMLAWT(const LONG accu, const LONG a, const LONG b) in SMLAWT()

12345678910>>...13