/external/python/cpython3/Modules/_blake2/impl/ |
blake2s-load-sse2.h | 19 #define LOAD_MSG_0_1(buf) buf = _mm_set_epi32(m6,m4,m2,m0) 20 #define LOAD_MSG_0_2(buf) buf = _mm_set_epi32(m7,m5,m3,m1) 21 #define LOAD_MSG_0_3(buf) buf = _mm_set_epi32(m14,m12,m10,m8) 22 #define LOAD_MSG_0_4(buf) buf = _mm_set_epi32(m15,m13,m11,m9) 23 #define LOAD_MSG_1_1(buf) buf = _mm_set_epi32(m13,m9,m4,m14 [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
BaseDexBuffer.java | 39 @Nonnull /* package private */ final byte[] buf; field in class:BaseDexBuffer 42 public BaseDexBuffer(@Nonnull byte[] buf) { 43 this(buf, 0); 45 public BaseDexBuffer(@Nonnull byte[] buf, int offset) { 46 this.buf = buf; 51 byte[] buf = this.buf; 53 int result = (buf[offset] & 0xff) | 54 ((buf[offset+1] & 0xff) << 8) [all...] |
/toolchain/binutils/binutils-2.27/libiberty/ |
simple-object-common.h | 183 simple_object_fetch_big_16 (const unsigned char *buf) 185 return ((unsigned short) buf[0] << 8) | (unsigned short) buf[1]; 191 simple_object_fetch_little_16 (const unsigned char *buf) 193 return ((unsigned short) buf[1] << 8) | (unsigned short) buf[0]; 199 simple_object_fetch_big_32 (const unsigned char *buf) 201 return (((unsigned int) buf[0] << 24) 202 | ((unsigned int) buf[1] << 16) 203 | ((unsigned int) buf[2] << 8 [all...] |
vsnprintf.c | 28 @deftypefn Supplemental int vsnprintf (char *@var{buf}, size_t @var{n}, @ 32 @var{buf} at most @code{@var{n}-1} bytes of text, followed by a 62 char *buf = 0; local 63 int result = vasprintf (&buf, format, ap); 65 if (!buf) 69 free (buf); 73 result = strlen (buf); 77 memcpy (s, buf, result+1); 80 memcpy (s, buf, n-1); 84 free (buf); 109 char buf[128]; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
FloatBufferTest.java | 37 protected FloatBuffer buf; field in class:FloatBufferTest 40 buf = FloatBuffer.allocate(BUFFER_LENGTH); 41 loadTestData1(buf); 42 baseBuf = buf; 46 buf = null; 51 float array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
LongBufferTest.java | 37 protected LongBuffer buf; field in class:LongBufferTest 40 buf = LongBuffer.allocate(BUFFER_LENGTH); 41 loadTestData1(buf); 42 baseBuf = buf; 46 buf = null; 51 long array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
IntBufferTest.java | 37 protected IntBuffer buf; field in class:IntBufferTest 40 buf = IntBuffer.allocate(BUFFER_LENGTH); 41 loadTestData1(buf); 42 baseBuf = buf; 46 buf = null; 51 int array[] = buf.array(); 52 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 54 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
ShortBufferTest.java | 36 protected ShortBuffer buf; field in class:ShortBufferTest 39 buf = ShortBuffer.allocate(BUFFER_LENGTH); 40 loadTestData1(buf); 41 baseBuf = buf; 45 buf = null; 50 short array[] = buf.array(); 51 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 53 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
SliceSliceDirectByteBufferTest.java | 24 buf.position(1); 25 buf = buf.slice(); 26 buf.position(1); 27 buf = buf.slice(); 28 baseBuf = buf;
|
DoubleBufferTest.java | 36 protected DoubleBuffer buf; field in class:DoubleBufferTest 39 buf = DoubleBuffer.allocate(BUFFER_LENGTH); 40 loadTestData1(buf); 41 baseBuf = buf; 45 buf = null; 75 double array[] = buf.array(); 76 assertContentEquals(buf, array, buf.arrayOffset(), buf.capacity()); 78 loadTestData1(array, buf.arrayOffset(), buf.capacity()) [all...] |
/external/kmod/shared/ |
strbuf.h | 14 void strbuf_init(struct strbuf *buf); 15 void strbuf_release(struct strbuf *buf); 16 void strbuf_clear(struct strbuf *buf); 19 char *strbuf_steal(struct strbuf *buf); 25 const char *strbuf_str(struct strbuf *buf); 27 bool strbuf_pushchar(struct strbuf *buf, char ch); 28 unsigned strbuf_pushchars(struct strbuf *buf, const char *str); 29 void strbuf_popchar(struct strbuf *buf); 30 void strbuf_popchars(struct strbuf *buf, unsigned n);
|
scratchbuf.c | 24 void scratchbuf_init(struct scratchbuf *buf, char *stackbuf, size_t size) 26 buf->bytes = stackbuf; 27 buf->size = size; 28 buf->need_free = false; 31 int scratchbuf_alloc(struct scratchbuf *buf, size_t size) 35 if (size <= buf->size) 38 if (buf->need_free) { 39 tmp = realloc(buf->bytes, size); 46 memcpy(tmp, buf->bytes, buf->size) [all...] |
/external/clang/test/Sema/ |
builtin-longjmp.c | 17 jmp_buf buf; variable 26 __builtin_longjmp(buf, 1); // expected-error {{__builtin_longjmp is not supported for the current target}} 32 if (!__builtin_setjmp(buf)) // expected-error {{__builtin_setjmp is not supported for the current target}}
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
strerror_r_test.cc | 10 char buf[1024]; local 11 char *res = (char *)strerror_r(300, buf, sizeof(buf));
|
/external/dtc/tests/ |
mangle-layout.c | 33 char *buf; member in struct:bufstate 37 static void expand_buf(struct bufstate *buf, int newsize) 39 buf->buf = realloc(buf->buf, newsize); 40 if (!buf->buf) 42 buf->size = newsize; 45 static void new_header(struct bufstate *buf, int version, const void *fdt 127 struct bufstate buf = {NULL, 0}; local [all...] |
/external/python/cpython3/Lib/test/test_asyncio/ |
echo.py | 5 buf = os.read(0, 1024) variable 6 if not buf: 8 os.write(1, buf)
|
echo2.py | 4 buf = os.read(0, 1024) variable 5 os.write(1, b'OUT:'+buf) 6 os.write(2, b'ERR:'+buf)
|
/external/libpng/contrib/tools/ |
png-fix-itxt.c | 45 unsigned char buf[MAX_LENGTH]; local 62 GETBREAK; buf[0] = c; length = c; length <<= 8; 63 GETBREAK; buf[1] = c; length += c; length <<= 8; 64 GETBREAK; buf[2] = c; length += c; length <<= 8; 65 GETBREAK; buf[3] = c; length += c; 68 GETBREAK; buf[4] = c; 69 GETBREAK; buf[5] = c; 70 GETBREAK; buf[6] = c; 71 GETBREAK; buf[7] = c; 75 if (buf[4] == 105 && buf[5] == 84 && buf[6] == 88 && buf[7] == 116 [all...] |
/bionic/tests/ |
string_posix_strerror_r_test.cpp | 41 char buf[256]; local 44 ASSERT_EQ(0, strerror_r(0, buf, sizeof(buf))); 45 ASSERT_STREQ("Success", buf); 46 ASSERT_EQ(0, strerror_r(1, buf, sizeof(buf))); 47 ASSERT_STREQ("Operation not permitted", buf); 50 ASSERT_EQ(0, strerror_r(-1, buf, sizeof(buf))); 51 ASSERT_STREQ("Unknown error -1", buf); [all...] |
/external/dhcpcd-6.8.2/compat/ |
endian.h | 34 be32enc(uint8_t *buf, uint32_t u) 37 buf[0] = (uint8_t)((u >> 24) & 0xff); 38 buf[1] = (uint8_t)((u >> 16) & 0xff); 39 buf[2] = (uint8_t)((u >> 8) & 0xff); 40 buf[3] = (uint8_t)(u & 0xff); 44 be64enc(uint8_t *buf, uint64_t u) 47 be32enc(buf, (uint32_t)(u >> 32)); 48 be32enc(buf + sizeof(uint32_t), (uint32_t)(u & 0xffffffffULL)); 52 be16dec(const uint8_t *buf) 55 return (uint16_t)(buf[0] << 8 | buf[1]) [all...] |
/external/libunwind/tests/ |
Lrs-race.c | 49 void *buf[20]; local 52 if ((n = unw_backtrace (buf, 20)) < 3) 59 void *buf[20]; local 62 if ((n = unw_backtrace (buf, 20)) < 3) 69 void *buf[20]; local 72 if ((n = unw_backtrace (buf, 20)) < 3) 79 void *buf[20]; local 82 if ((n = unw_backtrace (buf, 20)) < 3) 89 void *buf[20]; local 92 if ((n = unw_backtrace (buf, 20)) < 3 99 void *buf[20]; local 109 void *buf[20]; local 119 void *buf[20]; local 129 void *buf[20]; local 139 void *buf[20]; local 149 void *buf[20]; local 159 void *buf[20]; local 169 void *buf[20]; local 179 void *buf[20]; local 189 void *buf[20]; local 199 void *buf[20]; local 209 void *buf[20]; local 219 void *buf[20]; local 229 void *buf[20]; local 239 void *buf[20]; local 249 void *buf[20]; local 259 void *buf[20]; local 269 void *buf[20]; local 279 void *buf[20]; local 289 void *buf[20]; local 299 void *buf[20]; local 309 void *buf[20]; local 319 void *buf[20]; local 329 void *buf[20]; local 339 void *buf[20]; local 349 void *buf[20]; local 359 void *buf[20]; local 369 void *buf[20]; local 379 void *buf[20]; local 389 void *buf[20]; local 399 void *buf[20]; local 409 void *buf[20]; local 419 void *buf[20]; local 429 void *buf[20]; local 439 void *buf[20]; local 449 void *buf[20]; local 459 void *buf[20]; local 469 void *buf[20]; local 479 void *buf[20]; local 489 void *buf[20]; local 499 void *buf[20]; local 509 void *buf[20]; local 519 void *buf[20]; local 529 void *buf[20]; local 539 void *buf[20]; local 549 void *buf[20]; local 559 void *buf[20]; local 569 void *buf[20]; local 579 void *buf[20]; local 589 void *buf[20]; local 599 void *buf[20]; local 609 void *buf[20]; local 619 void *buf[20]; local 629 void *buf[20]; local 639 void *buf[20]; local 649 void *buf[20]; local 659 void *buf[20]; local 669 void *buf[20]; local 679 void *buf[20]; local 689 void *buf[20]; local 699 void *buf[20]; local 709 void *buf[20]; local 719 void *buf[20]; local 729 void *buf[20]; local 739 void *buf[20]; local 749 void *buf[20]; local 759 void *buf[20]; local 769 void *buf[20]; local 779 void *buf[20]; local 789 void *buf[20]; local 799 void *buf[20]; local 809 void *buf[20]; local 819 void *buf[20]; local 829 void *buf[20]; local 839 void *buf[20]; local 849 void *buf[20]; local 859 void *buf[20]; local 869 void *buf[20]; local 879 void *buf[20]; local 889 void *buf[20]; local 899 void *buf[20]; local 909 void *buf[20]; local 919 void *buf[20]; local 929 void *buf[20]; local 939 void *buf[20]; local 949 void *buf[20]; local 959 void *buf[20]; local 969 void *buf[20]; local 979 void *buf[20]; local 989 void *buf[20]; local 999 void *buf[20]; local 1009 void *buf[20]; local 1019 void *buf[20]; local 1029 void *buf[20]; local 1039 void *buf[20]; local 1049 void *buf[20]; local 1059 void *buf[20]; local 1069 void *buf[20]; local 1079 void *buf[20]; local 1089 void *buf[20]; local 1099 void *buf[20]; local 1109 void *buf[20]; local 1119 void *buf[20]; local 1129 void *buf[20]; local 1139 void *buf[20]; local 1149 void *buf[20]; local 1159 void *buf[20]; local 1169 void *buf[20]; local 1179 void *buf[20]; local 1189 void *buf[20]; local 1199 void *buf[20]; local 1209 void *buf[20]; local 1219 void *buf[20]; local 1229 void *buf[20]; local 1239 void *buf[20]; local 1249 void *buf[20]; local 1259 void *buf[20]; local 1269 void *buf[20]; local 1279 void *buf[20]; local 1289 void *buf[20]; local 1299 void *buf[20]; local 1309 void *buf[20]; local 1319 void *buf[20]; local 1329 void *buf[20]; local [all...] |
/external/strace/ |
print_ifindex.c | 35 char buf[IFNAMSIZ + 1]; local 37 if (if_indextoname(ifindex, buf)) { 39 print_quoted_cstring(buf, sizeof(buf));
|
/external/swiftshader/third_party/subzero/tests_lit/asan_tests/Input/ |
calloc.c | 6 void *buf = calloc(14, sizeof(int)); local 7 strcpy(buf, "Hello, world!"); 8 printf("%s\n", buf); 9 free(buf);
|
/external/syslinux/gpxe/src/core/ |
cpio.c | 38 char buf[9]; local 40 snprintf ( buf, sizeof ( buf ), "%08lx", value ); 41 memcpy ( field, buf, 8 );
|
/external/tensorflow/tensorflow/contrib/lite/java/src/main/native/ |
tensorflow_lite_jni.cc | 23 char buf[64]; local 24 snprintf(buf, sizeof(buf), "%d", TFLITE_SCHEMA_VERSION); 25 return env->NewStringUTF(buf);
|