/external/clang/test/Analysis/ |
mpicheckernotes.cpp | 8 double buf = 0; local 10 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-note{{Request is previously used by nonblocking call here.}} 11 MPI_Irecv(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}} 16 double buf = 0; local 18 MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD, &sendReq); // expected-note{{Request is previously used by nonblocking call here.}} 26 double buf = 0; local 28 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-note 2{{Request is previously used by nonblocking call here.}} 29 MPI_Irecv(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}} 31 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}}
|
/external/strace/tests/ |
printstr.c | 42 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); local 44 .iov_base = buf, 49 buf[0] = 0; 53 memset(buf + 1, 'X', DEFAULT_STRLEN); 54 buf[DEFAULT_STRLEN - 1] = 0; 58 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc)); 60 buf[DEFAULT_STRLEN - 1] = 'X'; 61 buf[DEFAULT_STRLEN] = 0; 65 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc));
|
/external/strace/tests-m32/ |
printstr.c | 42 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); local 44 .iov_base = buf, 49 buf[0] = 0; 53 memset(buf + 1, 'X', DEFAULT_STRLEN); 54 buf[DEFAULT_STRLEN - 1] = 0; 58 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc)); 60 buf[DEFAULT_STRLEN - 1] = 'X'; 61 buf[DEFAULT_STRLEN] = 0; 65 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc));
|
/external/strace/tests-mx32/ |
printstr.c | 42 char *const buf = tail_alloc(DEFAULT_STRLEN + 1); local 44 .iov_base = buf, 49 buf[0] = 0; 53 memset(buf + 1, 'X', DEFAULT_STRLEN); 54 buf[DEFAULT_STRLEN - 1] = 0; 58 " = %s\n", DEFAULT_STRLEN - 2, buf + 1, -1UL, sprintrc(rc)); 60 buf[DEFAULT_STRLEN - 1] = 'X'; 61 buf[DEFAULT_STRLEN] = 0; 65 " = %s\n", DEFAULT_STRLEN - 1, buf + 1, -1UL, sprintrc(rc));
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
Wsbm.h | 34 bool allocateTTMBuffer(uint32_t size, uint32_t align,void ** buf); 35 bool allocateTTMBufferUB(uint32_t size, uint32_t align, void ** buf, void *user_pt); 36 bool destroyTTMBuffer(void * buf); 37 void * getCPUAddress(void * buf); 38 uint32_t getGttOffset(void * buf); 39 bool wrapTTMBuffer(int64_t handle, void **buf); 40 bool unreferenceTTMBuffer(void *buf); 41 bool waitIdleTTMBuffer(void *buf); 42 uint64_t getKBufHandle(void *buf);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
Wsbm.h | 34 bool allocateTTMBuffer(uint32_t size, uint32_t align,void ** buf); 35 bool allocateTTMBufferUB(uint32_t size, uint32_t align, void ** buf, void *user_pt); 36 bool destroyTTMBuffer(void * buf); 37 void * getCPUAddress(void * buf); 38 uint32_t getGttOffset(void * buf); 39 bool wrapTTMBuffer(uint32_t handle, void **buf); 40 bool unreferenceTTMBuffer(void *buf); 41 bool waitIdleTTMBuffer(void *buf); 42 uint32_t getKBufHandle(void *buf);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
ReadOnlyCharBufferTest.java | 25 loadTestData1(buf); 26 buf = buf.asReadOnlyBuffer(); 27 baseBuf = buf; 31 buf = null; 37 assertTrue(buf.isReadOnly()); 41 assertFalse(buf.hasArray()); 46 buf.array(); 53 CharBuffer duplicate = buf.duplicate(); 54 assertEquals(buf.hashCode(), duplicate.hashCode()) [all...] |
ReadOnlyHeapByteBufferTest.java | 24 buf = buf.asReadOnlyBuffer(); 25 baseBuf = buf; 33 assertTrue(buf.isReadOnly()); 37 assertFalse(buf.hasArray());
|
ReadOnlyHeapCharBufferTest.java | 26 buf = CharBuffer.allocate(BUFFER_LENGTH); 27 super.loadTestData1(buf); 28 buf = buf.asReadOnlyBuffer(); 29 baseBuf = buf;
|
ReadOnlyHeapDoubleBufferTest.java | 24 buf = DoubleBuffer.allocate(BUFFER_LENGTH); 25 super.loadTestData1(buf); 26 buf = buf.asReadOnlyBuffer(); 27 baseBuf = buf;
|
ReadOnlyHeapFloatBufferTest.java | 23 buf = FloatBuffer.allocate(BUFFER_LENGTH); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyHeapIntBufferTest.java | 23 buf = IntBuffer.allocate(BUFFER_LENGTH); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyHeapLongBufferTest.java | 23 buf = LongBuffer.allocate(BUFFER_LENGTH); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyHeapShortBufferTest.java | 23 buf = ShortBuffer.allocate(BUFFER_LENGTH); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyWrappedByteBufferTest.java | 24 buf = buf.asReadOnlyBuffer(); 25 baseBuf = buf; 33 assertTrue(buf.isReadOnly()); 37 assertFalse(buf.hasArray());
|
ReadOnlyWrappedCharBufferTest1.java | 25 buf = CharBuffer.wrap(new char[BUFFER_LENGTH]); 26 super.loadTestData1(buf); 27 buf = buf.asReadOnlyBuffer(); 28 baseBuf = buf;
|
ReadOnlyWrappedDoubleBufferTest.java | 23 buf = DoubleBuffer.wrap(new double[BUFFER_LENGTH]); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyWrappedFloatBufferTest.java | 23 buf = FloatBuffer.wrap(new float[BUFFER_LENGTH]); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyWrappedIntBufferTest.java | 23 buf = IntBuffer.wrap(new int[BUFFER_LENGTH]); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyWrappedLongBufferTest.java | 23 buf = LongBuffer.wrap(new long[BUFFER_LENGTH]); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
ReadOnlyWrappedShortBufferTest.java | 23 buf = ShortBuffer.wrap(new short[BUFFER_LENGTH]); 24 super.loadTestData1(buf); 25 buf = buf.asReadOnlyBuffer(); 26 baseBuf = buf;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
ByteQueue.java | 26 private UnboundedFifoByteBuffer buf; field in class:ByteQueue 30 buf = new UnboundedFifoByteBuffer(); 34 buf = new UnboundedFifoByteBuffer(initialCapacity); 39 buf.add(b); 43 return buf.remove(); 47 return buf.size(); 52 buf = new UnboundedFifoByteBuffer(initialCapacity); 54 buf = new UnboundedFifoByteBuffer(); 58 return buf.iterator();
|
/external/compiler-rt/test/asan/TestCases/ |
speculative_load2.cc | 17 char *buf = new char[2]; local 18 buf[0] = buf[1] = 0x0; 19 U *u = (U *)buf; 21 delete[] buf;
|
/external/icu/android_utils/ |
IcuUtils.cpp | 30 char buf[256]; local 31 const int num_written = snprintf(buf, sizeof(buf), "%s/usr/icu/", systemPathPrefix); 32 LOG_ALWAYS_FATAL_IF((num_written < 0 || static_cast<size_t>(num_written) >= sizeof(buf)), 35 u_setDataDirectory(buf);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_describe.h | 40 void debug_describe_reference(char* buf, const struct pipe_reference*ptr); 41 void debug_describe_resource(char* buf, const struct pipe_resource *ptr); 42 void debug_describe_surface(char* buf, const struct pipe_surface *ptr); 43 void debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr); 44 void debug_describe_so_target(char* buf,
|