Home
last modified time | relevance | path

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

12345678910>>...20

/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 …]
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win.h72 virtual STDMETHODIMP accHitTest(LONG x_left, LONG y_top, VARIANT* child);
78 STDMETHODIMP accLocation(LONG* x_left,
79 LONG* y_top,
80 LONG* width,
81 LONG* height,
85 STDMETHODIMP accNavigate(LONG nav_dir, VARIANT start, VARIANT* end);
91 virtual STDMETHODIMP get_accChildCount(LONG* child_count);
125 STDMETHODIMP accSelect(LONG flags_sel, VARIANT var_id);
131 LONG* topic_id);
140 STDMETHODIMP role(LONG* role);
[all …]
/external/chromium/chrome/browser/accessibility/
Dbrowser_accessibility_win.h78 STDMETHODIMP accHitTest(LONG x_left, LONG y_top, VARIANT* child);
81 STDMETHODIMP accLocation(LONG* x_left,
82 LONG* y_top,
83 LONG* width,
84 LONG* height,
88 STDMETHODIMP accNavigate(LONG nav_dir, VARIANT start, VARIANT* end);
94 STDMETHODIMP get_accChildCount(LONG* child_count);
127 STDMETHODIMP accSelect(LONG flags_sel, VARIANT var_id);
131 LONG* topic_id);
148 STDMETHODIMP role(LONG* role);
[all …]
/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/chromium_org/third_party/tcmalloc/vendor/src/base/
Datomicops-internals-windows.h72 inline LONG FastInterlockedCompareExchange(volatile LONG* ptr, in FastInterlockedCompareExchange()
73 LONG newval, LONG oldval) { in FastInterlockedCompareExchange()
74 return ::InterlockedCompareExchange(const_cast<LONG*>(ptr), newval, oldval); in FastInterlockedCompareExchange()
76 inline LONG FastInterlockedExchange(volatile LONG* ptr, LONG newval) { in FastInterlockedExchange()
77 return ::InterlockedExchange(const_cast<LONG*>(ptr), newval); in FastInterlockedExchange()
79 inline LONG FastInterlockedExchangeAdd(volatile LONG* ptr, LONG increment) { in FastInterlockedExchangeAdd()
80 return ::InterlockedExchangeAdd(const_cast<LONG*>(ptr), increment); in FastInterlockedExchangeAdd()
88 LONG _InterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval);
90 inline LONG FastInterlockedCompareExchange(volatile LONG* ptr,
91 LONG newval, LONG oldval) {
[all …]
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Datomicops-internals-windows.h73 inline LONG FastInterlockedCompareExchange(volatile LONG* ptr, in FastInterlockedCompareExchange()
74 LONG newval, LONG oldval) { in FastInterlockedCompareExchange()
75 return ::InterlockedCompareExchange(const_cast<LONG*>(ptr), newval, oldval); in FastInterlockedCompareExchange()
77 inline LONG FastInterlockedExchange(volatile LONG* ptr, LONG newval) { in FastInterlockedExchange()
78 return ::InterlockedExchange(const_cast<LONG*>(ptr), newval); in FastInterlockedExchange()
80 inline LONG FastInterlockedExchangeAdd(volatile LONG* ptr, LONG increment) { in FastInterlockedExchangeAdd()
81 return ::InterlockedExchangeAdd(const_cast<LONG*>(ptr), increment); in FastInterlockedExchangeAdd()
89 LONG _InterlockedCompareExchange(volatile LONG* ptr, LONG newval, LONG oldval);
91 inline LONG FastInterlockedCompareExchange(volatile LONG* ptr,
92 LONG newval, LONG oldval) {
[all …]
/external/chromium_org/content/browser/accessibility/
Dbrowser_accessibility_win.h98 LONG unique_id_win() const { return unique_id_win_; } in unique_id_win()
119 CONTENT_EXPORT STDMETHODIMP accHitTest(LONG x_left, LONG y_top,
123 CONTENT_EXPORT STDMETHODIMP accLocation(LONG* x_left,
124 LONG* y_top,
125 LONG* width,
126 LONG* height,
130 CONTENT_EXPORT STDMETHODIMP accNavigate(LONG nav_dir, VARIANT start,
138 CONTENT_EXPORT STDMETHODIMP get_accChildCount(LONG* child_count);
173 CONTENT_EXPORT STDMETHODIMP accSelect(LONG flags_sel, VARIANT var_id);
177 LONG* topic_id);
[all …]
/external/chromium_org/ui/base/ime/win/
Dtsf_text_store.h96 STDMETHOD(FindNextAttrTransition)(LONG acp_start,
97 LONG acp_halt,
101 LONG* acp_next,
103 LONG* found_offset) OVERRIDE;
107 LONG* acp) OVERRIDE;
109 STDMETHOD(GetEmbedded)(LONG acp_pos,
113 STDMETHOD(GetEndACP)(LONG* acp) OVERRIDE;
114 STDMETHOD(GetFormattedText)(LONG acp_start,
115 LONG acp_end,
123 STDMETHOD(GetText)(LONG acp_start,
[all …]
Dtsf_text_store.cc53 const LONG count = InterlockedDecrement(&ref_count_); in Release()
97 LONG acp_start, in FindNextAttrTransition()
98 LONG acp_halt, in FindNextAttrTransition()
102 LONG* acp_next, in FindNextAttrTransition()
104 LONG* found_offset) { in FindNextAttrTransition()
118 LONG* acp) { in GetACPFromPoint()
133 STDMETHODIMP TSFTextStore::GetEmbedded(LONG acp_pos, in GetEmbedded()
145 STDMETHODIMP TSFTextStore::GetEndACP(LONG* acp) { in GetEndACP()
154 STDMETHODIMP TSFTextStore::GetFormattedText(LONG acp_start, LONG acp_end, in GetFormattedText()
226 STDMETHODIMP TSFTextStore::GetText(LONG acp_start, in GetText()
[all …]
/external/chromium_org/win8/metro_driver/ime/
Dtext_store.h106 STDMETHOD(FindNextAttrTransition)(LONG acp_start,
107 LONG acp_halt,
111 LONG* acp_next,
113 LONG* found_offset) OVERRIDE;
117 LONG* acp) OVERRIDE;
119 STDMETHOD(GetEmbedded)(LONG acp_pos,
123 STDMETHOD(GetEndACP)(LONG* acp) OVERRIDE;
124 STDMETHOD(GetFormattedText)(LONG acp_start,
125 LONG acp_end,
133 STDMETHOD(GetText)(LONG acp_start,
[all …]
Dtext_store.cc117 LONG acp_start, in FindNextAttrTransition()
118 LONG acp_halt, in FindNextAttrTransition()
122 LONG* acp_next, in FindNextAttrTransition()
124 LONG* found_offset) { in FindNextAttrTransition()
138 LONG* acp) { in GetACPFromPoint()
153 STDMETHODIMP TextStore::GetEmbedded(LONG acp_pos, in GetEmbedded()
165 STDMETHODIMP TextStore::GetEndACP(LONG* acp) { in GetEndACP()
170 *acp = static_cast<LONG>(string_buffer_.size()); in GetEndACP()
174 STDMETHODIMP TextStore::GetFormattedText(LONG acp_start, in GetFormattedText()
175 LONG acp_end, in GetFormattedText()
[all …]
/external/chromium/base/win/
Dregistry.cc42 LONG RegKey::Create(HKEY rootkey, const wchar_t* subkey, REGSAM access) { in Create()
47 LONG RegKey::CreateWithDisposition(HKEY rootkey, const wchar_t* subkey, in CreateWithDisposition()
53 LONG result = RegCreateKeyEx(rootkey, subkey, 0, NULL, in CreateWithDisposition()
59 LONG RegKey::Open(HKEY rootkey, const wchar_t* subkey, REGSAM access) { in Open()
64 LONG result = RegOpenKeyEx(rootkey, subkey, 0, access, &key_); in Open()
68 LONG RegKey::CreateKey(const wchar_t* name, REGSAM access) { in CreateKey()
73 LONG result = RegCreateKeyEx(key_, name, 0, NULL, REG_OPTION_NON_VOLATILE, in CreateKey()
81 LONG RegKey::OpenKey(const wchar_t* name, REGSAM access) { in OpenKey()
86 LONG result = RegOpenKeyEx(key_, name, 0, access, &subkey); in OpenKey()
106 LONG result = RegQueryInfoKey(key_, NULL, 0, NULL, NULL, NULL, NULL, &count, in ValueCount()
[all …]
Dregistry.h31 LONG Create(HKEY rootkey, const wchar_t* subkey, REGSAM access);
33 LONG CreateWithDisposition(HKEY rootkey, const wchar_t* subkey,
36 LONG Open(HKEY rootkey, const wchar_t* subkey, REGSAM access);
39 LONG CreateKey(const wchar_t* name, REGSAM access);
42 LONG OpenKey(const wchar_t* name, REGSAM access);
49 LONG ReadName(int index, std::wstring* name) const;
56 LONG DeleteKey(const wchar_t* name);
59 LONG DeleteValue(const wchar_t* name);
63 LONG ReadValue(const wchar_t* name, void* data, DWORD* dsize,
65 LONG ReadValue(const wchar_t* name, std::wstring* value) const;
[all …]
/external/kernel-headers/original/asm-mips/
Dsgiarcs.h188 LONG load; /* Load an executable image. */
189 LONG invoke; /* Invoke a standalong image. */
190 LONG exec; /* Load and begin execution of a
192 LONG halt; /* Halt the machine. */
193 LONG pdown; /* Power down the machine. */
194 LONG restart; /* XXX soft reset??? */
195 LONG reboot; /* Reboot the machine. */
196 LONG imode; /* Enter PROM interactive mode. */
197 LONG _unused1; /* Was ReturnFromMain(). */
200 LONG next_component;
[all …]
/external/chromium_org/base/win/
Dregistry.h33 LONG Create(HKEY rootkey, const wchar_t* subkey, REGSAM access);
35 LONG CreateWithDisposition(HKEY rootkey, const wchar_t* subkey,
39 LONG CreateKey(const wchar_t* name, REGSAM access);
42 LONG Open(HKEY rootkey, const wchar_t* subkey, REGSAM access);
45 LONG OpenKey(const wchar_t* relative_key_name, REGSAM access);
65 LONG GetValueNameAt(int index, std::wstring* name) const;
72 LONG DeleteKey(const wchar_t* name);
75 LONG DeleteValue(const wchar_t* name);
81 LONG ReadValueDW(const wchar_t* name, DWORD* out_value) const;
85 LONG ReadInt64(const wchar_t* name, int64* out_value) const;
[all …]
Dregistry.cc64 LONG RegKey::Create(HKEY rootkey, const wchar_t* subkey, REGSAM access) { in Create()
69 LONG RegKey::CreateWithDisposition(HKEY rootkey, const wchar_t* subkey, in CreateWithDisposition()
74 LONG result = RegCreateKeyEx(rootkey, subkey, 0, NULL, in CreateWithDisposition()
80 LONG RegKey::CreateKey(const wchar_t* name, REGSAM access) { in CreateKey()
83 LONG result = RegCreateKeyEx(key_, name, 0, NULL, REG_OPTION_NON_VOLATILE, in CreateKey()
91 LONG RegKey::Open(HKEY rootkey, const wchar_t* subkey, REGSAM access) { in Open()
95 LONG result = RegOpenKeyEx(rootkey, subkey, 0, access, &key_); in Open()
99 LONG RegKey::OpenKey(const wchar_t* relative_key_name, REGSAM access) { in OpenKey()
102 LONG result = RegOpenKeyEx(key_, relative_key_name, 0, access, &subkey); in OpenKey()
140 LONG result = RegQueryInfoKey(key_, NULL, 0, NULL, NULL, NULL, NULL, &count, in GetValueCount()
[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))
/external/kernel-headers/original/asm-mips/fw/arc/
Dtypes.h18 typedef long LONG __attribute__ ((__mode__ (__SI__))); typedef
27 typedef LONG _PCHAR;
28 typedef LONG _PSHORT;
29 typedef LONG _PLARGE_INTEGER;
30 typedef LONG _PLONG;
31 typedef LONG _PUCHAR;
32 typedef LONG _PUSHORT;
33 typedef LONG _PULONG;
34 typedef LONG _PVOID;
43 typedef long LONG __attribute__ ((__mode__ (__DI__))); typedef
[all …]
/external/chromium_org/third_party/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/chromium/chrome/browser/autocomplete/
Dautocomplete_accessibility.h44 STDMETHODIMP get_accChildCount(LONG* child_count);
53 STDMETHODIMP accNavigate(LONG nav_dir, VARIANT start, VARIANT* end);
77 STDMETHODIMP accLocation(LONG* x_left, LONG* y_top, LONG* width, LONG* height,
81 STDMETHODIMP accHitTest(LONG x_left, LONG y_top, VARIANT* child);
93 STDMETHODIMP accSelect(LONG flags_sel, VARIANT var_id);
98 LONG* topic_id);
/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/chromium_org/ui/gfx/range/
Drange_win.cc13 Range::Range(const CHARRANGE& range, LONG total_length) { in Range()
37 const LONG kLONGMax = std::numeric_limits<LONG>::max(); in ToCHARRANGE()
38 CHECK_LE(static_cast<LONG>(start()), kLONGMax); in ToCHARRANGE()
39 CHECK_LE(static_cast<LONG>(end()), kLONGMax); in ToCHARRANGE()
40 r.cpMin = static_cast<LONG>(start()); in ToCHARRANGE()
41 r.cpMax = static_cast<LONG>(end()); in ToCHARRANGE()

12345678910>>...20