Home
last modified time | relevance | path

Searched refs:str_buf (Results 1 – 9 of 9) sorted by relevance

/external/strace/tests-m32/
Dnetlink_netfilter.c112 char str_buf[NLMSG_ALIGN(sizeof(msg)) + 4]; in test_nfgenmsg() local
116 MAX(sizeof(str_buf), sizeof(nla_buf))); in test_nfgenmsg()
162 memcpy(str_buf, &msg, sizeof(msg)); in test_nfgenmsg()
163 memcpy(str_buf + NLMSG_ALIGN(sizeof(msg)), "1234", 4); in test_nfgenmsg()
167 sizeof(str_buf), str_buf, sizeof(str_buf), in test_nfgenmsg()
/external/strace/tests-mx32/
Dnetlink_netfilter.c112 char str_buf[NLMSG_ALIGN(sizeof(msg)) + 4]; in test_nfgenmsg() local
116 MAX(sizeof(str_buf), sizeof(nla_buf))); in test_nfgenmsg()
162 memcpy(str_buf, &msg, sizeof(msg)); in test_nfgenmsg()
163 memcpy(str_buf + NLMSG_ALIGN(sizeof(msg)), "1234", 4); in test_nfgenmsg()
167 sizeof(str_buf), str_buf, sizeof(str_buf), in test_nfgenmsg()
/external/strace/tests/
Dnetlink_netfilter.c112 char str_buf[NLMSG_ALIGN(sizeof(msg)) + 4]; in test_nfgenmsg() local
116 MAX(sizeof(str_buf), sizeof(nla_buf))); in test_nfgenmsg()
162 memcpy(str_buf, &msg, sizeof(msg)); in test_nfgenmsg()
163 memcpy(str_buf + NLMSG_ALIGN(sizeof(msg)), "1234", 4); in test_nfgenmsg()
167 sizeof(str_buf), str_buf, sizeof(str_buf), in test_nfgenmsg()
/external/selinux/libselinux/src/
Dlabel_file.c121 char *addr, *str_buf; in load_mmap() local
179 str_buf = malloc(entry_len + 1); in load_mmap()
180 if (!str_buf) in load_mmap()
183 rc = next_entry(str_buf, mmap_area, entry_len); in load_mmap()
185 free(str_buf); in load_mmap()
189 str_buf[entry_len] = '\0'; in load_mmap()
190 if ((strcmp(str_buf, reg_version) != 0)) { in load_mmap()
191 free(str_buf); in load_mmap()
194 free(str_buf); in load_mmap()
215 str_buf = malloc(entry_len + 1); in load_mmap()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dload_library.cc95 char* str_buf = reinterpret_cast<char*>(port::Malloc(str.length())); in LoadLibrary() local
96 memcpy(str_buf, str.data(), str.length()); in LoadLibrary()
97 *buf = str_buf; in LoadLibrary()
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c498 …uint8_t str_buf[AESTRNCPY_SIZE] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x… in Test_aestrncpy() local
502 ret = uprv_aestrncpy(str_buf, src, len); in Test_aestrncpy()
503 if(ret != str_buf) { in Test_aestrncpy()
504 …s:%d: FAIL: uprv_aestrncpy returned %p expected %p\n", __FILE__, line, (void*)ret, (void*)str_buf); in Test_aestrncpy()
506 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy()
509 log_verbose("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy()
513 log_err ("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy()
/external/wpa_supplicant_8/src/utils/
Dxml_libxml2.c24 struct str_buf { struct
33 struct str_buf *str = ctx_ptr; in add_str() argument
62 struct str_buf errors; in xml_validate()
123 struct str_buf errors; in xml_validate_dtd()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc150 std::stringbuf str_buf(str, std::ios_base::in); in CheckOutput() local
151 std::istream istream(&str_buf); in CheckOutput()
/external/wpa_supplicant_8/src/p2p/
Dp2p.c1136 char str_buf[256]; in p2ps_gen_hash() local
1148 adv_array = (u8 *) str_buf; in p2ps_gen_hash()
1150 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash()
1155 str_buf[i] = str[i] - 'A' + 'a'; in p2ps_gen_hash()
1157 str_buf[i] = str[i]; in p2ps_gen_hash()