/external/strace/tests/ |
D | netlink_netfilter.c | 112 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/ |
D | netlink_netfilter.c | 112 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-m32/ |
D | netlink_netfilter.c | 112 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/ |
D | label_file.c | 121 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/ |
D | load_library.cc | 95 char* str_buf = reinterpret_cast<char*>(port::Malloc(str.length())); in LoadDynamicLibrary() local 96 memcpy(str_buf, str.data(), str.length()); in LoadDynamicLibrary() 97 *buf = str_buf; in LoadDynamicLibrary()
|
/external/icu/icu4c/source/test/cintltst/ |
D | putiltst.c | 512 …uint8_t str_buf[AESTRNCPY_SIZE] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x… in Test_aestrncpy() local 516 ret = uprv_aestrncpy(str_buf, src, len); in Test_aestrncpy() 517 if(ret != str_buf) { in Test_aestrncpy() 518 …s:%d: FAIL: uprv_aestrncpy returned %p expected %p\n", __FILE__, line, (void*)ret, (void*)str_buf); in Test_aestrncpy() 520 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy() 523 log_verbose("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy() 527 log_err ("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy()
|
/external/wpa_supplicant_8/src/utils/ |
D | xml_libxml2.c | 24 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/rust/crates/mio/examples/ |
D | tcp_server.rs | 159 if let Ok(str_buf) = from_utf8(received_data) { in handle_connection_event() 160 println!("Received data: {}", str_buf.trim_end()); in handle_connection_event()
|
/external/igt-gpu-tools/tests/ |
D | kms_setmode.c | 538 char str_buf[MAX_CRTCS][1024]; in test_crtc_config() local 554 get_crtc_config_str(&crtcs[i], str_buf[i], sizeof(str_buf[i])); in test_crtc_config() 555 crtc_strs[i] = &str_buf[i][0]; in test_crtc_config()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | collective_nccl_test.cc | 195 string str_buf; in RunTest() local 197 strings::StrAppend(&str_buf, " ", x); in RunTest() 199 VLOG(3) << "Expected output " << str_buf; in RunTest()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p.c | 1127 char str_buf[256]; in p2ps_gen_hash() local 1139 adv_array = (u8 *) str_buf; in p2ps_gen_hash() 1141 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash() 1146 str_buf[i] = str[i] - 'A' + 'a'; in p2ps_gen_hash() 1148 str_buf[i] = str[i]; in p2ps_gen_hash()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 150 std::stringbuf str_buf(str, std::ios_base::in); in CheckOutput() local 151 std::istream istream(&str_buf); in CheckOutput()
|