/prebuilts/go/darwin-x86/test/linkname.dir/ |
linkname1.go | 3 func indexByte(xs []byte, b byte) int { // ERROR "indexByte xs does not escape" 4 for i, x := range xs {
|
/prebuilts/go/linux-x86/test/linkname.dir/ |
linkname1.go | 3 func indexByte(xs []byte, b byte) int { // ERROR "indexByte xs does not escape" 4 for i, x := range xs {
|
/external/clang/test/CXX/lex/lex.pptoken/ |
p3-0x.cpp | 13 const char xs[] = R"(\ 15 static_assert(sizeof(xs) == 12, "did not revert all changes");
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
ilist_sort.h | 22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { 26 assert(xs.size() == size && "Incorrect list size argument"); 35 iterator first = xs.begin(); 36 iterator second = xs.begin(); 39 xs.splice(first, xs, second); 47 iterator mid_iter(xs.begin()); 51 ys.splice(ys.begin(), xs, mid_iter, xs.end()); 53 // Sort the xs and ys recursively [all...] |
/external/clang/test/Sema/ |
warn-unsequenced.c | 11 int xs[10]; local 19 a = xs[++a]; // expected-warning {{multiple unsequenced modifications}} 20 a = xs[a++]; // expected-warning {{multiple unsequenced modifications}} 43 (xs[2] && (a = 0)) + a; // ok 47 (xs[3] || (a = 0)) + a; // ok 51 (xs[4] ? a : ++a) + a; // ok 54 (xs[5] ? ++a : ++a) + a; // FIXME: warn here 56 (++a, xs[6] ? ++a : 0) + a; // expected-warning {{unsequenced modification and access}} 62 int *p = xs; 79 (xs[7] && ++a) * (!xs[7] && ++a); // o [all...] |
/prebuilts/go/darwin-x86/test/ |
235.go | 26 func min(xs []uint64) uint64 { 27 m := xs[0] 28 for i := 1; i < len(xs); i++ { 29 if xs[i] < m { 30 m = xs[i] 52 xs := make([]uint64, n) 55 xs[i] = x 64 if xs[i] == x { 65 xs[i] = <-outs[i] 69 x = min(xs) [all...] |
sliceopt.go | 25 func s1_if_false_then_anything(x **[]int, xs **string, i, j int) { 30 zs := (**xs)[0:i] // since i=i+1 is proven, i+1 is "in bounds", ha-ha 35 func s1(x **[]int, xs **string, i, j int) { 60 zs = (**xs)[2:] 61 zs = (**xs)[2:len(**xs)] // ERROR "Proved IsSliceInBounds$" "Proved boolean IsSliceInBounds$" 62 zs = (**xs)[i:i] // -ERROR "Proved boolean IsSliceInBounds" 63 zs = (**xs)[0:] // ERROR "slice: omit slice operation$" 64 zs = (**xs)[2:8] 65 zs = (**xs)[2:2] // ERROR "Proved boolean IsSliceInBounds$ [all...] |
inline_variadic.go | 12 func head(xs ...string) string { // ERROR "can inline head" "leaking param: xs to result" 13 return xs[0]
|
/prebuilts/go/linux-x86/test/ |
235.go | 26 func min(xs []uint64) uint64 { 27 m := xs[0] 28 for i := 1; i < len(xs); i++ { 29 if xs[i] < m { 30 m = xs[i] 52 xs := make([]uint64, n) 55 xs[i] = x 64 if xs[i] == x { 65 xs[i] = <-outs[i] 69 x = min(xs) [all...] |
sliceopt.go | 25 func s1_if_false_then_anything(x **[]int, xs **string, i, j int) { 30 zs := (**xs)[0:i] // since i=i+1 is proven, i+1 is "in bounds", ha-ha 35 func s1(x **[]int, xs **string, i, j int) { 60 zs = (**xs)[2:] 61 zs = (**xs)[2:len(**xs)] // ERROR "Proved IsSliceInBounds$" "Proved boolean IsSliceInBounds$" 62 zs = (**xs)[i:i] // -ERROR "Proved boolean IsSliceInBounds" 63 zs = (**xs)[0:] // ERROR "slice: omit slice operation$" 64 zs = (**xs)[2:8] 65 zs = (**xs)[2:2] // ERROR "Proved boolean IsSliceInBounds$ [all...] |
inline_variadic.go | 12 func head(xs ...string) string { // ERROR "can inline head" "leaking param: xs to result" 13 return xs[0]
|
/external/clang/test/SemaCXX/ |
warn-unsequenced.cpp | 15 int xs[10]; local 26 a = xs[++a]; // ok 27 a = xs[a++]; // expected-warning {{multiple unsequenced modifications}} 28 (a ? xs[0] : xs[1]) = ++a; // expected-warning {{unsequenced modification and access}} 60 (xs[2] && (a = 0)) + a; // ok 64 (xs[3] || (a = 0)) + a; // ok 68 (xs[4] ? a : ++a) + a; // ok 73 (xs[5] ? ++a : ++a) + a; // FIXME: warn here 75 (++a, xs[6] ? ++a : 0) + a; // expected-warning {{unsequenced modification and access} [all...] |
/external/tensorflow/tensorflow/python/keras/_impl/keras/datasets/ |
reuters.py | 83 xs, labels = f['x'], f['y'] 86 indices = np.arange(len(xs)) 88 xs = xs[indices] 92 xs = [[start_char] + [w + index_from for w in x] for x in xs] 94 xs = [[w + index_from for w in x] for x in xs] 97 xs, labels = _remove_long_seq(maxlen, xs, labels [all...] |
imdb.py | 99 xs = np.concatenate([x_train, x_test]) 103 xs = [[start_char] + [w + index_from for w in x] for x in xs] 105 xs = [[w + index_from for w in x] for x in xs] 108 xs, labels = _remove_long_seq(maxlen, xs, labels) 109 if not xs: 114 num_words = max([max(x) for x in xs]) 120 xs = [all...] |
/external/okhttp/okio/okio/src/test/java/okio/ |
SegmentSharingTest.java | 29 private static final String xs = TestUtil.repeat('x', Segment.SIZE / 2 + 1); field in class:SegmentSharingTest 39 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); 40 assertEquivalent(byteString, concatenateBuffers(xs, ys + zs).snapshot()); 41 assertEquivalent(byteString, concatenateBuffers(xs + ys + zs).snapshot()); 42 assertEquivalent(byteString, ByteString.encodeUtf8(xs + ys + zs)); 46 ByteString byteString = concatenateBuffers(xs, ys, zs).snapshot(); 48 assertEquals('x', byteString.getByte(xs.length() - 1)); 49 assertEquals('y', byteString.getByte(xs.length())); 50 assertEquals('y', byteString.getByte(xs.length() + ys.length() - 1)); 51 assertEquals('z', byteString.getByte(xs.length() + ys.length())) [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidExecService.hpp | 44 class TestProcess : public xs::TestProcess 73 xs::posix::FileReader m_logReader; 76 class ExecutionServer : public xs::ExecutionServer 79 ExecutionServer (JavaVM* vm, xs::TestProcess* testProcess, deSocketFamily family, int port, RunMode runMode); 80 xs::ConnectionHandler* createHandler (de::Socket* socket, const de::SocketAddress& clientAddress); 86 class ConnectionHandler : public xs::ExecutionRequestHandler 89 ConnectionHandler (JavaVM* vm, xs::ExecutionServer* server, de::Socket* socket); 99 ServerThread (JavaVM* vm, xs::TestProcess* testProcess, deSocketFamily family, int port);
|
/external/deqp/execserver/tools/ |
xsMain.cpp | 58 xs::Win32TestProcess testProcess; 60 xs::PosixTestProcess testProcess; 80 const xs::ExecutionServer::RunMode runMode = cmdLine.getOption<opt::SingleExec>() 81 ? xs::ExecutionServer::RUNMODE_SINGLE_EXEC 82 : xs::ExecutionServer::RUNMODE_FOREVER; 84 xs::ExecutionServer server (&testProcess, DE_SOCKETFAMILY_INET4, port, runMode);
|
/frameworks/base/services/core/java/com/android/server/display/utils/ |
Plog.java | 76 * @param xs The curve x coordinates. 80 public Plog logCurve(String name, float[] xs, float[] ys) { 81 write(formatCurve(name, xs, ys)); 93 private String formatCurve(String name, float[] xs, float[] ys) { 96 int n = xs.length <= ys.length ? xs.length : ys.length; 98 sb.append("(" + xs[i] + "," + ys[i] + "),");
|
/external/deqp/execserver/ |
xsTestDriver.hpp | 32 namespace xs namespace 38 TestDriver (xs::TestProcess* testProcess); 72 xs::TestProcess* m_process; 78 } // xs
|
xsDefs.hpp | 32 namespace xs namespace 83 } // xs 85 #define XS_FAIL(MSG) throw xs::Error(MSG, "", __FILE__, __LINE__) 86 #define XS_CHECK(X) do { if ((!deGetFalse() && (X)) ? DE_FALSE : DE_TRUE) throw xs::Error(NULL, #X, __FILE__, __LINE__); } while(deGetFalse()) 87 #define XS_CHECK_MSG(X, MSG) do { if ((!deGetFalse() && (X)) ? DE_FALSE : DE_TRUE) throw xs::Error(MSG, #X, __FILE__, __LINE__); } while(deGetFalse())
|
/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/ |
XenStore.c | 173 static XENSTORE_PRIVATE xs;
variable 280 if (IsListEmpty (&xs.RegisteredWatches)) {
283 for (Entry = GetFirstNode (&xs.RegisteredWatches);
284 !IsNull (&xs.RegisteredWatches, Entry);
285 Entry = GetNextNode (&xs.RegisteredWatches, Entry)) {
432 WaitList[0] = xs.EventChannelEvent;
472 Cons = xs.XenStore->req_cons;
473 Prod = xs.XenStore->req_prod;
483 Status = XenStoreWaitForEvent (xs.EventChannelEvent,
493 xs.XenStore->req_cons = xs.XenStore->req_prod = 0; [all...] |
/external/deqp/executor/ |
xeTcpIpLink.cpp | 40 static void writeMessageHeader (de::BlockBuffer<deUint8>& dst, xs::MessageType type, int messageSize) 42 deUint8 hdr[xs::MESSAGE_HEADER_SIZE]; 43 xs::Message::writeHeader(type, messageSize, &hdr[0], xs::MESSAGE_HEADER_SIZE); 44 dst.write(xs::MESSAGE_HEADER_SIZE, &hdr[0]); 49 writeMessageHeader(dst, xs::MESSAGETYPE_KEEPALIVE, xs::MESSAGE_HEADER_SIZE); 59 int totalSize = xs::MESSAGE_HEADER_SIZE + nameSize + paramsSize + workDirSize + caseListSize; 61 writeMessageHeader(dst, xs::MESSAGETYPE_EXECUTE_BINARY, totalSize); 71 writeMessageHeader(dst, xs::MESSAGETYPE_STOP_EXECUTION, xs::MESSAGE_HEADER_SIZE) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
SmoothingUtilsTests.java | 30 final float[] xs = new float[] {0, 1, 2, 3, 4}; local 34 SmoothingUtils.get3DParameters(xs, ys, retval);
|
/bionic/libc/kernel/uapi/linux/ |
tiocl.h | 30 unsigned short xs; member in struct:tiocl_selection
|
/external/clang/test/CXX/temp/temp.decls/temp.alias/ |
p3.cpp | 13 template<typename ...T> void f(U<T> ...xs);
|