/ndk/sources/host-tools/toolbox/ |
D | cmp_win.c | 69 char buf1[BUFSIZE], buf2[BUFSIZE]; in main() local 73 n2 = fread(buf2, 1, BUFSIZE, f2); in main() 74 ret = (n1 != n2) || memcmp(buf1, buf2, n1) != 0; in main()
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
D | utils.c | 348 static char *buf1, *buf2; in follow_symlink() local 358 buf2 = ck_malloc (PATH_MAX + 1); in follow_symlink() 365 if (buf == buf2) in follow_symlink() 367 strcpy (buf1, buf2); in follow_symlink() 371 while ((rc = readlink (buf, buf2, buf_size)) == buf_size) in follow_symlink() 375 buf2 = ck_realloc (buf2, buf_size); in follow_symlink() 380 buf2 [rc] = '\0'; in follow_symlink() 382 if (buf2[0] != '/' && (c = strrchr (buf, '/')) != NULL) in follow_symlink() 391 buf2 = ck_realloc (buf2, buf_size); in follow_symlink() 399 memcpy (buf1 + len, buf2, rc + 1); in follow_symlink() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | cstring_test.cpp | 45 char buf1[1], buf2[1]; in import_checks() local 46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks() 47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks()
|
D | deque_test.cpp | 207 char buf2[1024]; in allocator_with_state() local 208 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | hash_test.cpp | 383 char buf2[2048]; in allocator_with_state() local 384 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | list_test.cpp | 277 char buf2[1024]; in allocator_with_state() local 278 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | vector_test.cpp | 378 char buf2[1024]; in allocator_with_state() local 379 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | map_test.cpp | 272 char buf2[1024]; in allocator_with_state() local 273 StackAllocator<pair<const int, int> > stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | set_test.cpp | 281 char buf2[1024]; in allocator_with_state() local 282 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | slist_test.cpp | 336 char buf2[1024]; in allocator_with_state() local 337 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | string_test.cpp | 1307 char buf2[1024]; in allocator_with_state() local 1308 StackAllocator<char> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
/ndk/tests/device/test-stlport/unit/ |
D | cstring_test.cpp | 45 char buf1[1], buf2[1]; in import_checks() local 46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks() 47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks()
|
D | deque_test.cpp | 207 char buf2[1024]; in allocator_with_state() local 208 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | hash_test.cpp | 383 char buf2[2048]; in allocator_with_state() local 384 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | list_test.cpp | 277 char buf2[1024]; in allocator_with_state() local 278 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | vector_test.cpp | 378 char buf2[1024]; in allocator_with_state() local 379 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | map_test.cpp | 272 char buf2[1024]; in allocator_with_state() local 273 StackAllocator<pair<const int, int> > stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | slist_test.cpp | 336 char buf2[1024]; in allocator_with_state() local 337 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | set_test.cpp | 281 char buf2[1024]; in allocator_with_state() local 282 StackAllocator<int> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
D | string_test.cpp | 1307 char buf2[1024]; in allocator_with_state() local 1308 StackAllocator<char> stack2(buf2, buf2 + sizeof(buf2)); in allocator_with_state()
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | localcharset.c | 161 char buf2[50+1]; in get_charset_aliases() local 181 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) in get_charset_aliases() 184 l2 = strlen (buf2); in get_charset_aliases() 205 strcpy (res_ptr + res_size - (l2 + 1), buf2); in get_charset_aliases()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_dummy/ |
D | c_locale_dummy.c | 274 char buf1[64], buf2[64]; in _Locale_strcmp() local 279 _STLP_STRNCPY(buf2, 64, s2, bufsize2); buf2[bufsize2] = 0; in _Locale_strcmp() 281 ret = strcmp(buf1, buf2); in _Locale_strcmp() 294 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp() local 299 _STLP_WCSNCPY(buf2, 64, s2, bufsize2); buf2[bufsize2] = 0; in _WLocale_strcmp() 301 ret = wcscmp(buf1, buf2); in _WLocale_strcmp()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/ |
D | c_locale_glibc2.c | 366 char buf1[64], buf2[64]; in _Locale_strcmp() local 371 strncpy(buf2, s2, bufsize2); buf2[bufsize2] = 0; in _Locale_strcmp() 373 ret = strcoll_l(buf1, buf2, (locale_t)__loc); in _Locale_strcmp() 386 wchar_t buf1[64], buf2[64]; in _WLocale_strcmp() local 391 wcsncpy(buf2, s2, bufsize2); buf2[bufsize2] = 0; in _WLocale_strcmp() 393 ret = wcscoll_l(buf1, buf2, (locale_t)__loc); in _WLocale_strcmp()
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 1111 char *buf1, *buf2; in _Locale_strcmp() local 1114 buf2 = __ConvertToCP(atoi(lcol->cp), __GetDefaultCP(lcol->lc.id), s2, n2, &size2); in _Locale_strcmp() 1116 result = _Locale_strcmp_auxA(lcol, buf1, size1, buf2, size2); in _Locale_strcmp() 1117 free(buf1); free(buf2); in _Locale_strcmp()
|