/system/bt/service/common/bluetooth/util/ |
atomic_string.cc | 21 AtomicString::AtomicString(const std::string& str) : str_(str) {} 29 void AtomicString::Set(const std::string& str) { 31 str_ = str;
|
/external/boringssl/src/crypto/asn1/ |
a_utf8.c | 75 int UTF8_getc(const unsigned char *str, int len, uint32_t *val) 82 p = str; 165 * This takes a character 'value' and writes the UTF8 encoded value in 'str' 166 * where 'str' is a buffer containing 'len' characters. Returns the number of 167 * characters written or -1 if 'len' is too small. 'str' can be set to NULL 172 int UTF8_putc(unsigned char *str, int len, uint32_t value) 174 if (!str) 179 if (str) 180 *str = (unsigned char)value; 186 if (str) { [all...] |
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
ev_streams.c | 48 static int copyvec(evStream *str, const struct iovec *iov, int iocnt); 49 static void consume(evStream *str, size_t bytes); 50 static void done(evContext opaqueCtx, evStream *str); 136 evStream *str = id.opaque; local 140 str->timer = timer; 141 str->flags |= EV_STR_TIMEROK; 147 evStream *str = id.opaque; local 151 str->flags &= ~EV_STR_TIMEROK; 211 copyvec(evStream *str, const struct iovec *iov, int iocnt) { 214 str->iovOrig = (struct iovec *)memget(sizeof(struct iovec) * iocnt) 271 evStream *str = uap; local 294 evStream *str = uap; local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/string/ |
strdup.c | 39 strdup(const char *str) 44 siz = strlen(str) + 1; 47 (void)memcpy(copy, str, siz);
|
/external/clang/test/Misc/ |
diag-macro-backtrace2.c | 14 const char str[] = "string"; local 15 a(str); 18 // CHECK: a(str); 33 e(str); 35 // CHECK: e(str);
|
/external/compiler-rt/test/asan/TestCases/ |
alloca_big_alignment.cc | 8 volatile char str[len] __attribute__((aligned(128))); local 9 assert(!(reinterpret_cast<long>(str) & 127L)); 10 str[index] = '1'; // BOOM
|
alloca_detect_custom_size_.cc | 13 volatile struct A str[len] __attribute__((aligned(32))); local 14 assert(!(reinterpret_cast<long>(str) & 31L)); 15 str[index].a[0] = '1'; // BOOM
|
alloca_overflow_partial.cc | 8 volatile char str[len] __attribute__((aligned(32))); local 9 assert(!(reinterpret_cast<long>(str) & 31L)); 10 str[index] = '1'; // BOOM
|
alloca_overflow_right.cc | 8 volatile char str[len] __attribute__((aligned(32))); local 9 assert(!(reinterpret_cast<long>(str) & 31L)); 10 str[index] = '1'; // BOOM
|
alloca_safe_access.cc | 8 volatile char str[len] __attribute__((aligned(32))); local 9 assert(!(reinterpret_cast<long>(str) & 31L)); 10 str[index] = '1';
|
alloca_underflow_left.cc | 8 volatile char str[len] __attribute__((aligned(32))); local 9 assert(!(reinterpret_cast<long>(str) & 31L)); 10 str[index] = '1'; // BOOM
|
vla_condition_overflow.cc | 11 char str[len]; //NOLINT local 12 assert(!(reinterpret_cast<uintptr_t>(str) & 31L)); 13 str[index] = '1'; // BOOM
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkStrUtil.cpp | 36 std::ostream& operator<< (std::ostream& str, const CharPtr& ptr) 39 return str << "(null)"; 41 return str << '"' << ptr.ptr << '"';
|
/external/e2fsprogs/intl/ |
hash-string.h | 32 const char *str = str_param; local 36 while (*str != '\0') 39 hval += (unsigned char) *str++;
|
/external/google-breakpad/src/common/linux/ |
crc32.h | 47 inline uint32_t ComputeCrc32(const std::string& str) { 48 return ComputeCrc32(str.c_str(), str.size());
|
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/ |
member_swap.pass.cpp | 26 assert(buf.str() == "testing"); 27 assert(buf1.str() == ""); 33 assert(buf.str() == "testing"); 34 assert(buf1.str() == ""); 40 assert(buf.str() == "testing"); 41 assert(buf1.str() == ""); 47 assert(buf.str() == L"testing"); 48 assert(buf1.str() == L""); 54 assert(buf.str() == L"testing"); 55 assert(buf1.str() == L"") [all...] |
nonmember_swap.pass.cpp | 28 assert(buf.str() == "testing"); 29 assert(buf1.str() == ""); 35 assert(buf.str() == "testing"); 36 assert(buf1.str() == ""); 42 assert(buf.str() == "testing"); 43 assert(buf1.str() == ""); 49 assert(buf.str() == L"testing"); 50 assert(buf1.str() == L""); 56 assert(buf.str() == L"testing"); 57 assert(buf1.str() == L"") [all...] |
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/ |
get_pointer.pass.cpp | 38 const char str[] = "0x0"; local 42 f.get(input_iterator<const char*>(str), 43 input_iterator<const char*>(str+sizeof(str)), 45 assert(iter.base() == str+sizeof(str)-1); 50 const char str[] = "0x73"; local 54 f.get(input_iterator<const char*>(str), 55 input_iterator<const char*>(str+sizeof(str)), [all...] |
/external/libmojo/third_party/markupsafe/ |
_compat.py | 16 text_type = str 17 string_types = (str,) 22 string_types = (str, unicode)
|
/external/libunwind/src/mi/ |
init.c | 47 const char *str = getenv ("UNW_DEBUG_LEVEL"); local 49 if (str) 50 unwi_debug_level = atoi (str);
|
/external/pdfium/fpdfsdk/ |
fsdk_filewriteadapter.cpp | 20 bool FSDK_FileWriteAdapter::WriteString(const ByteStringView& str) { 21 return WriteBlock(str.unterminated_c_str(), str.GetLength());
|
/external/protobuf/js/commonjs/ |
export_asserts.js | 22 function shouldExport(str) { 23 return str.lastIndexOf('assert') === 0 || str == 'fail';
|
/external/syslinux/core/ |
console.c | 15 void myputs(const char *str) 17 while (*str) 18 myputchar(*str++);
|
writestr.c | 38 void writestr(char *str) 40 while (*str) 41 writechr(*str++);
|
/external/webrtc/webrtc/base/ |
crc32.h | 28 inline uint32_t ComputeCrc32(const std::string& str) { 29 return ComputeCrc32(str.c_str(), str.size());
|