Home
last modified time | relevance | path

Searched refs:Primitives (Results 1 – 25 of 52) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/primitives/
DPrimitivesTest.java33 assertTrue(Primitives.isWrapperType(Void.class)); in testIsWrapperType()
34 assertFalse(Primitives.isWrapperType(void.class)); in testIsWrapperType()
38 assertSame(Integer.class, Primitives.wrap(int.class)); in testWrap()
39 assertSame(Integer.class, Primitives.wrap(Integer.class)); in testWrap()
40 assertSame(String.class, Primitives.wrap(String.class)); in testWrap()
44 assertSame(int.class, Primitives.unwrap(Integer.class)); in testUnwrap()
45 assertSame(int.class, Primitives.unwrap(int.class)); in testUnwrap()
46 assertSame(String.class, Primitives.unwrap(String.class)); in testUnwrap()
50 Set<Class<?>> primitives = Primitives.allPrimitiveTypes(); in testAllPrimitiveTypes()
65 Set<Class<?>> wrappers = Primitives.allWrapperTypes(); in testAllWrapperTypes()
[all …]
/external/mockito/src/org/mockito/internal/stubbing/answers/
DMethodInfo.java7 import org.mockito.internal.util.Primitives;
37 … return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType()); in isValidReturnType()
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
DReturnsEmptyValues.java10 import org.mockito.internal.util.Primitives;
84 if (Primitives.isPrimitiveOrWrapper(type)) { in returnValueFor()
85 return Primitives.defaultValueForPrimitiveOrWrapper(type); in returnValueFor()
/external/mockito/src/org/mockito/internal/progress/
DHandyReturnValues.java9 import static org.mockito.internal.util.Primitives.defaultValueForPrimitiveOrWrapper;
10 import static org.mockito.internal.util.Primitives.isPrimitiveOrWrapper;
/external/guava/guava/src/com/google/common/collect/
DMutableClassToInstanceMap.java20 import com.google.common.primitives.Primitives;
82 return Primitives.wrap(type).cast(value); in cast()
DImmutableClassToInstanceMap.java21 import com.google.common.primitives.Primitives;
97 return Primitives.wrap(type).cast(value); in cast()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c52 draw->gs.tgsi.machine->Primitives = align_malloc( in draw_gs_init()
54 if (!draw->gs.tgsi.machine->Primitives) in draw_gs_init()
56 memset(draw->gs.tgsi.machine->Primitives, 0, in draw_gs_init()
67 align_free(draw->gs.tgsi.machine->Primitives); in draw_gs_destroy()
178 unsigned num_verts_per_prim = machine->Primitives[prim_idx]; in draw_geometry_fetch_outputs()
180 machine->Primitives[prim_idx]; in draw_geometry_fetch_outputs()
/external/guava/guava/src/com/google/common/primitives/
DPrimitives.java33 public final class Primitives { class
34 private Primitives() {} in Primitives() method in Primitives
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DParsers.java20 import com.google.common.primitives.Primitives;
55 final Class<T> wrappedResultType = Primitives.wrap(resultType); in conventionalParser()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DParameter.java26 import com.google.common.primitives.Primitives;
58 Class<?> type = Primitives.wrap(field.getType()); in Parameter()
/external/caliper/caliper/src/main/java/com/google/caliper/options/
DCommandLineParser.java28 import com.google.common.primitives.Primitives;
281 this.parser = Parsers.conventionalParser(Primitives.wrap(c)); in FieldOption()
318 this.parser = Parsers.conventionalParser(Primitives.wrap(c)); in MethodOption()
/external/opencv3/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Windows/
DMainPage.xaml.cpp22 using namespace Windows::UI::Xaml::Controls::Primitives;
/external/opencv3/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.WindowsPhone/
DMainPage.xaml.cpp22 using namespace Windows::UI::Xaml::Controls::Primitives;
/external/deqp/doc/testspecs/GLES3/
Dfunctional.shaders.builtin_functions.precision.txt75 Primitives:
114 Primitives:
150 Primitives:
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/
DApp.xaml.cpp18 using namespace Windows::UI::Xaml::Controls::Primitives;
/external/opencv3/samples/winrt/ImageManipulations/
DApp.xaml.cpp34 using namespace Windows::UI::Xaml::Controls::Primitives;
/external/mockito/src/org/mockito/internal/util/
DPrimitives.java11 public class Primitives { class
/external/opencv3/samples/winrt/FaceDetection/FaceDetection/
DApp.xaml.cpp18 using namespace Windows::UI::Xaml::Controls::Primitives;
DMainPage.xaml.cpp23 using namespace Windows::UI::Xaml::Controls::Primitives;
/external/opencv3/samples/winrt_universal/PhoneTutorial/
DApp.xaml.cpp18 using namespace Windows::UI::Xaml::Controls::Primitives;
DMainPage.xaml.cpp22 using namespace Windows::UI::Xaml::Controls::Primitives;
/external/opencv3/samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/
DApp.xaml.cpp44 using namespace Windows::UI::Xaml::Controls::Primitives;
/external/deqp/doc/testspecs/GLES2/
Dfunctional.scissors.txt26 + Primitives
/external/guava/guava/src/com/google/common/reflect/
DTypeToken.java34 import com.google.common.primitives.Primitives;
453 return TypeToken.of(Primitives.wrap(type)); in wrap()
459 return Primitives.allWrapperTypes().contains(runtimeType); in isWrapper()
472 return TypeToken.of(Primitives.unwrap(type)); in unwrap()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h275 unsigned *Primitives; member

123