/external/syzkaller/prog/ |
D | minimization_test.go | 26 if len(p.Calls) == 0 { 29 if p.Calls[len(p.Calls)-1].Meta.Name != "pipe2" { 47 return len(p.Calls) == 2 && p.Calls[0].Meta.Name == "mmap" && p.Calls[1].Meta.Name == "pipe2" 61 … if len(p.Calls) == 2 && p.Calls[0].Meta.Name == "mmap" && p.Calls[1].Meta.Name == "sched_yield" { 64 if len(p.Calls) == 1 && p.Calls[0].Meta.Name == "sched_yield" { 128 Minimize(p, len(p.Calls)-1, crash, func(p1 *Prog, callIndex int) bool { 131 Minimize(p, len(p.Calls)-1, crash, func(p1 *Prog, callIndex int) bool { 143 ci := r.Intn(len(p.Calls)) 147 if ci1 < 0 || ci1 >= len(p1.Calls) || p.Calls[ci].Meta.Name != p1.Calls[ci1].Meta.Name {
|
D | prog.go | 12 Calls []*Call member 286 for ; idx < len(p.Calls); idx++ { 287 if p.Calls[idx] == c { 292 newCalls = append(newCalls, p.Calls[:idx]...) 294 if idx < len(p.Calls) { 295 newCalls = append(newCalls, p.Calls[idx]) 296 newCalls = append(newCalls, p.Calls[idx+1:]...) 298 p.Calls = newCalls 369 c := p.Calls[idx] 376 copy(p.Calls[idx:], p.Calls[idx+1:]) [all …]
|
D | minimization.go | 16 for _, call := range p.Calls { 24 if callIndex0 < 0 || callIndex0 >= len(p0.Calls) { 27 name0 = p0.Calls[callIndex0].Meta.Name 34 for i := 0; i < len(p0.Calls); i++ { 45 ctx.call = ctx.p.Calls[i] 54 if callIndex0 < 0 || callIndex0 >= len(p0.Calls) || name0 != p0.Calls[callIndex0].Meta.Name { 56 len(p0.Calls), callIndex0, name0, p0.Calls[callIndex0].Meta.Name)) 63 for i := len(p0.Calls) - 1; i >= 0; i-- {
|
D | mutation.go | 39 for _, c := range p.Calls { 55 if len(ctx.corpus) == 0 || len(p.Calls) == 0 { 60 idx := r.Intn(len(p.Calls)) 61 p.Calls = append(p.Calls[:idx], append(p0c.Calls, p.Calls[idx:]...)...) 62 for i := len(p.Calls) - 1; i >= ctx.ncalls; i-- { 100 s := analyze(ctx.ct, p, p.Calls[0]) 109 if len(p.Calls) >= ctx.ncalls { 112 idx := r.biasedRand(len(p.Calls)+1, 5) 114 if idx < len(p.Calls) { 115 c = p.Calls[idx] [all …]
|
D | clone.go | 9 Calls: make([]*Call, len(p.Calls)), 12 for ci, c := range p.Calls { 22 p1.Calls[ci] = c1
|
D | generation.go | 18 for len(p.Calls) < ncalls { 22 p.Calls = append(p.Calls, c)
|
D | size_test.go | 17 for _, call := range p.Calls { 25 for _, call := range p.Calls { 161 for _, call := range p.Calls {
|
D | hints_test.go | 383 for i, c := range p.Calls { 454 Calls: []*Call{{ 467 newP.Calls[0].Args[0].(*PointerArg).Res.(*DataArg).Data())) 489 comps := make([]CompMap, len(p.Calls)) 490 for i, c := range p.Calls { 502 for i := range p.Calls {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | CallLogFacade.java | 26 import android.provider.CallLog.Calls; 61 mContentResolver.registerContentObserver(Calls.CONTENT_URI, true, mCallLogStatusReceiver); in CallLogFacade() 66 Uri uri = ContentUris.withAppendedId(Calls.CONTENT_URI, id); in buildUri() 73 mContentResolver.delete(Calls.CONTENT_URI, null, null); in callLogsEraseAll() 85 values.put(Calls.TYPE, type); in callLogsPut() 86 values.put(Calls.NUMBER, number); in callLogsPut() 87 values.put(Calls.DATE, time); in callLogsPut() 88 mContentResolver.insert(Calls.CONTENT_URI, values); in callLogsPut() 98 String[] query = new String[] {Calls.NUMBER, Calls.DATE, Calls.TYPE}; in callLogsGet() 102 Calls.CONTENT_URI, in callLogsGet() [all …]
|
/external/clang/unittests/AST/ |
D | ExternalASTSourceTest.cpp | 68 TestSource(unsigned &Calls) : Calls(Calls) {} in TEST() 73 ++Calls; in TEST() 77 unsigned &Calls; in TEST() member 80 unsigned Calls = 0; in TEST() local 81 ASSERT_TRUE(testExternalASTSource(new TestSource(Calls), "int j, k = j;")); in TEST() 82 EXPECT_EQ(1u, Calls); in TEST()
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
D | ClientServerTest.cs | 65 Assert.AreEqual("ABC", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "ABC")); in UnaryCall() 67 Assert.AreEqual("ABC", await Calls.AsyncUnaryCall(helper.CreateUnaryCall(), "ABC")); in UnaryCall() 78 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "abc"… in UnaryCall_ServerHandlerThrows() 81 …var ex2 = Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUna… in UnaryCall_ServerHandlerThrows() 93 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "abc"… in UnaryCall_ServerHandlerThrowsRpcException() 97 …var ex2 = Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUna… in UnaryCall_ServerHandlerThrowsRpcException() 111 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "abc"… in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers() 117 …var ex2 = Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUna… in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers() 133 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "abc"… in UnaryCall_ServerHandlerSetsStatus() 137 …var ex2 = Assert.ThrowsAsync<RpcException>(async () => await Calls.AsyncUnaryCall(helper.CreateUna… in UnaryCall_ServerHandlerSetsStatus() [all …]
|
D | MarshallingErrorsTest.cs | 86 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "REQU… in ResponseParsingError_UnaryResponse() 99 … var call = Calls.AsyncServerStreamingCall(helper.CreateServerStreamingCall(), "REQUEST"); in ResponseParsingError_StreamingResponse() 112 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "UNPA… in RequestParsingError_UnaryRequest() 134 var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall()); in RequestParsingError_StreamingRequest() 143 …Assert.Throws<IOException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "UNSERIALIZABLE… in RequestSerializationError_BlockingUnary() 149 …Assert.ThrowsAsync<IOException>(async () => await Calls.AsyncUnaryCall(helper.CreateUnaryCall(), "… in RequestSerializationError_AsyncUnary() 160 var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall()); in RequestSerializationError_ClientStreaming()
|
D | ContextPropagationTest.cs | 80 await Calls.AsyncUnaryCall(helper.CreateUnaryCall(callOptions), "xyz"); in PropagateCancellation() 90 …var parentCall = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall(new CallOptions(c… in PropagateCancellation() 121 Calls.BlockingUnaryCall(helper.CreateUnaryCall( in PropagateDeadline() 127 return await Calls.AsyncUnaryCall(helper.CreateUnaryCall(callOptions), "xyz"); in PropagateDeadline() 130 …var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall(new CallOptions(deadlin… in PropagateDeadline() 149 return await Calls.AsyncUnaryCall(helper.CreateUnaryCall(callOptions), "xyz"); in SuppressDeadlinePropagation() 153 …var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall(new CallOptions(deadlin… in SuppressDeadlinePropagation()
|
D | ResponseHeadersTest.cs | 73 var call = Calls.AsyncUnaryCall(helper.CreateUnaryCall(), ""); in ResponseHeadersAsync_UnaryCall() 92 var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall()); in ResponseHeadersAsync_ClientStreamingCall() 109 var call = Calls.AsyncServerStreamingCall(helper.CreateServerStreamingCall(), ""); in ResponseHeadersAsync_ServerStreamingCall() 128 var call = Calls.AsyncDuplexStreamingCall(helper.CreateDuplexStreamingCall()); in ResponseHeadersAsync_DuplexStreamingCall() 147 Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "")); in WriteResponseHeaders_NullNotAllowed() 167 Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "")); in WriteResponseHeaders_AllowedOnlyOnce() 187 var call = Calls.AsyncServerStreamingCall(helper.CreateServerStreamingCall(), ""); in WriteResponseHeaders_NotAllowedAfterWrite()
|
D | TimeoutsTest.cs | 67 Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "abc")); in InfiniteDeadline() 70 …Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: D… in InfiniteDeadline() 86 … Calls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: clientDeadline)), "abc"); in DeadlineTransferredToServer() 98 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(new Call… in DeadlineInThePast() 112 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(new Call… in DeadlineExceededStatusOnTimeout() 132 …var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(new Call… in ServerReceivesCancellationOnTimeout()
|
D | ThreadingModelTest.cs | 59 … var response = Calls.BlockingUnaryCall(helper.CreateUnaryCall(), (recursionDepth - 1).ToString()); in BlockingCallInServerHandlerDoesNotDeadlock() 64 …Assert.AreEqual("SUCCESS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), maxRecursionDepth.ToS… in BlockingCallInServerHandlerDoesNotDeadlock() 78 Assert.AreEqual("ABC", Calls.BlockingUnaryCall(helper.CreateUnaryCall(), "ABC")); in HandlerDoesNotRunOnGrpcThread() 89 await Calls.AsyncUnaryCall(helper.CreateUnaryCall(), "ABC"); in ContinuationDoesNotRunOnGrpcThread()
|
D | CallCancellationTest.cs | 70 …var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall(new CallOptions(cancell… in ClientStreamingCall_CancelAfterBegin() 108 …var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall(new CallOptions(cancell… in ClientStreamingCall_ServerSideReadAfterCancelNotificationReturnsNull() 137 var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall()); in ClientStreamingCall_CancelServerSideRead() 162 var call = Calls.AsyncServerStreamingCall(helper.CreateServerStreamingCall(), ""); in ServerStreamingCall_CancelClientSideRead()
|
/external/python/cpython2/Doc/library/ |
D | fm.rst | 33 Initialization function. Calls :c:func:`fminit`. It is normally not necessary to 40 Return a font handle object. Calls ``fmfindfont(fontname)``. 52 method below). Calls ``fmprstr(string)``. 57 Sets the font search path. Calls ``fmsetpath(string)``. (XXX Does not work!?!) 69 Returns a handle for a scaled version of this font. Calls ``fmscalefont(fh, 76 font handle object is deleted. Calls ``fmsetfont(fh)``. 81 Returns this font's name. Calls ``fmgetfontname(fh)``. 87 there is none. Calls ``fmgetcomment(fh)``. 99 Returns the width, in pixels, of *string* when drawn in this font. Calls
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | EscapeEnumerator.cpp | 57 SmallVector<Instruction *, 16> Calls; in Next() local 62 Calls.push_back(CI); in Next() 64 if (Calls.empty()) in Next() 88 for (unsigned I = Calls.size(); I != 0;) { in Next() 89 CallInst *CI = cast<CallInst>(Calls[--I]); in Next()
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
D | DefaultCallInvoker.cs | 47 return Calls.BlockingUnaryCall(call, request); in BlockingUnaryCall() 56 return Calls.AsyncUnaryCall(call, request); in AsyncUnaryCall() 66 return Calls.AsyncServerStreamingCall(call, request); in AsyncServerStreamingCall() 76 return Calls.AsyncClientStreamingCall(call); in AsyncClientStreamingCall() 87 return Calls.AsyncDuplexStreamingCall(call); in AsyncDuplexStreamingCall()
|
/external/llvm/lib/Transforms/Scalar/ |
D | PlaceSafepoints.cpp | 262 std::vector<CallInst *> &Calls, in scanOneBB() argument 269 Calls.push_back(CI); in scanOneBB() 289 std::vector<CallInst *> &Calls, in scanInlinedCode() argument 291 Calls.clear(); in scanInlinedCode() 294 scanOneBB(Start, End, Calls, Seen, Worklist); in scanInlinedCode() 298 scanOneBB(&*BB->begin(), End, Calls, Seen, Worklist); in scanInlinedCode() 650 std::vector<CallInst *> Calls; // new calls in INITIALIZE_PASS_DEPENDENCY() local 662 scanInlinedCode(&*Start, &*After, Calls, BBs); in INITIALIZE_PASS_DEPENDENCY() 663 assert(!Calls.empty() && "slow path not found for safepoint poll"); in INITIALIZE_PASS_DEPENDENCY() 670 for (auto *CI : Calls) { in INITIALIZE_PASS_DEPENDENCY() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | PlaceSafepoints.cpp | 269 std::vector<CallInst *> &Calls, in scanOneBB() argument 276 Calls.push_back(CI); in scanOneBB() 296 std::vector<CallInst *> &Calls, in scanInlinedCode() argument 298 Calls.clear(); in scanInlinedCode() 301 scanOneBB(Start, End, Calls, Seen, Worklist); in scanInlinedCode() 305 scanOneBB(&*BB->begin(), End, Calls, Seen, Worklist); in scanInlinedCode() 663 std::vector<CallInst *> Calls; // new calls in INITIALIZE_PASS_DEPENDENCY() local 675 scanInlinedCode(&*Start, &*After, Calls, BBs); in INITIALIZE_PASS_DEPENDENCY() 676 assert(!Calls.empty() && "slow path not found for safepoint poll"); in INITIALIZE_PASS_DEPENDENCY() 683 for (auto *CI : Calls) { in INITIALIZE_PASS_DEPENDENCY() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | AlwaysInliner.cpp | 37 SmallSetVector<CallSite, 16> Calls; in run() local 43 Calls.clear(); in run() 48 Calls.insert(CS); in run() 50 for (CallSite CS : Calls) in run()
|
D | Inliner.cpp | 846 SmallVector<std::pair<CallSite, int>, 16> Calls; in run() local 865 Calls.push_back({CS, -1}); in run() 878 if (Calls.empty()) in run() 902 for (int i = 0; i < (int)Calls.size(); ++i) { in run() 907 Function &F = *Calls[i].first.getCaller(); in run() 949 for (; i < (int)Calls.size() && Calls[i].first.getCaller() == &F; ++i) { in run() 952 std::tie(CS, InlineHistoryID) = Calls[i]; in run() 1024 Calls.push_back({CS, NewHistoryID}); in run() 1042 Calls.erase( in run() 1043 std::remove_if(Calls.begin() + i + 1, Calls.end(), in run() [all …]
|
/external/syzkaller/sys/syz-sysgen/ |
D | sysgen.go | 50 Calls []SyscallData member 231 data.Calls = append(data.Calls, SyscallData{ 238 sort.Slice(data.Calls, func(i, j int) bool { 239 return data.Calls[i].Name < data.Calls[j].Name 311 {{range $c := $arch.Calls}} {"{{$c.Name}}", {{$c.NR}}{{if $c.NeedCall}}, (syscall_t){{$c.CallName}}…
|