/external/compiler-rt/test/asan/TestCases/Windows/ |
dll_intercept_memchr.cc | 9 char buff[6] = "Hello"; local 11 memchr(buff, 'z', 7); 19 // CHECK: 'buff' <== Memory access at offset {{.*}} overflows this variable
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lzio.c | 24 const char *buff; local 26 buff = z->reader(L, z->data, &size); 28 if (buff == NULL || size == 0) 31 z->p = buff; 68 char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) { 69 if (n > buff->buffsize) { 71 luaZ_resizebuffer(L, buff, n); 73 return buff->buffer;
|
/external/syslinux/com32/lua/src/ |
lzio.c | 24 const char *buff; local 26 buff = z->reader(L, z->data, &size); 28 if (buff == NULL || size == 0) 31 z->p = buff; 68 char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) { 69 if (n > buff->buffsize) { 71 luaZ_resizebuffer(L, buff, n); 73 return buff->buffer;
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_printf.cc | 33 static int AppendChar(char **buff, const char *buff_end, char c) { 34 if (*buff < buff_end) { 35 **buff = c; 36 (*buff)++; 44 static int AppendNumber(char **buff, const char *buff_end, u64 absolute_value, 56 result += AppendChar(buff, buff_end, '-'); 74 result += AppendChar(buff, buff_end, c); 76 if (negative && !pad_with_zero) result += AppendChar(buff, buff_end, '-'); 79 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit 85 static int AppendUnsigned(char **buff, const char *buff_end, u64 num, u8 base [all...] |
/external/adhd/cras/src/server/ |
cras_mix.c | 46 void cras_scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff, 50 ops->scale_buffer_increment(fmt, buff, frame * channel, scaler, 54 void cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buff, unsigned int count, 57 ops->scale_buffer(fmt, buff, count, scaler);
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
bpf_util.h | 14 char buff[128]; local 24 while (fgets(buff, sizeof(buff), fp)) { 25 n = sscanf(buff, "%u-%u", &start, &end);
|
/external/valgrind/none/tests/ |
res_search.c | 12 unsigned char buff[8000]; local 14 if(-1 == res_search(dn, 1, 1, buff, 8000)) 51 unsigned char buff[8000]; local 53 if(-1 == res_search(argv[1], 1, 1, buff, 8000))
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
GCOV.cpp | 90 bool GCOVFunction::read(GCOVBuffer &Buff, GCOVFormat Format) { 91 if (!Buff.readFunctionTag()) 94 Buff.readInt(); // Function header length 95 Ident = Buff.readInt(); 96 Buff.readInt(); // Checksum #1 98 Buff.readInt(); // Checksum #2 100 Name = Buff.readString(); 102 Filename = Buff.readString(); 105 Buff.readArcTag(); 106 uint32_t Count = Buff.readInt() / 2 [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
dynload_beos.c | 190 char buff[256]; /* hate hard-coded string sizes... */
local 197 PyOS_snprintf( buff, sizeof(buff),
201 PyOS_snprintf( buff, sizeof(buff),
205 PyErr_SetString( PyExc_ImportError, buff );
218 char buff[256]; /* hate hard-coded string sizes... */
local 226 PyOS_snprintf( buff, sizeof(buff),
231 PyOS_snprintf( buff, sizeof(buff), [all...] |
/external/python/cpython2/Python/ |
dynload_beos.c | 190 char buff[256]; /* hate hard-coded string sizes... */ local 197 PyOS_snprintf( buff, sizeof(buff), 201 PyOS_snprintf( buff, sizeof(buff), 205 PyErr_SetString( PyExc_ImportError, buff ); 218 char buff[256]; /* hate hard-coded string sizes... */ local 226 PyOS_snprintf( buff, sizeof(buff), 231 PyOS_snprintf( buff, sizeof(buff) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/arm/cryptocell/ |
util.h | 57 * buff[5] <---> buff[0] 58 * buff[4] <---> buff[1] 59 * buff[3] <---> buff[2]
|
/prebuilts/misc/common/swig/include/2.0.11/python/ |
pybuffer.i | 8 * %pybuffer_mutable_binary(char *buff, int size); 9 * void foo(char *buff, int size) { 11 * buff[i]++; 58 * %pybuffer_binary(char *buff, int size); 59 * int foo(char *buff, int size) { 62 * if (0==buff[i]) count++;
|
/device/generic/goldfish/libqemu/ |
test_util.h | 31 int pipe_send( Pipe* pipe, const void* buff, size_t bufflen ); 32 int pipe_recv( Pipe* pipe, void* buff, size_t bufflen );
|
/external/toybox/lib/ |
pending.h | 5 int read_password(char * buff, int buflen, char* mesg);
|
/external/curl/tests/libtest/ |
chkhostname.c | 30 char buff[HOSTNAME_MAX]; local 36 if(Curl_gethostname(buff, HOSTNAME_MAX)) { 42 if(strncmp(buff, argv[1], HOSTNAME_MAX)) {
|
/external/google-benchmark/src/ |
sysinfo.cc | 89 DataPtr Buff; 92 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} 96 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} 100 explicit operator bool() const { return bool(Buff); } 102 char* data() const { return Buff->bytes; } 107 if (Size == sizeof(Buff->uint32_value)) 108 return static_cast<int32_t>(Buff->uint32_value); 109 else if (Size == sizeof(Buff->uint64_value)) 110 return static_cast<int64_t>(Buff->uint64_value); 115 if (Size == sizeof(Buff->uint32_value) [all...] |
/external/libcxx/utils/google-benchmark/src/ |
sysinfo.cc | 89 DataPtr Buff; 92 ValueUnion() : Size(0), Buff(nullptr, &std::free) {} 96 Buff(::new (std::malloc(Size)) DataT(), &std::free) {} 100 explicit operator bool() const { return bool(Buff); } 102 char* data() const { return Buff->bytes; } 107 if (Size == sizeof(Buff->uint32_value)) 108 return static_cast<int32_t>(Buff->uint32_value); 109 else if (Size == sizeof(Buff->uint64_value)) 110 return static_cast<int64_t>(Buff->uint64_value); 115 if (Size == sizeof(Buff->uint32_value) [all...] |
/external/libmtp/examples/ |
format.c | 29 char buff[2]; local 33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) { 41 if (buff[0] == 'y') { 43 } else if (buff[0] == 'n') {
|
reset.c | 29 char buff[2]; local 33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) { 41 if (buff[0] == 'y') { 43 } else if (buff[0] == 'n') {
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/ |
cpuset_list_compute.c | 67 char buff[MAX_STRING_SIZE]; local 87 bitmask_displaylist(buff, MAX_STRING_SIZE, mask1); 88 printf("%s\n", buff); 100 bitmask_displaylist(buff, MAX_STRING_SIZE, mask3); 101 printf("%s\n", buff);
|
/frameworks/av/media/libaudioclient/tests/ |
track_test_output_v1.0_ref_walleye.txt | 9 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0) 20 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0) 31 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0) 42 notif. frame count(1600), req. notif. frame count(2400), req. notif. per buff(0) 53 notif. frame count(1470), req. notif. frame count(2205), req. notif. per buff(0) 64 notif. frame count(1470), req. notif. frame count(2205), req. notif. per buff(0) 75 notif. frame count(1470), req. notif. frame count(2205), req. notif. per buff(0) 86 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0) 97 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0) 108 notif. frame count(2400), req. notif. frame count(2400), req. notif. per buff(0 [all...] |
/packages/services/BuiltInPrintService/jni/plugins/ |
plugin_pdf.c | 76 char *buff; local 86 buff = malloc(BUFF_SIZE); 87 if (buff == NULL) { 93 rbytes = read(fd, buff, BUFF_SIZE); 96 wbytes = priv->print_ifc->send_data(priv->print_ifc, buff, rbytes); 99 rbytes = read(fd, buff, BUFF_SIZE); 110 free(buff);
|
/system/media/alsa_utils/ |
alsa_logging.c | 39 char buff[BUFF_SIZE]; local 40 buff[0] = '\0'; 43 strcat(buff, "["); 47 strcat(buff, (mask->bits[slot_index] & bit_mask) != 0 ? "1" : "0"); 51 strcat(buff, ","); 54 strcat(buff, "]"); 56 ALOGV("%s: mask:%s", mask_name, buff);
|
/external/f2fs-tools/tools/sg_write_buffer/ |
sg_lib.c | 153 char buff[CMD_NAME_LEN]; local 155 sg_get_command_name(command, 0, CMD_NAME_LEN, buff); 156 buff[CMD_NAME_LEN - 1] = '\0'; 158 pr2ws("%s [", buff); 169 sg_get_scsi_status_str(int scsi_status, int buff_len, char * buff) 174 if ((NULL == buff) || (buff_len < 1)) 177 buff[0] = '\0'; 198 scnpr(buff, buff_len, "Unknown status [0x%x]", scsi_status); 200 scnpr(buff, buff_len, "%s", ccp); 206 char buff[128] local 2690 char buff[82]; local 2799 char buff[DSHS_LINE_BLEN + 2]; local 2950 char buff[82]; local [all...] |
/external/libedit/src/ |
chartype.c | 210 static Char *buff = NULL; local 218 if (!buff) { 220 buff = el_malloc(buffsize * sizeof(*buff)); 222 dst = buff; 224 used = ct_visual_char(dst, buffsize - (size_t)(dst - buff), *s); 226 used = dst - buff; 228 p = el_realloc(buff, buffsize * sizeof(*buff)); 231 buff = p [all...] |