Home
last modified time | relevance | path

Searched refs:toInt (Results 1 – 25 of 38) sorted by relevance

12

/external/guava/guava/src/com/google/common/hash/
DMurmur3_128HashFunction.java28 import static com.google.common.primitives.UnsignedBytes.toInt;
120 k2 ^= (long) toInt(bb.get(14)) << 48; // fall through in processRemaining()
122 k2 ^= (long) toInt(bb.get(13)) << 40; // fall through in processRemaining()
124 k2 ^= (long) toInt(bb.get(12)) << 32; // fall through in processRemaining()
126 k2 ^= (long) toInt(bb.get(11)) << 24; // fall through in processRemaining()
128 k2 ^= (long) toInt(bb.get(10)) << 16; // fall through in processRemaining()
130 k2 ^= (long) toInt(bb.get(9)) << 8; // fall through in processRemaining()
132 k2 ^= (long) toInt(bb.get(8)); // fall through in processRemaining()
137 k1 ^= (long) toInt(bb.get(6)) << 48; // fall through in processRemaining()
139 k1 ^= (long) toInt(bb.get(5)) << 40; // fall through in processRemaining()
[all …]
DMurmur3_32HashFunction.java28 import static com.google.common.primitives.UnsignedBytes.toInt;
171 k1 ^= toInt(bb.get()) << i; in processRemaining()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedBytes.java71 public static int toInt(byte value) { in toInt() method in UnsignedBytes
102 if (value > toInt(MAX_VALUE)) { in saturatedCast()
123 return toInt(a) - toInt(b); in compare()
136 int min = toInt(array[0]); in min()
138 int next = toInt(array[i]); in min()
156 int max = toInt(array[0]); in max()
158 int next = toInt(array[i]); in max()
191 return Integer.toString(toInt(x), radix); in toString()
248 builder.append(toInt(array[0])); in join()
/external/deqp/executor/
DxeTestResultParser.cpp39 static inline int toInt (const char* str) in toInt() function
531 image->width = toInt(getAttribute("Width")); in handleElementStart()
532 image->height = toInt(getAttribute("Height")); in handleElementStart()
613 config->bufferSize = toInt(getAttribute("BufferSize")); in handleElementStart()
614 config->redSize = toInt(getAttribute("RedSize")); in handleElementStart()
615 config->greenSize = toInt(getAttribute("GreenSize")); in handleElementStart()
616 config->blueSize = toInt(getAttribute("BlueSize")); in handleElementStart()
617 config->luminanceSize = toInt(getAttribute("LuminanceSize")); in handleElementStart()
618 config->alphaSize = toInt(getAttribute("AlphaSize")); in handleElementStart()
619 config->alphaMaskSize = toInt(getAttribute("AlphaMaskSize")); in handleElementStart()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedBytesTest.java44 assertEquals(0, UnsignedBytes.toInt((byte) 0)); in testToInt()
45 assertEquals(1, UnsignedBytes.toInt((byte) 1)); in testToInt()
46 assertEquals(127, UnsignedBytes.toInt((byte) 127)); in testToInt()
47 assertEquals(128, UnsignedBytes.toInt((byte) -128)); in testToInt()
48 assertEquals(129, UnsignedBytes.toInt((byte) -127)); in testToInt()
49 assertEquals(255, UnsignedBytes.toInt((byte) -1)); in testToInt()
55 UnsignedBytes.checkedCast(UnsignedBytes.toInt(value))); in testCheckedCast()
66 UnsignedBytes.saturatedCast(UnsignedBytes.toInt(value))); in testSaturatedCast()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp182 int type = ctx_item->data(peer_role_type).toInt(); in context_menu()
189 config_methods = var.toInt(); in context_menu()
194 method = (enum selected_method) var.toInt(); in context_menu()
308 int peer_type = ctx_item->data(peer_role_type).toInt(); in enter_pin()
436 int type = item->data(peer_role_type).toInt(); in add_station()
532 str.section('=', 1).toInt(0, 0); in add_p2p_group_client()
602 id = (*it).mid(pos).toInt(); in add_bss()
801 if (item->data(peer_role_type).toInt() == type) in find_addr_type()
869 if (item == NULL || item->data(peer_role_type).toInt() != in event_notify()
887 if (item && item->data(peer_role_type).toInt() == in event_notify()
[all …]
Dsignalbar.cpp38 if (index.data().toInt() > 0) in paint()
39 signal = 0 - (256 - index.data().toInt()); in paint()
41 signal = index.data().toInt(); in paint()
Dscanresultsitem.cpp15 return text(sortCol).toInt() < other.text(sortCol).toInt(); in operator <()
Daddinterface.cpp141 tmp = s.toInt(); in addRegistryInterface()
/external/deqp/framework/randomshaders/
DrsgVariableValue.cpp110 inline int toInt (bool boolVal) { return boolVal ? 1 : 0; } in toInt() function
119 return CompareIntersection()(toInt(aMin), toInt(aMax), toInt(bMin), toInt(bMax)); in operator ()()
137 return CompareIsSubsetOf()(toInt(aMin), toInt(aMax), toInt(bMin), toInt(bMax)); in operator ()()
/external/deqp/modules/egl/
DteglInfoTests.cpp46 static int toInt (std::string str) in toInt() function
110 const int stringMajor = toInt(versionTokens[0]); in validateString()
111 const int stringMinor = toInt(versionTokens[1]); in validateString()
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dmacros-original.cc11 inline long long toInt(argumentType* argumentName) { \
27 long long asInt = toInt(basePtr); in F()
/external/clang/test/SemaObjCXX/
Dobjc-container-subscripting.mm67 ConvertibleTo<int> toInt,
77 return array[toInt];
84 ConvertibleTo<int> toInt,
Dliterals.mm85 ConvertibleTo<int> toInt,
91toInt // expected-error{{collection element of type 'ConvertibleTo<int>' is not an Objective-C obj…
/external/deqp/modules/gles2/scripts/
Dgenutil.py116 def toInt(lst): return [Scalar(int(v.x)) for v in lst] function
121 def toIVec4(lst): return [v.toInt().toVec4() for v in lst]
122 def toIVec3(lst): return [v.toInt().toVec3() for v in lst]
123 def toIVec2(lst): return [v.toInt().toVec2() for v in lst]
234 def toInt(self): return Scalar(int(self.x)) member in Scalar
348 def toInt(self): return Vec2(int(self.x), int(self.y)) member in Vec2
434 def toInt(self): return Vec3(int(self.x), int(self.y), int(self.z)) member in Vec3
527 def toInt(self): return Vec4(int(self.x), int(self.y), int(self.z), int(self.w)) member in Vec4
Dgen-conversions.py90 res.append(Vec.fromScalarList(reduce(operator.add, [x[ndx].toInt().getScalars() for x in comps])))
296 genConversionCases([inFloat, inInt, inBool], [toFloat, toInt, toBool])))
304 … inVec3, inVec4, inIVec2, inIVec3, inIVec4, inBVec2, inBVec3, inBVec4], [toFloat, toInt, toBool])))
/external/skia/debugger/QT/
DSkSettingsWidget.h49 return fGLMSAACombo.itemData(fGLMSAACombo.currentIndex()).toInt(); in getGLSampleCount()
DSkListWidget.cpp60 int indent = index.data(Qt::UserRole + 3).toInt(); in paint()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterUtility.java46 static int toInt(char msc, char lsc) in toInt() method in UCharacterUtility
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterUtility.java45 static int toInt(char msc, char lsc) in toInt() method in UCharacterUtility
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DPriority.java139 public final int toInt() { in toInt() method in Priority
/external/deqp/modules/gles31/scripts/
Dgenutil.py116 def toInt(lst): return [Scalar(int(v.x)) for v in lst] function
122 def toIVec4(lst): return [v.toInt().toVec4() for v in lst]
123 def toIVec3(lst): return [v.toInt().toVec3() for v in lst]
124 def toIVec2(lst): return [v.toInt().toVec2() for v in lst]
256 def toInt(self): return Scalar(int(self.x)) member in Scalar
417 def toInt(self): return Vec2(int(self.x), int(self.y)) member in Vec2
528 def toInt(self): return Vec3(int(self.x), int(self.y), int(self.z)) member in Vec3
648 def toInt(self): return Vec4(int(self.x), int(self.y), int(self.z), int(self.w)) member in Vec4
/external/deqp/modules/gles3/scripts/
Dgenutil.py116 def toInt(lst): return [Scalar(int(v.x)) for v in lst] function
122 def toIVec4(lst): return [v.toInt().toVec4() for v in lst]
123 def toIVec3(lst): return [v.toInt().toVec3() for v in lst]
124 def toIVec2(lst): return [v.toInt().toVec2() for v in lst]
256 def toInt(self): return Scalar(int(self.x)) member in Scalar
415 def toInt(self): return Vec2(int(self.x), int(self.y)) member in Vec2
526 def toInt(self): return Vec3(int(self.x), int(self.y), int(self.z)) member in Vec3
646 def toInt(self): return Vec4(int(self.x), int(self.y), int(self.z), int(self.w)) member in Vec4
Dgen-conversions.py90 res.append(Vec.fromScalarList(reduce(operator.add, [x[ndx].toInt().getScalars() for x in comps])))
322 genConversionCases([inFloat, inInt, inUint, inBool], [toFloat, toInt, toBool]) +\
332 …IVec3, inIVec4, inUVec2, inUVec3, inUVec4, inBVec2, inBVec3, inBVec4], [toFloat, toInt, toBool]) +\
/external/pdfium/third_party/bigint/
DBigInteger.hh76 int toInt () const;

12