Home
last modified time | relevance | path

Searched refs:lb (Results 1 – 25 of 895) sorted by relevance

12345678910>>...36

/external/python/cpython2/Parser/
Dgrammar.c113 label *lb; in addlabel() local
124 lb = &ll->ll_label[ll->ll_nlabels++]; in addlabel()
125 lb->lb_type = type; in addlabel()
126 lb->lb_str = strdup(str); in addlabel()
129 PyGrammar_LabelRepr(lb)); in addlabel()
130 return lb - ll->ll_label; in addlabel()
167 translabel(grammar *g, label *lb) in translabel() argument
172 printf("Translating label %s ...\n", PyGrammar_LabelRepr(lb)); in translabel()
174 if (lb->lb_type == NAME) { in translabel()
176 if (strcmp(lb->lb_str, g->g_dfa[i].d_name) == 0) { in translabel()
[all …]
Dgrammar1.c34 PyGrammar_LabelRepr(label *lb) in PyGrammar_LabelRepr() argument
38 if (lb->lb_type == ENDMARKER) in PyGrammar_LabelRepr()
40 else if (ISNONTERMINAL(lb->lb_type)) { in PyGrammar_LabelRepr()
41 if (lb->lb_str == NULL) { in PyGrammar_LabelRepr()
42 PyOS_snprintf(buf, sizeof(buf), "NT%d", lb->lb_type); in PyGrammar_LabelRepr()
46 return lb->lb_str; in PyGrammar_LabelRepr()
49 if (lb->lb_str == NULL) in PyGrammar_LabelRepr()
50 return _PyParser_TokenNames[lb->lb_type]; in PyGrammar_LabelRepr()
53 _PyParser_TokenNames[lb->lb_type], lb->lb_str); in PyGrammar_LabelRepr()
/external/python/cpython3/Parser/
Dgrammar.c108 label *lb; in addlabel() local
119 lb = &ll->ll_label[ll->ll_nlabels++]; in addlabel()
120 lb->lb_type = type; in addlabel()
121 lb->lb_str = strdup(str); in addlabel()
124 PyGrammar_LabelRepr(lb)); in addlabel()
125 return Py_SAFE_DOWNCAST(lb - ll->ll_label, intptr_t, int); in addlabel()
168 translabel(grammar *g, label *lb) in translabel() argument
173 printf("Translating label %s ...\n", PyGrammar_LabelRepr(lb)); in translabel()
175 if (lb->lb_type == NAME) { in translabel()
177 if (strcmp(lb->lb_str, g->g_dfa[i].d_name) == 0) { in translabel()
[all …]
Dgrammar1.c33 PyGrammar_LabelRepr(label *lb) in PyGrammar_LabelRepr() argument
37 if (lb->lb_type == ENDMARKER) in PyGrammar_LabelRepr()
39 else if (ISNONTERMINAL(lb->lb_type)) { in PyGrammar_LabelRepr()
40 if (lb->lb_str == NULL) { in PyGrammar_LabelRepr()
41 PyOS_snprintf(buf, sizeof(buf), "NT%d", lb->lb_type); in PyGrammar_LabelRepr()
45 return lb->lb_str; in PyGrammar_LabelRepr()
47 else if (lb->lb_type < N_TOKENS) { in PyGrammar_LabelRepr()
48 if (lb->lb_str == NULL) in PyGrammar_LabelRepr()
49 return _PyParser_TokenNames[lb->lb_type]; in PyGrammar_LabelRepr()
52 _PyParser_TokenNames[lb->lb_type], lb->lb_str); in PyGrammar_LabelRepr()
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/
DLoadBalanceResponse.java4 package io.grpc.lb.v1;
53 io.grpc.lb.v1.InitialLoadBalanceResponse.Builder subBuilder = null; in LoadBalanceResponse()
55 … subBuilder = ((io.grpc.lb.v1.InitialLoadBalanceResponse) loadBalanceResponseType_).toBuilder(); in LoadBalanceResponse()
58 … input.readMessage(io.grpc.lb.v1.InitialLoadBalanceResponse.parser(), extensionRegistry); in LoadBalanceResponse()
60 … subBuilder.mergeFrom((io.grpc.lb.v1.InitialLoadBalanceResponse) loadBalanceResponseType_); in LoadBalanceResponse()
67 io.grpc.lb.v1.ServerList.Builder subBuilder = null; in LoadBalanceResponse()
69 subBuilder = ((io.grpc.lb.v1.ServerList) loadBalanceResponseType_).toBuilder(); in LoadBalanceResponse()
72 input.readMessage(io.grpc.lb.v1.ServerList.parser(), extensionRegistry); in LoadBalanceResponse()
74 subBuilder.mergeFrom((io.grpc.lb.v1.ServerList) loadBalanceResponseType_); in LoadBalanceResponse()
94 … return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_LoadBalanceResponse_descriptor; in getDescriptor()
[all …]
DLoadBalanceRequest.java4 package io.grpc.lb.v1;
53 io.grpc.lb.v1.InitialLoadBalanceRequest.Builder subBuilder = null; in LoadBalanceRequest()
55 … subBuilder = ((io.grpc.lb.v1.InitialLoadBalanceRequest) loadBalanceRequestType_).toBuilder(); in LoadBalanceRequest()
58 … input.readMessage(io.grpc.lb.v1.InitialLoadBalanceRequest.parser(), extensionRegistry); in LoadBalanceRequest()
60 … subBuilder.mergeFrom((io.grpc.lb.v1.InitialLoadBalanceRequest) loadBalanceRequestType_); in LoadBalanceRequest()
67 io.grpc.lb.v1.ClientStats.Builder subBuilder = null; in LoadBalanceRequest()
69 subBuilder = ((io.grpc.lb.v1.ClientStats) loadBalanceRequestType_).toBuilder(); in LoadBalanceRequest()
72 input.readMessage(io.grpc.lb.v1.ClientStats.parser(), extensionRegistry); in LoadBalanceRequest()
74 subBuilder.mergeFrom((io.grpc.lb.v1.ClientStats) loadBalanceRequestType_); in LoadBalanceRequest()
94 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_LoadBalanceRequest_descriptor; in getDescriptor()
[all …]
DServerList.java4 package io.grpc.lb.v1;
55 servers_ = new java.util.ArrayList<io.grpc.lb.v1.Server>(); in ServerList()
59 input.readMessage(io.grpc.lb.v1.Server.parser(), extensionRegistry)); in ServerList()
79 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ServerList_descriptor; in getDescriptor()
84 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ServerList_fieldAccessorTable in internalGetFieldAccessorTable()
86 io.grpc.lb.v1.ServerList.class, io.grpc.lb.v1.ServerList.Builder.class); in internalGetFieldAccessorTable()
90 private java.util.List<io.grpc.lb.v1.Server> servers_;
101 public java.util.List<io.grpc.lb.v1.Server> getServersList() { in getServersList()
114 public java.util.List<? extends io.grpc.lb.v1.ServerOrBuilder>
141 public io.grpc.lb.v1.Server getServers(int index) { in getServers()
[all …]
DClientStats.java4 package io.grpc.lb.v1;
97 callsFinishedWithDrop_ = new java.util.ArrayList<io.grpc.lb.v1.ClientStatsPerToken>(); in ClientStats()
101 input.readMessage(io.grpc.lb.v1.ClientStatsPerToken.parser(), extensionRegistry)); in ClientStats()
121 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStats_descriptor; in getDescriptor()
126 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStats_fieldAccessorTable in internalGetFieldAccessorTable()
128 io.grpc.lb.v1.ClientStats.class, io.grpc.lb.v1.ClientStats.Builder.class); in internalGetFieldAccessorTable()
219 private java.util.List<io.grpc.lb.v1.ClientStatsPerToken> callsFinishedWithDrop_;
227 public java.util.List<io.grpc.lb.v1.ClientStatsPerToken> getCallsFinishedWithDropList() { in getCallsFinishedWithDropList()
237 public java.util.List<? extends io.grpc.lb.v1.ClientStatsPerTokenOrBuilder>
258 public io.grpc.lb.v1.ClientStatsPerToken getCallsFinishedWithDrop(int index) { in getCallsFinishedWithDrop()
[all …]
DInitialLoadBalanceRequest.java4 package io.grpc.lb.v1;
73 …return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_InitialLoadBalanceRequest_descri… in getDescriptor()
78 …return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_InitialLoadBalanceRequest_fieldA… in internalGetFieldAccessorTable()
80 …io.grpc.lb.v1.InitialLoadBalanceRequest.class, io.grpc.lb.v1.InitialLoadBalanceRequest.Builder.cla… in internalGetFieldAccessorTable()
167 if (!(obj instanceof io.grpc.lb.v1.InitialLoadBalanceRequest)) { in equals()
170 io.grpc.lb.v1.InitialLoadBalanceRequest other = (io.grpc.lb.v1.InitialLoadBalanceRequest) obj; in equals()
193 public static io.grpc.lb.v1.InitialLoadBalanceRequest parseFrom( in parseFrom()
198 public static io.grpc.lb.v1.InitialLoadBalanceRequest parseFrom( in parseFrom()
204 public static io.grpc.lb.v1.InitialLoadBalanceRequest parseFrom( in parseFrom()
209 public static io.grpc.lb.v1.InitialLoadBalanceRequest parseFrom( in parseFrom()
[all …]
DClientStatsPerToken.java4 package io.grpc.lb.v1;
83 … return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStatsPerToken_descriptor; in getDescriptor()
88 …return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_ClientStatsPerToken_fieldAccesso… in internalGetFieldAccessorTable()
90 … io.grpc.lb.v1.ClientStatsPerToken.class, io.grpc.lb.v1.ClientStatsPerToken.Builder.class); in internalGetFieldAccessorTable()
191 if (!(obj instanceof io.grpc.lb.v1.ClientStatsPerToken)) { in equals()
194 io.grpc.lb.v1.ClientStatsPerToken other = (io.grpc.lb.v1.ClientStatsPerToken) obj; in equals()
222 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( in parseFrom()
227 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( in parseFrom()
233 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( in parseFrom()
238 public static io.grpc.lb.v1.ClientStatsPerToken parseFrom( in parseFrom()
[all …]
DServer.java4 package io.grpc.lb.v1;
96 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_Server_descriptor; in getDescriptor()
101 return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_Server_fieldAccessorTable in internalGetFieldAccessorTable()
103 io.grpc.lb.v1.Server.class, io.grpc.lb.v1.Server.Builder.class); in internalGetFieldAccessorTable()
257 if (!(obj instanceof io.grpc.lb.v1.Server)) { in equals()
260 io.grpc.lb.v1.Server other = (io.grpc.lb.v1.Server) obj; in equals()
296 public static io.grpc.lb.v1.Server parseFrom( in parseFrom()
301 public static io.grpc.lb.v1.Server parseFrom( in parseFrom()
307 public static io.grpc.lb.v1.Server parseFrom( in parseFrom()
312 public static io.grpc.lb.v1.Server parseFrom( in parseFrom()
[all …]
DInitialLoadBalanceResponse.java4 package io.grpc.lb.v1;
86 …return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_InitialLoadBalanceResponse_descr… in getDescriptor()
91 …return io.grpc.lb.v1.LoadBalancerProto.internal_static_grpc_lb_v1_InitialLoadBalanceResponse_field… in internalGetFieldAccessorTable()
93 …io.grpc.lb.v1.InitialLoadBalanceResponse.class, io.grpc.lb.v1.InitialLoadBalanceResponse.Builder.c… in internalGetFieldAccessorTable()
228 if (!(obj instanceof io.grpc.lb.v1.InitialLoadBalanceResponse)) { in equals()
231 io.grpc.lb.v1.InitialLoadBalanceResponse other = (io.grpc.lb.v1.InitialLoadBalanceResponse) obj; in equals()
263 public static io.grpc.lb.v1.InitialLoadBalanceResponse parseFrom( in parseFrom()
268 public static io.grpc.lb.v1.InitialLoadBalanceResponse parseFrom( in parseFrom()
274 public static io.grpc.lb.v1.InitialLoadBalanceResponse parseFrom( in parseFrom()
279 public static io.grpc.lb.v1.InitialLoadBalanceResponse parseFrom( in parseFrom()
[all …]
DLoadBalanceRequestOrBuilder.java4 package io.grpc.lb.v1;
25 io.grpc.lb.v1.InitialLoadBalanceRequest getInitialRequest(); in getInitialRequest()
33 io.grpc.lb.v1.InitialLoadBalanceRequestOrBuilder getInitialRequestOrBuilder(); in getInitialRequestOrBuilder()
52 io.grpc.lb.v1.ClientStats getClientStats(); in getClientStats()
61 io.grpc.lb.v1.ClientStatsOrBuilder getClientStatsOrBuilder(); in getClientStatsOrBuilder()
63 …public io.grpc.lb.v1.LoadBalanceRequest.LoadBalanceRequestTypeCase getLoadBalanceRequestTypeCase(); in getLoadBalanceRequestTypeCase()
DLoadBalanceResponseOrBuilder.java4 package io.grpc.lb.v1;
25 io.grpc.lb.v1.InitialLoadBalanceResponse getInitialResponse(); in getInitialResponse()
33 io.grpc.lb.v1.InitialLoadBalanceResponseOrBuilder getInitialResponseOrBuilder(); in getInitialResponseOrBuilder()
52 io.grpc.lb.v1.ServerList getServerList(); in getServerList()
61 io.grpc.lb.v1.ServerListOrBuilder getServerListOrBuilder(); in getServerListOrBuilder()
63 …public io.grpc.lb.v1.LoadBalanceResponse.LoadBalanceResponseTypeCase getLoadBalanceResponseTypeCas… in getLoadBalanceResponseTypeCase()
DServerListOrBuilder.java4 package io.grpc.lb.v1;
20 java.util.List<io.grpc.lb.v1.Server>
32 io.grpc.lb.v1.Server getServers(int index); in getServers()
54 java.util.List<? extends io.grpc.lb.v1.ServerOrBuilder>
66 io.grpc.lb.v1.ServerOrBuilder getServersOrBuilder( in getServersOrBuilder()
DClientStatsOrBuilder.java4 package io.grpc.lb.v1;
79 java.util.List<io.grpc.lb.v1.ClientStatsPerToken>
88 io.grpc.lb.v1.ClientStatsPerToken getCallsFinishedWithDrop(int index); in getCallsFinishedWithDrop()
104 java.util.List<? extends io.grpc.lb.v1.ClientStatsPerTokenOrBuilder>
113 io.grpc.lb.v1.ClientStatsPerTokenOrBuilder getCallsFinishedWithDropOrBuilder( in getCallsFinishedWithDropOrBuilder()
/external/grpc-grpc-java/grpclb/src/generated/main/grpc/io/grpc/lb/v1/
DLoadBalancerGrpc.java1 package io.grpc.lb.v1;
30 private static volatile io.grpc.MethodDescriptor<io.grpc.lb.v1.LoadBalanceRequest,
31 io.grpc.lb.v1.LoadBalanceResponse> getBalanceLoadMethod;
35 requestType = io.grpc.lb.v1.LoadBalanceRequest.class,
36 responseType = io.grpc.lb.v1.LoadBalanceResponse.class,
38 public static io.grpc.MethodDescriptor<io.grpc.lb.v1.LoadBalanceRequest,
39 io.grpc.lb.v1.LoadBalanceResponse> getBalanceLoadMethod() { in getBalanceLoadMethod()
40 …io.grpc.MethodDescriptor<io.grpc.lb.v1.LoadBalanceRequest, io.grpc.lb.v1.LoadBalanceResponse> getB… in getBalanceLoadMethod()
45 …io.grpc.MethodDescriptor.<io.grpc.lb.v1.LoadBalanceRequest, io.grpc.lb.v1.LoadBalanceResponse>newB… in getBalanceLoadMethod()
51 io.grpc.lb.v1.LoadBalanceRequest.getDefaultInstance())) in getBalanceLoadMethod()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DAutoConfiguredLoadBalancerFactoryTest.java59 LoadBalancer lb = lbf.newLoadBalancer(new TestHelper()); in newLoadBalancer_isAuto() local
61 assertThat(lb).isInstanceOf(AutoConfiguredLoadBalancer.class); in newLoadBalancer_isAuto()
66 AutoConfiguredLoadBalancer lb = in defaultIsPickFirst() local
69 assertThat(lb.getDelegateFactory()).isInstanceOf(PickFirstBalancerFactory.class); in defaultIsPickFirst()
70 assertThat(lb.getDelegate().getClass().getName()).contains("PickFirst"); in defaultIsPickFirst()
75 AutoConfiguredLoadBalancer lb = in forwardsCalls() local
97 lb.setDelegate(testlb); in forwardsCalls()
99 lb.handleNameResolutionError(Status.RESOURCE_EXHAUSTED); in forwardsCalls()
102 lb.handleSubchannelState(null, null); in forwardsCalls()
105 lb.shutdown(); in forwardsCalls()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
Deval.pass.cpp60 I lb = std::lower_bound(u.begin(), u.end(), b[i]); in test1() local
62 const size_t Ni = ub - lb; in test1()
68 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test1()
72 for (I j = lb; j != ub; ++j) in test1()
123 I lb = std::lower_bound(u.begin(), u.end(), b[i]); in test2() local
125 const size_t Ni = ub - lb; in test2()
131 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test2()
135 for (I j = lb; j != ub; ++j) in test2()
186 I lb = std::lower_bound(u.begin(), u.end(), b[i]); in test3() local
188 const size_t Ni = ub - lb; in test3()
[all …]
/external/u-boot/lib/
Ddisplay_options.c145 } lb; in print_buffer() local
169 x = lb.ui[i] = *(volatile uint32_t *)data; in print_buffer()
172 x = lb.uq[i] = *(volatile uint64_t *)data; in print_buffer()
175 x = lb.us[i] = *(volatile uint16_t *)data; in print_buffer()
177 x = lb.uc[i] = *(volatile uint8_t *)data; in print_buffer()
195 if (!isprint(lb.uc[i]) || lb.uc[i] >= 0x80) in print_buffer()
196 lb.uc[i] = '.'; in print_buffer()
198 lb.uc[i] = '\0'; in print_buffer()
199 printf(" %s\n", lb.uc); in print_buffer()
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_widgets.py790 lb = self.create()
791 lb.insert(0, *('el%d' % i for i in range(8)))
792 lb.pack()
793 self.assertIsBoundingBox(lb.bbox(0))
794 self.assertIsNone(lb.bbox(-1))
795 self.assertIsNone(lb.bbox(10))
796 self.assertRaises(TclError, lb.bbox, 'noindex')
797 self.assertRaises(TclError, lb.bbox, None)
798 self.assertRaises(TypeError, lb.bbox)
799 self.assertRaises(TypeError, lb.bbox, 0, 1)
[all …]
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_widgets.py801 lb = self.create()
802 lb.insert(0, *('el%d' % i for i in range(8)))
803 lb.pack()
804 self.assertIsBoundingBox(lb.bbox(0))
805 self.assertIsNone(lb.bbox(-1))
806 self.assertIsNone(lb.bbox(10))
807 self.assertRaises(TclError, lb.bbox, 'noindex')
808 self.assertRaises(TclError, lb.bbox, None)
809 self.assertRaises(TypeError, lb.bbox)
810 self.assertRaises(TypeError, lb.bbox, 0, 1)
[all …]
/external/grpc-grpc/src/proto/grpc/lb/v1/
Dload_balancer.options1 grpc.lb.v1.InitialLoadBalanceRequest.name max_size:128
2 grpc.lb.v1.InitialLoadBalanceResponse.load_balancer_delegate max_size:64
3 grpc.lb.v1.Server.ip_address max_size:16
4 grpc.lb.v1.Server.load_balance_token max_size:50
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CFLAliasAnalysis/Andersen/
Dinterproc-ret-ref-arg-multilevel.ll22 ; CHECK: NoAlias: i32* %a, i32** %lb
23 ; CHECK: NoAlias: i32** %lb, i32** %p
24 ; CHECK: NoAlias: i32** %lb, i32*** %pp
25 ; CHECK: NoAlias: i32** %lb, i32*** %b
36 ; Just Mod: Ptr: i32** %lb <-> %b = call i32*** @return_ref_arg_multilevel_callee(i32* %a)
46 %lb = load i32**, i32*** %b
47 %lb_deref = load i32*, i32** %lb
/external/clang/test/CodeGen/
Dasm.c177 unsigned int lb = b; in t22() local
180 __asm__ ("0:\n1:\n" : [bigres] "=la"(bigres) : [la] "0"(la), [lb] "c"(lb) : in t22()
189 unsigned int lb = b; in t23() local
191 __asm__ ("0:\n1:\n" : [res] "=la"(res) : [la] "0"(la), [lb] "c"(lb) : in t23()

12345678910>>...36