/external/python/cpython2/Parser/ |
D | grammar.c | 113 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 …]
|
D | grammar1.c | 34 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/XNNPACK/src/math/ |
D | expm1.sollya | 20 lb = round(-log(2)/2, single, RN); 22 P = fpminimax(expm1(x), [|1,2,3,4,5|], [|SG...|], [lb; ub], relative, 0); 24 print(" -log(2)/2 = ", lb); 26 print(" relative error =", round(dirtyinfnorm(P / expm1(x) - 1, [lb; ub]), single, RU)); 28 lb = round(-log(2)/2, single, RN); 30 P = fpminimax(expm1(x), [|1,2,3,4,5,6|], [|SG...|], [lb; ub], relative, 0); 32 print(" -log(2)/2 = ", lb); 34 print(" relative error =", round(dirtyinfnorm(P / expm1(x) - 1, [lb; ub]), single, RU)); 36 lb = round(-log(2)/2, single, RN); 38 P = fpminimax(expm1(x), [|2,3,4,5|], [|SG...|], [lb; ub], relative, 0+x); [all …]
|
D | exp.sollya | 14 lb = round(-log(2)/2, single, RN); 16 print("-log(2)/2 = ", lb); 18 P = fpminimax(exp(x), [|1,2,3,4,5|], [|SG...|], [lb; ub], relative, 1); 20 print("relative error =", round(dirtyinfnorm(P / exp(x) - 1, [lb; ub]), single, RU)); 22 lb = round(-log(2)/2, single, RN); 24 print("-log(2)/2 = ", lb); 26 P = fpminimax(exp(x), [|2,3,4,5|], [|SG...|], [lb; ub], relative, 1+x); 28 print("relative error =", round(dirtyinfnorm(P / exp(x) - 1, [lb; ub]), single, RU)); 30 lb = round(-log(2)/8, single, RN); 32 print("-log(2)/8 =", lb); [all …]
|
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/ |
D | LoadBalanceRequest.java | 4 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 …]
|
D | LoadBalanceResponse.java | 4 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 …]
|
D | ServerList.java | 4 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 …]
|
D | ClientStats.java | 4 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 …]
|
D | InitialLoadBalanceRequest.java | 4 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 …]
|
D | ClientStatsPerToken.java | 4 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 …]
|
D | Server.java | 4 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 …]
|
D | InitialLoadBalanceResponse.java | 4 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 …]
|
D | LoadBalanceRequestOrBuilder.java | 4 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()
|
D | LoadBalanceResponseOrBuilder.java | 4 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()
|
D | ServerListOrBuilder.java | 4 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()
|
D | ClientStatsOrBuilder.java | 4 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/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/ |
D | bufferize.cc | 97 ImplicitLocOpBuilder lb(loc, rewriter); in matchAndRewrite() local 98 Value zero = lb.create<arith::ConstantIndexOp>(0); in matchAndRewrite() 107 Value rank = lb.create<memref::DimOp>(loc, shapes[i], zero); in matchAndRewrite() 110 Value rankIsGreater = lb.create<arith::CmpIOp>( in matchAndRewrite() 112 maxRank = lb.create<arith::SelectOp>(rankIsGreater, ranks[i], maxRank); in matchAndRewrite() 122 MemRefType::get({ShapedType::kDynamicSize}, lb.getIndexType()); in matchAndRewrite() 123 Value one = lb.create<arith::ConstantIndexOp>(1); in matchAndRewrite() 127 auto result = lb.create<memref::AllocaOp>(resultType, ranks[i]); in matchAndRewrite() 128 lb.create<scf::ForOp>(zero, ranks[i], one, llvm::None, in matchAndRewrite() 144 Value two = lb.create<arith::ConstantIndexOp>(2); in matchAndRewrite() [all …]
|
/external/grpc-grpc-java/grpclb/src/generated/main/grpc/io/grpc/lb/v1/ |
D | LoadBalancerGrpc.java | 1 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/libwebsockets/lib/misc/lwsac/ |
D | lwsac.cxx | 60 lssAc::get(lssbuf_t *lb) in get() argument 65 lb->buf = (uint8_t *)iter + lwsac_sizeof(iter == ac); in get() 66 lb->len = lwsac_get_tail_pos(iter) - lwsac_sizeof(iter == ac); in get() 73 lssAc::append(lssbuf_t *lb) in append() argument 75 uint8_t *p = (uint8_t *)lwsac_use(&ac, lb->len, lb->len); in append() 79 memcpy(p, lb->buf, lb->len); in append()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | AutoConfiguredLoadBalancerFactoryTest.java | 63 LoadBalancer lb = lbf.newLoadBalancer(new TestHelper()); in newLoadBalancer_isAuto() local 65 assertThat(lb).isInstanceOf(AutoConfiguredLoadBalancer.class); in newLoadBalancer_isAuto() 70 AutoConfiguredLoadBalancer lb = in defaultIsPickFirst() local 73 assertThat(lb.getDelegateFactory()).isInstanceOf(PickFirstBalancerFactory.class); in defaultIsPickFirst() 74 assertThat(lb.getDelegate().getClass().getName()).contains("PickFirst"); in defaultIsPickFirst() 79 AutoConfiguredLoadBalancer lb = in forwardsCalls() local 101 lb.setDelegate(testlb); in forwardsCalls() 103 lb.handleNameResolutionError(Status.RESOURCE_EXHAUSTED); in forwardsCalls() 106 lb.handleSubchannelState(null, null); in forwardsCalls() 109 lb.shutdown(); in forwardsCalls() [all …]
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
D | eval.pass.cpp | 60 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/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.pconst/ |
D | eval.pass.cpp | 61 I lb = std::lower_bound(u.begin(), u.end(), b[i]); in test1() local 63 const std::size_t Ni = ub - lb; in test1() 69 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test1() 73 for (I j = lb; j != ub; ++j) in test1() 124 I lb = std::lower_bound(u.begin(), u.end(), b[i]); in test2() local 126 const std::size_t Ni = ub - lb; in test2() 132 double mean = std::accumulate(lb, ub, 0.0) / Ni; in test2() 136 for (I j = lb; j != ub; ++j) in test2() 187 I lb = std::lower_bound(u.begin(), u.end(), b[i]); in test3() local 189 const std::size_t Ni = ub - lb; in test3() [all …]
|
/external/libwebsockets/lib/cose/ |
D | cose_sign.c | 107 uint8_t lbuf[MAX_BLOBBED_PARAMS], lb[9]; in lws_cose_sign_payload_chunk() local 218 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk() 274 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk() 300 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk() 315 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk() 336 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk() 390 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk() 421 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk() 443 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk() 454 lws_lec_init(&lec1, lb, sizeof(lb)); in lws_cose_sign_payload_chunk()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | bitncmp.c | 38 unsigned int lb, rb; in ares__bitncmp() local 46 lb = ((const unsigned char *)l)[b]; in ares__bitncmp() 49 if ((lb & 0x80) != (rb & 0x80)) { in ares__bitncmp() 50 if (lb & 0x80) in ares__bitncmp() 54 lb <<= 1; in ares__bitncmp()
|
/external/grpc-grpc/src/proto/grpc/lb/v1/ |
D | load_balancer.options | 1 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
|