Home
last modified time | relevance | path

Searched refs:reversed (Results 1 – 8 of 8) sorted by relevance

/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java234 boolean[] reversed = service.ReverseBoolean(input, echoed); in checkArrayReversal()
238 if (input.length != reversed.length) { in checkArrayReversal()
242 int j = reversed.length - (1 + i); in checkArrayReversal()
243 if (input[i] != reversed[j]) { in checkArrayReversal()
246 " but reversed value = " + reversed[j]); in checkArrayReversal()
253 byte[] reversed = service.ReverseByte(input, echoed); in checkArrayReversal()
257 if (input.length != reversed.length) { in checkArrayReversal()
261 int j = reversed.length - (1 + i); in checkArrayReversal()
262 if (input[i] != reversed[j]) { in checkArrayReversal()
265 " but reversed value = " + reversed[j]); in checkArrayReversal()
[all …]
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp63 vector<SimpleParcelable> reversed; in ConfirmSimpleParcelables() local
64 status = s->ReverseSimpleParcelables(original, &repeated, &reversed); in ConfirmSimpleParcelables()
69 std::reverse(reversed.begin(), reversed.end()); in ConfirmSimpleParcelables()
70 if (repeated != original || reversed != original) { in ConfirmSimpleParcelables()
133 vector<PersistableBundle> reversed; in ConfirmPersistableBundles() local
134 status = s->ReversePersistableBundles(original, &repeated, &reversed); in ConfirmPersistableBundles()
139 std::reverse(reversed.begin(), reversed.end()); in ConfirmPersistableBundles()
140 if (repeated != original || reversed != original) { in ConfirmPersistableBundles()
Daidl_test_client_utf8_strings.cpp115 unique_ptr<vector<unique_ptr<string>>> input, reversed, repeated; in ConfirmUtf8InCppStringListReverse() local
116 Status status = s->ReverseUtf8CppStringList(input, &reversed, &repeated); in ConfirmUtf8InCppStringListReverse()
117 if (!status.isOk() || reversed || repeated) { in ConfirmUtf8InCppStringListReverse()
127 status = s->ReverseUtf8CppStringList(input, &repeated, &reversed); in ConfirmUtf8InCppStringListReverse()
128 if (!status.isOk() || !reversed || !repeated) { in ConfirmUtf8InCppStringListReverse()
132 if (reversed->size() != input->size() || repeated->size() != input->size()) { in ConfirmUtf8InCppStringListReverse()
140 const string* reversed_str = (*reversed)[(reversed->size() - 1) - i].get(); in ConfirmUtf8InCppStringListReverse()
Daidl_test_client_file_descriptors.cpp147 vector<ScopedFd> reversed; in ConfirmFileDescriptorArrays() local
149 status = s->ReverseFileDescriptorArray(array, &repeated, &reversed); in ConfirmFileDescriptorArrays()
159 DoWrite(FdByName(reversed[0]), "Third") && in ConfirmFileDescriptorArrays()
160 DoRead(FdByName(reversed[1]), "FirstSecondThird"); in ConfirmFileDescriptorArrays()
Daidl_test_client_primitives.cpp164 vector<sp<IBinder>> reversed; in ConfirmReverseBinderLists() local
166 status = s->ReverseNamedCallbackList(input, &output, &reversed); in ConfirmReverseBinderLists()
176 if (reversed.size() != 3) { in ConfirmReverseBinderLists()
201 android::interface_cast<INamedCallback>(reversed[i]); in ConfirmReverseBinderLists()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dfastgrep.c66 fg->reversed = false; in fgrepcomp()
94 fg->reversed = false; in fastcomp()
159 fg->reversed = true; in fastcomp()
198 if (fg->reversed) in fastcomp()
238 } else if (fg->reversed) { in grep_search()
Dgrep.h109 bool reversed; member
/system/core/adb/
Dprotocol.txt52 reversed.