Searched refs:ptr1 (Results 1 - 3 of 3) sorted by relevance

/haiku/src/bin/
H A Dversion.cpp109 char *ptr1 = const_cast<char*>(str1); local
112 while (*ptr1 != '\0') {
113 if (*ptr1 != *ptr2)
115 ++ptr1;
/haiku/src/tests/system/kernel/
H A Dmmap_cut_tests.cpp34 uint8* ptr1 = (uint8*)mmap(NULL, 16 * B_PAGE_SIZE, PROT_READ, MAP_PRIVATE, gTestFd, 0); local
36 memcpy(chunk, &ptr1[3 * B_PAGE_SIZE], sizeof(chunk));
39 uint8* ptr2 = (uint8*)mmap(&ptr1[B_PAGE_SIZE], B_PAGE_SIZE,
43 int status = memcmp(&ptr1[3 * B_PAGE_SIZE], chunk, sizeof(chunk));
/haiku/src/kits/support/
H A DString.cpp2563 char* ptr1 = fPrivateData + offset - length; local
2565 while (ptr1 >= fPrivateData) {
2566 if (!strncasecmp(ptr1, string, length))
2567 return ptr1 - fPrivateData;
2568 ptr1--;

Completed in 46 milliseconds