Home
last modified time | relevance | path

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

/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java198 boolean[] reversed = service.ReverseBoolean(input, echoed); in checkArrayReversal()
202 if (input.length != reversed.length) { in checkArrayReversal()
206 int j = reversed.length - (1 + i); in checkArrayReversal()
207 if (input[i] != reversed[j]) { in checkArrayReversal()
210 " but reversed value = " + reversed[j]); in checkArrayReversal()
217 byte[] reversed = service.ReverseByte(input, echoed); in checkArrayReversal()
221 if (input.length != reversed.length) { in checkArrayReversal()
225 int j = reversed.length - (1 + i); in checkArrayReversal()
226 if (input[i] != reversed[j]) { in checkArrayReversal()
229 " 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.cpp150 vector<unique_fd> reversed; in ConfirmFileDescriptorArrays() local
152 status = s->ReverseFileDescriptorArray(array, &repeated, &reversed); in ConfirmFileDescriptorArrays()
162 DoWrite(FdByName(reversed[0]), "Third") && in ConfirmFileDescriptorArrays()
163 DoRead(FdByName(reversed[1]), "FirstSecondThird"); in ConfirmFileDescriptorArrays()
Daidl_test_client_primitives.cpp184 vector<sp<IBinder>> reversed; in ConfirmReverseBinderLists() local
186 status = s->ReverseNamedCallbackList(input, &output, &reversed); in ConfirmReverseBinderLists()
196 if (reversed.size() != 3) { in ConfirmReverseBinderLists()
221 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/update_engine/scripts/update_payload/
Dcommon.py178 items = reversed(items)
/system/core/adb/
Dprotocol.txt52 reversed.