/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
SortLib.h | 21 @param[in] Buffer2 The pointer to second buffer.
23 @retval 0 Buffer1 equal to Buffer2.
24 @return <0 Buffer1 is less than Buffer2.
25 @return >0 Buffer1 is greater than Buffer2.
31 IN CONST VOID *Buffer2
66 @param[in] Buffer2 The pointer to second DevicePath to compare.
68 @retval 0 Buffer1 equal to Buffer2.
69 @return < 0 Buffer1 is less than Buffer2.
70 @return > 0 Buffer1 is greater than Buffer2.
76 IN CONST VOID *Buffer2
[all...] |
/external/libbrillo/brillo/ |
any_internal_impl_unittest.cc | 96 Buffer buffer2; local 99 buffer1.CopyTo(&buffer2); 101 EXPECT_FALSE(buffer2.IsEmpty()); 103 EXPECT_STREQ(GetTypeTag<int>(), buffer2.GetDataPtr()->GetTypeTag()); 105 EXPECT_EQ(30, buffer2.GetData<int>()); 108 buffer1.CopyTo(&buffer2); 110 EXPECT_FALSE(buffer2.IsEmpty()); 112 EXPECT_STREQ(GetTypeTag<std::string>(), buffer2.GetDataPtr()->GetTypeTag()); 114 EXPECT_EQ("abc", buffer2.GetData<std::string>()); 123 Buffer buffer2; local [all...] |
/system/core/libmemunreachable/tests/ |
HeapWalker_test.cpp | 79 char buffer2[16]{}; 80 buffer1[0] = &buffer2[0] - sizeof(void*); 81 buffer1[1] = &buffer2[15] + sizeof(void*); 84 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)); 96 EXPECT_EQ(buffer_begin(buffer2), leaked[0].begin); 97 EXPECT_EQ(buffer_end(buffer2), leaked[0].end); 107 char buffer2[to_buffer_bytes]{}; 108 buffer1[i] = &buffer2[j]; 111 heap_walker.Allocation(buffer_begin(buffer2), buffer_end(buffer2)) 158 void* buffer2; local 183 void* buffer2; local [all...] |
LeakFolding_test.cpp | 70 void* buffer2[1] = {nullptr}; local 75 ALLOCATION(heap_walker, buffer2); 97 void* buffer2[1] = {nullptr}; local 99 buffer1[0] = buffer2; 104 ALLOCATION(heap_walker, buffer2); 124 void* buffer2[1]; local 127 buffer1[0] = buffer2; 128 buffer2[0] = buffer3; 129 buffer3[0] = buffer2; 134 ALLOCATION(heap_walker, buffer2); 155 void* buffer2[2]; local 189 void* buffer2[1]; local 231 void* buffer2[1]; local 340 void* buffer2[1]; local [all...] |
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
script_test_11.c | 2 static unsigned int buffer2[256] __attribute((used)) = { 1 };
|
/frameworks/native/libs/vr/libdvr/tests/ |
dvr_named_buffer-test.cpp | 39 DvrBuffer* buffer2 = nullptr; local 41 dvrDisplayManagerSetupNamedBuffer(client_, buffer_name, 10, 0, &buffer2); 43 ASSERT_NE(nullptr, buffer2); 51 int e2 = dvrBufferGetAHardwareBuffer(buffer2, &hardware_buffer2); 71 dvrBufferDestroy(buffer2); 121 DvrBuffer* buffer2 = nullptr; local 122 int e2 = dvrGetNamedBuffer(buffer_name2, &buffer2); 123 ASSERT_NE(nullptr, buffer2); 125 dvrBufferDestroy(buffer2);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiSortLib/ |
UefiSortLib.c | 197 @param[in] Buffer2 pointer to second DevicePath pointer to compare
199 @retval 0 Buffer1 equal to Buffer2
200 @retval <0 Buffer1 is less than Buffer2
201 @retval >0 Buffer1 is greater than Buffer2
207 IN CONST VOID *Buffer2
218 DevicePath2 = *(EFI_DEVICE_PATH_PROTOCOL**)Buffer2;
272 @param[in] Buffer2 Pointer to second String to compare.
274 @retval 0 Buffer1 equal to Buffer2.
275 @retval <0 Buffer1 is less than Buffer2.
276 @retval >0 Buffer1 is greater than Buffer2. [all...] |
/frameworks/base/tools/aapt2/util/ |
BigBuffer_test.cpp | 57 BigBuffer buffer2(16); 58 b1 = buffer2.NextBlock<uint32_t>(); 62 buffer.AppendBuffer(std::move(buffer2)); 63 EXPECT_EQ(0u, buffer2.size()); 64 EXPECT_EQ(buffer2.begin(), buffer2.end());
|
/external/google-breakpad/src/common/linux/ |
safe_readlink_unittest.cc | 55 char buffer2[PATH_MAX]; local 56 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer2, path_length + 1)); 57 EXPECT_EQ(path_length, strlen(buffer2)); 58 EXPECT_EQ(0, strncmp(buffer, buffer2, PATH_MAX)); 85 char buffer2[PATH_MAX]; local 86 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer2)); 87 EXPECT_EQ(path_length, strlen(buffer2)); 88 EXPECT_EQ(0, strncmp(buffer, buffer2, PATH_MAX));
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSortLib/ |
BaseSortLib.c | 180 @param[in] Buffer2 Ignored.
188 IN CONST VOID *Buffer2
199 @param[in] Buffer2 Pointer to second String to compare.
201 @retval 0 Buffer1 equal to Buffer2.
202 @return < 0 Buffer1 is less than Buffer2.
203 @return > 0 Buffer1 is greater than Buffer2.
209 IN CONST VOID *Buffer2
221 @param[in] Buffer2 Pointer to second String to compare (CHAR16**).
223 @retval 0 Buffer1 equal to Buffer2.
224 @return < 0 Buffer1 is less than Buffer2. [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
global-registration.c | 24 extern char buffer2[1]; 33 buffer2[argc] = 0; 34 // ASAN-CHECK-2: {{0x.* is located 1 bytes .* 'buffer2'}} 61 extern char buffer2[1]; 62 char buffer2[1] = { 0 }; variable
|
/external/valgrind/exp-bbv/tests/amd64-linux/ |
rep_prefix.S | 130 mov $buffer2, %rdi 136 mov $buffer2, %rsi 144 mov $buffer2, %rdi 151 mov $buffer2, %rdi 167 mov $buffer2, %rdi 175 mov $buffer2,%rdi 183 mov $buffer2,%rdi 191 mov $buffer2,%rdi 199 mov $buffer2,%rdi 213 mov $buffer2, %rd [all...] |
/external/valgrind/exp-bbv/tests/x86/ |
rep_prefix.S | 96 mov $buffer2, %edi 102 mov $buffer2, %esi 110 mov $buffer2, %edi 125 mov $buffer2, %edi 132 mov $buffer2,%edi 140 mov $buffer2,%edi 148 mov $buffer2,%edi 160 mov $buffer2, %edi 167 mov $buffer2,%edi 175 mov $buffer2,%ed [all...] |
/cts/suite/audio_quality/test/ |
TaskCaseTest.cpp | 41 android::sp<Buffer> buffer2(new Buffer(4, 4, true)); 46 const android::String8 BUFFER2("buffer2"); 50 ASSERT_TRUE(mTaskCase->registerBuffer(BUFFER2, buffer2)); 64 (list->back().second.get() == buffer2.get())) || 65 ((list->front().second.get() == buffer2.get()) && 111 Buffer buffer2(4, 4, true);
|
/external/libchrome/base/ |
os_compat_android_unittest.cc | 37 char* buffer2 = const_cast<char*>(sub_dir2_string.c_str()); local 38 EXPECT_TRUE(mkdtemp(buffer2) != NULL);
|
/external/tpm2/ |
MemoryLib_fp.h | 41 const void *buffer2, // IN: compare buffer2
|
/external/llvm/lib/Support/Unix/ |
TimeValue.inc | 31 char Buffer2[sizeof("YYYY-MM-DD HH:MM:SS.MMMUUUNNN")]; 32 snprintf(Buffer2, sizeof(Buffer2), "%s.%.9u", Buffer1, this->nanoseconds()); 33 return std::string(Buffer2);
|
/system/vold/ |
Devmapper.cpp | 50 char *buffer2 = (char *) malloc(DEVMAPPER_BUFFER_SIZE); local 51 if (!buffer2) { 61 free(buffer2); 71 free(buffer2); 79 free(buffer2); 88 memset(buffer2, 0, DEVMAPPER_BUFFER_SIZE); 89 struct dm_ioctl *io2 = (struct dm_ioctl *) buffer2; 112 free(buffer2);
|
/device/generic/goldfish/libqemu/ |
test_guest_2.c | 59 uint8_t* buffer2; local 153 buffer2 = malloc(bufferSize); 176 ret = pipe_recv(pipe, buffer2 + pos, len); 189 if (memcmp(buffer, buffer2, bufferSize) != 0) { 200 if (memcmp(buffer+nn, buffer2+nn, avail) != 0) { 215 printf(" %02x", buffer2[nn+mm]);
|
/external/google-breakpad/src/common/dwarf/ |
bytereader-inl.h | 59 const uint32 buffer2 = buffer[2]; local 62 return buffer0 | buffer1 << 8 | buffer2 << 16 | buffer3 << 24; 64 return buffer3 | buffer2 << 8 | buffer1 << 16 | buffer0 << 24; 73 const uint64 buffer2 = buffer[2]; local 80 return buffer0 | buffer1 << 8 | buffer2 << 16 | buffer3 << 24 | 84 buffer3 << 32 | buffer2 << 40 | buffer1 << 48 | buffer0 << 56;
|
/frameworks/av/media/libaaudio/tests/ |
test_marshalling.cpp | 73 int32_t *buffer2 = (int32_t *)region2; local 74 EXPECT_NE(buffer1, buffer2); 75 EXPECT_EQ(buffer1[0], buffer2[0]); 106 int32_t *buffer2 = (int32_t *)region2; local 107 EXPECT_EQ(buffer1[0], buffer2[0]);
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
FormatUtils.java | 33 * Finds the earliest point in buffer1 at which the first part of buffer2 matches. For example, 36 public static int overlapPoint(CharArrayBuffer buffer1, CharArrayBuffer buffer2) { 37 if (buffer1 == null || buffer2 == null) { 41 Arrays.copyOfRange(buffer2.data, 0, buffer2.sizeCopied));
|
/packages/apps/Dialer/java/com/android/contacts/common/format/ |
FormatUtils.java | 29 * Finds the earliest point in buffer1 at which the first part of buffer2 matches. For example, 32 public static int overlapPoint(CharArrayBuffer buffer1, CharArrayBuffer buffer2) { 33 if (buffer1 == null || buffer2 == null) { 38 Arrays.copyOfRange(buffer2.data, 0, buffer2.sizeCopied));
|
/external/icu/icu4c/source/test/intltest/ |
uts46test.cpp | 588 char buffer[400], buffer2[400]; local [all...] |
/frameworks/native/libs/vr/libpdx/ |
thread_local_buffer_tests.cpp | 109 auto& buffer2 = MessageBuffer<SendSlotA>::GetBuffer(); local 113 EXPECT_EQ(buffer1.data(), buffer2.data()); 116 EXPECT_NE(buffer2.data(), buffer4.data());
|