Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 119) sorted by relevance

12345

/thrift-3.4.0/lib/d/src/thrift/internal/
Dresource_pool.d23 import std.array : array, empty;
77 bool empty() @property { in TResourcePool() function
79 if (resources_.empty) return true; in TResourcePool()
127 enforce(!empty); in TResourcePool()
138 enforce(!empty); in TResourcePool()
155 if (resources_.empty) return false; in TResourcePool()
290 enforce(pool[].empty);
317 enforce(!r.empty);
322 enforce(r.empty);
343 enforce(r.empty);
[all …]
Dalgorithm.d26 for (;!range.empty;)
41 for (; !range.empty; range.popFront)
Dssl.d28 import std.array : empty, appender;
199 if (!location.empty) { in initMessage()
246 if (errnString.empty) {
/thrift-3.4.0/lib/d/src/thrift/transport/
Dbuffered.d22 import std.array : empty;
76 if (readAvail_.empty) { in peek()
83 return !readAvail_.empty; in peek()
97 if (readAvail_.empty) { in read()
Dhttp.d31 import std.array : empty;
131 if (split[1].empty) { in parseHeader()
156 if (split[1].empty) { in readLine()
158 if (httpBufRemaining_.empty) { in readLine()
341 if (firstSplit[1].empty) { in parseStatusLine()
348 if (secondSplit[1].empty) { in parseStatusLine()
398 if (split[1].empty) { in parseStatusLine()
Dpiped.d202 enforce(pipeTarget.getContents().empty);
211 enforce(pipeTarget.getContents().empty);
215 enforce(pipeTarget.getContents().empty);
Dssl.d32 import std.array : empty, front, popFront;
622 if (host.empty || certHost.empty) { in verify()
655 while (!host.empty && !pattern.empty) { in matchName()
660 while (!host.empty && host.front != '.') { in matchName()
668 return (host.empty && pattern.empty); in matchName()
Drange.d25 import std.array : empty;
58 return !data_.empty; in peek()
Dframed.d24 import std.array : empty;
87 if (rBuf_.empty) { in read()
103 if (wBuf_.empty) return; in flush()
302 enforce(remainToRead.empty);
Dwebsocket.d65 if (readBuffer_.empty) { in TServerWebSocketTransport()
82 if (writeBuffer_.empty) { in TServerWebSocketTransport()
110 if (split[1].empty) { in TServerWebSocketTransport()
139 if (split[1].empty) { in TServerWebSocketTransport()
/thrift-3.4.0/test/cpp/src/
DStressTest.cpp325 if (!args["clients"].empty()) { in main()
329 if (!args["help"].empty()) { in main()
334 if (!args["loop"].empty()) { in main()
338 if (!args["call"].empty()) { in main()
342 if (!args["port"].empty()) { in main()
346 if (!args["server"].empty()) { in main()
350 if (!args["log-request"].empty()) { in main()
354 if (!args["replay-request"].empty()) { in main()
358 if (!args["server-type"].empty()) { in main()
372 if (!args["client-type"].empty()) { in main()
[all …]
DStressTestNonBlocking.cpp299 if (!args["clients"].empty()) { in main()
303 if (!args["help"].empty()) { in main()
308 if (!args["loop"].empty()) { in main()
312 if (!args["call"].empty()) { in main()
316 if (!args["port"].empty()) { in main()
320 if (!args["server"].empty()) { in main()
324 if (!args["log-request"].empty()) { in main()
328 if (!args["replay-request"].empty()) { in main()
332 if (!args["server-type"].empty()) { in main()
336 if (!args["workers"].empty()) { in main()
/thrift-3.4.0/lib/d/src/thrift/codegen/
Didlgen.d28 import std.array : empty, front;
113 if (meta.empty) return "alias TypeTuple!() ExceptionTypes;";
268 static if (!meta.empty && meta.front.type == TMethodType.ONEWAY) {
284 static if (!meta.empty && i < meta.front.params.length) {
306 static if (havePM && !meta.front.params[i].defaultValue.empty) {
318 static if (!meta.empty && !meta.front.exceptions.empty) {
385 static if (meta.empty || meta.front.req != TReq.IGNORE) {
387 static if (meta.empty) {
394 static if (!meta.empty) {
399 static if (!meta.empty && !meta.front.defaultValue.empty) {
Dprocessor.d22 import std.array : empty, front;
167 if (!meta.empty) {
362 if (!meta.empty) { in TArgsStruct()
405 fieldMetaCodes.empty ? "" : "[" ~ ctfeJoin(fieldMetaCodes) ~ "]"; in TArgsStruct()
471 if (!meta.empty) { in TResultStruct()
492 fieldMetaCodes.empty ? "" : "[" ~ ctfeJoin(fieldMetaCodes) ~ "]"; in TResultStruct()
Dclient.d22 import std.array : empty, front;
152 if (!meta.empty) {
317 if (!meta.empty) { in TPargsStruct()
441 if (!meta.empty) { in TPresultStruct()
/thrift-3.4.0/lib/cpp/src/thrift/server/
DTThreadedServer.cpp99 while (!activeClientMap_.empty()) { in serve()
108 while (!deadClientMap_.empty()) { in drainDeadClients()
133 if (activeClientMap_.empty()) { in onClientDisconnected()
/thrift-3.4.0/lib/d/src/thrift/util/
Dfuture.d25 import std.array : empty, front, popFront;
428 bool empty() @property { in TFutureAggregatorRange()
437 while (completedQueue_.empty) { in TFutureAggregatorRange()
483 enforce(!empty, new TException( in TFutureAggregatorRange()
497 enforce(!empty, new TException( in TFutureAggregatorRange()
Dhashset.d80 size_t empty() @property const { in HashSet()
140 enforce(a.empty);
/thrift-3.4.0/lib/php/test/JsonSerialize/
DJsonSerializeTest.php45 $empty = new \ThriftTest\EmptyStruct(array('non_existing_key' => 'bar'));
46 $this->assertEquals(new stdClass(), json_decode(json_encode($empty)));
/thrift-3.4.0/lib/cpp/src/thrift/async/
DTConcurrentClientSyncInfo.cpp127 if(!seqidToMonitorMap_.empty()) in wakeupAnyone_()
151 if(freeMonitors_.empty()) in newMonitor_()
182 if(!seqidToMonitorMap_.empty()) in generateSeqId()
/thrift-3.4.0/
DMakefile.am77 empty := macro
78 space := $(empty) $(empty)
/thrift-3.4.0/compiler/cpp/src/thrift/generate/
Dt_markdown_generator.cc66 } else if( iter->first.compare("suffix") == 0 && !iter->second.empty()) { in t_markdown_generator()
185 if (!tprog->get_services().empty()) { in generate_program_toc_row()
214 if (!tprog->get_enums().empty()) { in generate_program_toc_row()
232 if (!tprog->get_typedefs().empty()) { in generate_program_toc_row()
250 if (!tprog->get_objects().empty()) { in generate_program_toc_row()
280 if (!tprog->get_consts().empty()) { in generate_program_toc_row()
328 if (!program_->get_consts().empty()) { in generate_program()
337 if (!program_->get_enums().empty()) { in generate_program()
347 if (!program_->get_typedefs().empty()) { in generate_program()
357 if (!program_->get_objects().empty()) { in generate_program()
[all …]
Dt_d_generator.cc95 if (!dir.empty()) { in init_generator()
118 if (!includes.empty()) in init_generator()
128 if (!consts.empty()) { in generate_consts()
260 if (!exception_types.empty()) in generate_service()
275 if ((*fn_iter)->get_arglist()->get_members().empty() in generate_service()
276 && (*fn_iter)->get_xceptions()->get_members().empty() && !(*fn_iter)->is_oneway()) { in generate_service()
311 if (!(*fn_iter)->get_xceptions()->get_members().empty() || (*fn_iter)->is_oneway()) { in generate_service()
341 if (!meta_str.empty()) { in generate_service()
455 if (!members.empty()) in print_struct_definition()
459 if (!members.empty()) { in print_struct_definition()
Dt_html_generator.cc163 if (!tprog->get_services().empty()) { in generate_program_toc_row()
188 if (!tprog->get_enums().empty()) { in generate_program_toc_row()
199 if (!tprog->get_typedefs().empty()) { in generate_program_toc_row()
211 if (!tprog->get_objects().empty()) { in generate_program_toc_row()
227 if (!tprog->get_consts().empty()) { in generate_program_toc_row()
267 if (!program_->get_consts().empty()) { in generate_program()
276 if (!program_->get_enums().empty()) { in generate_program()
286 if (!program_->get_typedefs().empty()) { in generate_program()
296 if (!program_->get_objects().empty()) { in generate_program()
310 if (!program_->get_services().empty()) { in generate_program()
[all …]
/thrift-3.4.0/lib/cpp/src/thrift/transport/
DTTransportException.cpp32 if (message_.empty()) { in what()

12345