HomeSort by relevance Sort by last modified time
    Searched refs:SIZE (Results 176 - 200 of 986) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/guava/guava-gwt/src-super/com/google/common/math/super/com/google/common/math/
IntMath.java 72 return ~~(x - y) >>> (Integer.SIZE - 1);
92 return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x);
96 return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1);
105 int logFloor = (Integer.SIZE - 1) - leadingZeros;
132 // maxLog10ForLeadingZeros[i] == floor(log10(2^(Long.SIZE - i)))
176 int signum = 1 | ((p ^ q) >> (Integer.SIZE - 1));
276 int minDeltaOrZero = delta & (delta >> (Integer.SIZE - 1));
339 checkNoOverflow(k < Integer.SIZE - 1);
342 checkNoOverflow(k < Integer.SIZE);
  /external/ltp/testcases/kernel/mem/shmt/
shmt07.c 48 #define SIZE 16*1024
72 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) {
  /external/okhttp/okio/okio/src/test/java/okio/
GzipSinkTest.java 32 gzipSink.write(data, data.size());
43 gzipSink.write(new Buffer().writeUtf8(repeat('a', Segment.SIZE)), Segment.SIZE);
SegmentSharingTest.java 26 private static final String us = TestUtil.repeat('u', Segment.SIZE / 2 - 2);
27 private static final String vs = TestUtil.repeat('v', Segment.SIZE / 2 - 1);
28 private static final String ws = TestUtil.repeat('w', Segment.SIZE / 2);
29 private static final String xs = TestUtil.repeat('x', Segment.SIZE / 2 + 1);
30 private static final String ys = TestUtil.repeat('y', Segment.SIZE / 2 + 2);
31 private static final String zs = TestUtil.repeat('z', Segment.SIZE / 2 + 3);
184 int offsetInSegment = s.length() < Segment.SIZE ? (Segment.SIZE - s.length()) / 2 : 0;
189 result.write(buffer, buffer.size);
OkioTest.java 76 // assertEquals(21, Files.size(path));
94 sink.write(data, data.size());
100 ("a" + repeat('b', Segment.SIZE * 2) + "c").getBytes(UTF_8));
111 assertEquals(Segment.SIZE, source.read(sink, 20000));
112 assertEquals(repeat('b', Segment.SIZE), sink.readUtf8());
115 assertEquals(Segment.SIZE - 1, source.read(sink, 20000));
116 assertEquals(repeat('b', Segment.SIZE - 2) + "c", sink.readUtf8());
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableBlackLevelPattern.java 32 private static final int SIZE = SIZEOF_INT32 * BlackLevelPattern.COUNT;
60 return SIZE;
MarshalQueryableColorSpaceTransform.java 35 private static final int SIZE = SIZEOF_INT32 * ELEMENTS_INT32;
67 return SIZE;
MarshalQueryableRect.java 32 private static final int SIZE = SIZEOF_INT32 * 4;
63 return SIZE;
MarshalQueryableRggbChannelVector.java 32 private static final int SIZE = SIZEOF_FLOAT * RggbChannelVector.COUNT;
59 return SIZE;
MarshalQueryableSize.java 18 import android.util.Size;
29 * Marshal {@link Size} to/from {@code TYPE_INT32}
31 public class MarshalQueryableSize implements MarshalQueryable<Size> {
32 private static final int SIZE = SIZEOF_INT32 * 2;
34 private class MarshalerSize extends Marshaler<Size> {
35 protected MarshalerSize(TypeReference<Size> typeReference, int nativeType) {
40 public void marshal(Size value, ByteBuffer buffer) {
46 public Size unmarshal(ByteBuffer buffer) {
50 return new Size(width, height);
55 return SIZE;
    [all...]
MarshalQueryableSizeF.java 33 private static final int SIZE = SIZEOF_FLOAT * 2;
57 return SIZE;
MarshalQueryableStreamConfiguration.java 36 private static final int SIZE = SIZEOF_INT32 * 4;
64 return SIZE;
MarshalQueryableStreamConfigurationDuration.java 38 private static final int SIZE = SIZEOF_INT64 * 4;
73 return SIZE;
  /frameworks/base/core/java/android/util/
Size.java 24 public final class Size {
26 * Create a new immutable Size instance.
28 * @param width The width of the size, in pixels
29 * @param height The height of the size, in pixels
31 public Size(int width, int height) {
37 * Get the width of the size (in pixels).
45 * Get the height of the size (in pixels).
53 * Check if this size is equal to another size.
59 * A size object is never equal to any other type of object
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DozeLog.java 35 private static final int SIZE = Build.IS_DEBUGGABLE ? 400 : 50;
95 sTimes = new long[SIZE];
96 sMessages = new String[SIZE];
197 final int start = (sPosition - sCount + SIZE) % SIZE;
199 final int j = (start + i) % SIZE;
227 sPosition = (sPosition + 1) % SIZE;
228 sCount = Math.min(sCount + 1, SIZE);
  /frameworks/compile/mclinker/include/mcld/Target/
PLT.h 50 template <size_t SIZE, typename EntryBase = PLTEntryBase>
53 enum { EntrySize = SIZE };
60 size_t size() const { return EntrySize; } function in class:mcld::PLT::Entry
68 // finalizeSectionSize - set LDSection size
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ByteBufferReader.java 41 * @param size The number of bytes to read from the buffer
46 public static long readInteger(ByteBuffer payload, ByteOrder byteOrder, int size) {
47 if (size < MINIMUM_INTEGER_SIZE || size > MAXIMUM_INTEGER_SIZE) {
48 throw new IllegalArgumentException("Invalid size " + size);
52 byte[] octets = new byte[size];
59 value = (value << Byte.SIZE) | (octets[n] & 0xFF);
63 value = (value << Byte.SIZE) | (octet & 0xFF);
  /external/mesa3d/src/gallium/tests/graw/
fs-test.c 244 #define SIZE 16
252 ubyte tex2d[SIZE][SIZE][4];
255 #if (SIZE != 2)
256 for (s = 0; s < SIZE; s++) {
257 for (t = 0; t < SIZE; t++) {
267 tex2d[t][s][0] = s*255/(SIZE-1);
268 tex2d[t][s][1] = t*255/(SIZE-1);
299 templat.width0 = SIZE;
300 templat.height0 = SIZE;
    [all...]
gs-test.c 335 #define SIZE 16
343 ubyte tex2d[SIZE][SIZE][4];
346 #if (SIZE != 2)
347 for (s = 0; s < SIZE; s++) {
348 for (t = 0; t < SIZE; t++) {
358 tex2d[t][s][0] = s*255/(SIZE-1);
359 tex2d[t][s][1] = t*255/(SIZE-1);
390 templat.width0 = SIZE;
391 templat.height0 = SIZE;
    [all...]
vs-test.c 233 #define SIZE 16
241 ubyte tex2d[SIZE][SIZE][4];
244 #if (SIZE != 2)
245 for (s = 0; s < SIZE; s++) {
246 for (t = 0; t < SIZE; t++) {
256 tex2d[t][s][0] = s*255/(SIZE-1);
257 tex2d[t][s][1] = t*255/(SIZE-1);
288 templat.width0 = SIZE;
289 templat.height0 = SIZE;
    [all...]
  /frameworks/compile/mclinker/include/mcld/ADT/
SizeTraits.h 17 template <size_t SIZE>
39 template <size_t SIZE>
139 template <size_t SIZE>
140 typename SizeTraits<SIZE>::Word bswap(typename SizeTraits<SIZE>::Word pData);
171 enum { Size = SizeOfStr };
174 #define STR_SIZE(str, fieldTy) StringSizerHelper<sizeof(str) - 1, fieldTy>::Size
  /external/guava/guava/src/com/google/common/math/
IntMath.java 75 return ~~(x - y) >>> (Integer.SIZE - 1);
95 return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x);
99 return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1);
108 int logFloor = (Integer.SIZE - 1) - leadingZeros;
168 // maxLog10ForLeadingZeros[i] == floor(log10(2^(Long.SIZE - i)))
199 return (k < Integer.SIZE) ? (1 << k) : 0;
201 if (k < Integer.SIZE) {
297 int signum = 1 | ((p ^ q) >> (Integer.SIZE - 1));
397 int minDeltaOrZero = delta & (delta >> (Integer.SIZE - 1));
460 checkNoOverflow(k < Integer.SIZE - 1)
    [all...]
LongMath.java 73 return (int) (~~(x - y) >>> (Long.SIZE - 1));
93 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x);
97 return Long.SIZE - Long.numberOfLeadingZeros(x - 1);
106 int logFloor = (Long.SIZE - 1) - leadingZeros;
168 // maxLog10ForLeadingZeros[i] == floor(log10(2^(Long.SIZE - i)))
242 return (k < Long.SIZE) ? 1L << k : 0;
244 if (k < Long.SIZE) {
363 int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1));
490 long minDeltaOrZero = delta & (delta >> (Long.SIZE - 1));
537 * If leadingZeros > Long.SIZE + 1 it's definitely fine, if it's < Long.SIZE it's definitel
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DeviceDescriptor.cpp 63 for(size_t i = 0; i < size(); i++) {
71 for(size_t i = 0; i < size(); i++) {
81 for (size_t i = 0; i < devices.size(); i++) {
123 for (size_t i = 0; i < size(); i++) {
134 for (size_t i = 0; i < size(); i++) {
152 for (size_t i = 0; i < size(); i++) {
166 for (size_t i = 0; (i < size()) && (type != AUDIO_DEVICE_NONE); i++) {
183 for (size_t i = 0; i < size(); i++) {
196 for (size_t i = 0; i < size(); i++) {
210 const size_t SIZE = 256
    [all...]
  /toolchain/binutils/binutils-2.25/opcodes/
h8300-dis.c 84 switch (looking_for & SIZE)
136 if ((looking_for & SIZE) == L_16)
147 fprintf (stream, "DISP bad size\n");
186 if ((x & SIZE) == L_3 || (x & SIZE) == L_3NZ)
202 switch (x & SIZE)
219 switch (x & SIZE)
267 if ((x & SIZE) == L_16 ||
268 (x & SIZE) == L_16U)
449 make sure the operand size, either w or l
    [all...]

Completed in 668 milliseconds

1 2 3 4 5 6 78 91011>>