Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_file.c122 char *addr, *str_buf; in load_mmap() local
180 str_buf = malloc(entry_len + 1); in load_mmap()
181 if (!str_buf) in load_mmap()
184 rc = next_entry(str_buf, mmap_area, entry_len); in load_mmap()
186 free(str_buf); in load_mmap()
190 str_buf[entry_len] = '\0'; in load_mmap()
191 if ((strcmp(str_buf, reg_version) != 0)) { in load_mmap()
192 free(str_buf); in load_mmap()
195 free(str_buf); in load_mmap()
216 str_buf = malloc(entry_len + 1); in load_mmap()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c484 …uint8_t str_buf[AESTRNCPY_SIZE] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x… in Test_aestrncpy() local
488 ret = uprv_aestrncpy(str_buf, src, len); in Test_aestrncpy()
489 if(ret != str_buf) { in Test_aestrncpy()
490 …s:%d: FAIL: uprv_aestrncpy returned %p expected %p\n", __FILE__, line, (void*)ret, (void*)str_buf); in Test_aestrncpy()
492 if(!uprv_memcmp(str_buf, expect, AESTRNCPY_SIZE)) { in Test_aestrncpy()
495 log_verbose("\n%s:%d: got : %s\n", __FILE__, line, dump_binline(str_buf)); in Test_aestrncpy()
499 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.c1128 char str_buf[256]; in p2ps_gen_hash() local
1140 adv_array = (u8 *) str_buf; in p2ps_gen_hash()
1142 if (adv_len >= sizeof(str_buf)) in p2ps_gen_hash()
1147 str_buf[i] = str[i] - 'A' + 'a'; in p2ps_gen_hash()
1149 str_buf[i] = str[i]; in p2ps_gen_hash()