| /external/jline/src/src/main/java/jline/ |
| D | Terminal.java | 2 * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved. 12 * Representation of the input terminal for a platform. Handles 14 * in order to allow the {@link ConsoleReader} to correctly handle 19 public abstract class Terminal implements ConsoleOperations { class 20 private static Terminal term; 25 public static Terminal getTerminal() { in getTerminal() 30 * Reset the current terminal to null. 37 * <p>Configure and return the {@link Terminal} instance for the 43 * <p>This class will use the Terminal implementation specified in the 44 * <em>jline.terminal</em> system property, or, if it is unset, by [all …]
|
| D | ConsoleReader.java | 2 * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved. 18 * A reader for console applications. It supports custom tab-completion, 20 * platform-specific commands will need to be issued before the reader will 21 * function properly. See {@link Terminal#initializeTerminal} for convenience 22 * methods for issuing platform-specific setup commands. 111 * The number of tab-completion candidates above which a warning will be 119 * The Terminal to use. 121 private final Terminal terminal; field in ConsoleReader 134 private int searchIndex = -1; 152 * Create a new reader using {@link FileDescriptor#in} for input and [all …]
|
| D | WindowsTerminal.java | 2 * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved. 15 * Terminal implementation for Microsoft Windows. Terminal initialization in 16 * {@link #initializeTerminal} is accomplished by extracting the 21 * url=/library/en-us/dllproc/base/setconsolemode.asp">SetConsoleMode</a> and 23 * url=/library/en-us/dllproc/base/getconsolemode.asp">GetConsoleMode</a> to 28 * By default, the {@link #readCharacter} method will attempt to test to see if 29 * the specified {@link InputStream} is {@link System#in} or a wrapper around 30 * {@link FileDescriptor#in}, and if so, will bypass the character reading to 33 * the {@link System#in} stream. Using JNI reading can be bypassed by setting 40 public class WindowsTerminal extends Terminal { [all …]
|
| /external/python/bumble/examples/ |
| D | README.md | 14 controller, attached to a local link bus to a second, in-process, virtual controller, itself 21 In a terminal, run `socat` to bridge a UDP socket to a local PTY. 26 socat -d -d -x PTY,link=./hci_pty,rawer UDP-SENDTO:172.16.104.1:22333,bind=:22333 29 In the local directory, `socat` creates a symbolic link named `hci_pty` that points to the PTY. 31 In a second terminal, run 33 sudo btattach -P h4 -B hci_pty 38 (optional) In a third terminal, run `sudo btmon`. This monitors the HCI traffic with BlueZ, which i… 40 In a fourth terminal, run `sudo bluetoothctl` to interact with BlueZ as a client. From there, you c… 43 In a macOS terminal, run 53 the macOS side. Relevant log output in each of the terminal consoles should show what it going on. [all …]
|
| /external/perfetto/src/trace_processor/perfetto_sql/engine/ |
| D | perfetto_sql_parser.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 124 // If we have a non-space character we've seen, just return all the stuff in Next() 131 // This means we've seen a semi-colon without any non-space content. Just in Next() 228 auto terminal = tokenizer_.NextTerminal(); in ParseIncludePerfettoModule() local 229 std::string key = tokenizer_.Substr(tok, terminal).sql(); in ParseIncludePerfettoModule() 233 "Include key should be a dot-separated list of module names, with the " in ParseIncludePerfettoModule() 240 statement_sql_ = tokenizer_.Substr(first_non_space_token, terminal); in ParseIncludePerfettoModule() 278 Token terminal = tokenizer_.NextTerminal(); in ParseCreatePerfettoTableOrView() local 282 tokenizer_.Substr(first, terminal), schema}; in ParseCreatePerfettoTableOrView() 286 tokenizer_.Substr(first_non_space_token, terminal); in ParseCreatePerfettoTableOrView() [all …]
|
| /external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
| D | HttpMeasureConstants.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 * A helper class which holds OpenCensus's default HTTP {@link Measure}s and {@link TagKey}s. 27 * <p>{@link Measure}s and {@link TagKey}s in this class are all public for other 40 * {@link Measure} for the client-side total bytes sent in request body (not including headers). 48 "Client-side total bytes sent in request body (uncompressed)", 52 * {@link Measure} for the client-side total bytes received in response bodies (not including 54 * received and read, not the value of the Content-Length header. This is uncompressed bytes. 62 "Client-side total bytes received in response bodies (uncompressed)", 66 * {@link Measure} for the client-side time between first byte of request headers sent to last 67 * byte of response received, or terminal error. [all …]
|
| /external/cronet/components/cronet/android/fake/java/org/chromium/net/test/ |
| D | FakeCronetEngine.java | 2 // Use of this source code is governed by a BSD-style license that can be 42 /** Fake {@link CronetEngine}. This implements CronetEngine. */ 44 /** Builds a {@link FakeCronetEngine}. This implements CronetEngine.Builder. */ 49 * Builder for {@link FakeCronetEngine}. 51 * @param context Android {@link Context}. 76 * The number of started requests where the terminal callback (i.e. 83 * The number of started requests where the terminal callbacks (i.e. 89 * terminal callbacks that are currently running. 100 * Creates a {@link FakeCronetEngine}. Used when {@link FakeCronetEngine} is created with the 101 * {@link FakeCronetEngine.Builder}. [all …]
|
| D | FakeUrlRequest.java | 2 // Use of this source code is governed by a BSD-style license that can be 55 // The {@link Executor} provided by the user to be used for callbacks. 57 // The {@link Executor} provided by the engine used to break up callback loops. 61 // The {@link FakeCronetController} that will provide responses for this request. 63 // The fake {@link CronetEngine} that should be notified when this request starts and stops. 90 // The {@link FakeUrlResponse} for the current URL. 98 // The {@link UploadDataProvider} to retrieve a request body from. 102 // The executor to call the {@link UploadDataProvider}'s callback methods with. 106 // The {@link UploadDataSink} for the {@link UploadDataProvider}. 111 // The {@link UrlResponseInfo} for the current request. [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
| D | WritableDownloadIndex.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 /** A writable index of {@link Download Downloads}. */ 26 * Adds or replaces a {@link Download}. 30 * @param download The {@link Download} to be added. 47 * Sets all {@link Download#STATE_DOWNLOADING} states to {@link Download#STATE_QUEUED}. 56 * Sets all states to {@link Download#STATE_REMOVING}. 65 * Sets the stop reason of the downloads in a terminal state ({@link Download#STATE_COMPLETED}, 66 * {@link Download#STATE_FAILED}). 76 * Sets the stop reason of the download with the given ID in a terminal state ({@link 77 * Download#STATE_COMPLETED}, {@link Download#STATE_FAILED}). Does nothing if a download with the [all …]
|
| D | DownloadManager.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 62 * <p>Normally a download manager should be accessed via a {@link DownloadService}. When a download 64 * calling {@link #resumeDownloads()}. 67 * thread does not have a {@link Looper}. In that case, it must be accessed only from the 69 * the `Looper` of the thread from which the manager must be accessed can be queried using {@link 74 /** Listener for {@link DownloadManager} events. */ 85 * Called when downloads are ({@link #pauseDownloads() paused} or {@link #resumeDownloads() 99 * @param finalException If the download is transitioning to {@link Download#STATE_FAILED}, this 125 * @param notMetRequirements {@link Requirements.RequirementFlags RequirementFlags} that are not 135 * progressing for the sole reason that the {@link #getRequirements() Requirements} are not met. [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
| D | WritableDownloadIndex.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 /** A writable index of {@link Download Downloads}. */ 26 * Adds or replaces a {@link Download}. 30 * @param download The {@link Download} to be added. 47 * Sets all {@link Download#STATE_DOWNLOADING} states to {@link Download#STATE_QUEUED}. 56 * Sets all states to {@link Download#STATE_REMOVING}. 65 * Sets the stop reason of the downloads in a terminal state ({@link Download#STATE_COMPLETED}, 66 * {@link Download#STATE_FAILED}). 76 * Sets the stop reason of the download with the given ID in a terminal state ({@link 77 * Download#STATE_COMPLETED}, {@link Download#STATE_FAILED}). Does nothing if a download with the [all …]
|
| D | DownloadManager.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 62 * <p>Normally a download manager should be accessed via a {@link DownloadService}. When a download 64 * calling {@link #resumeDownloads()}. 67 * thread does not have a {@link Looper}. In that case, it must be accessed only from the 69 * the `Looper` of the thread from which the manager must be accessed can be queried using {@link 74 /** Listener for {@link DownloadManager} events. */ 85 * Called when downloads are ({@link #pauseDownloads() paused} or {@link #resumeDownloads() 99 * @param finalException If the download is transitioning to {@link Download#STATE_FAILED}, this 125 * @param notMetRequirements {@link Requirements.RequirementFlags RequirementFlags} that are not 135 * progressing for the sole reason that the {@link #getRequirements() Requirements} are not met. [all …]
|
| /external/guava/guava/src/com/google/common/collect/ |
| D | ImmutableMapEntry.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 * Implementation of {@code Entry} for {@link ImmutableMap} that adds extra methods to traverse hash 26 * buckets for the key and the value. This allows reuse in {@link RegularImmutableMap} and {@link 73 * Returns true if this entry has no bucket links and can safely be reused as a terminal entry in 82 * Yes, we sometimes set nextInKeyBucket to null, even for this "non-terminal" entry. We don't 83 * do that with a plain NonTerminalImmutableMapEntry, but we do it with the BiMap-specific 84 * subclass below. That's because the Entry might be non-terminal in the key bucket but terminal
|
| /external/guava/guava/src/com/google/common/util/concurrent/ |
| D | Service.java | 7 * http://www.apache.org/licenses/LICENSE-2.0 29 * An object with an operational state, plus asynchronous {@link #startAsync()} and {@link 36 * <li>{@linkplain State#NEW NEW} -> 37 * <li>{@linkplain State#STARTING STARTING} -> 38 * <li>{@linkplain State#RUNNING RUNNING} -> 39 * <li>{@linkplain State#STOPPING STOPPING} -> 43 * <p>There are deviations from this if there are failures or if {@link Service#stopAsync} is called 44 * before the {@link Service} reaches the {@linkplain State#RUNNING RUNNING} state. The set of legal 46 * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED} 47 * and {@link State#TERMINATED} states are terminal states, once a service enters either of these [all …]
|
| /external/aws-sdk-java-v2/utils/src/main/java/software/amazon/awssdk/utils/async/ |
| D | InputStreamSubscriber.java | 32 * Adapts a {@link Subscriber} to a {@link InputStream}. 73 callQueue.add(new QueueEntry(false, () -> delegate.onNext(byteBuffer))); in onNext() 79 callQueue.add(new QueueEntry(true, () -> delegate.onError(t))); in onError() 85 callQueue.add(new QueueEntry(true, () -> { in onComplete() 99 return -1; in read() 118 int dataTransferred = byteBuffer.position() - off; in read() 122 return -1; in read() 131 // If it is done, no-op in close() 169 done = entry.terminal; in doDrainQueue() 175 private final boolean terminal; field in InputStreamSubscriber.QueueEntry [all …]
|
| /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
| D | TerminalBridge.java | 2 * ConnectBot: simple, powerful, open-source SSH client for Android 9 * http://www.apache.org/licenses/LICENSE-2.0 43 import de.mud.terminal.VDUBuffer; 44 import de.mud.terminal.VDUDisplay; 45 import de.mud.terminal.vt320; 59 * Provides a bridge between a MUD terminal buffer and a possible TerminalView. This separation 105 public int charWidth = -1; 106 public int charHeight = -1; 107 private int charTop = -1; 109 private float fontSize = -1; [all …]
|
| /external/guava/android/guava/src/com/google/common/util/concurrent/ |
| D | Service.java | 7 * http://www.apache.org/licenses/LICENSE-2.0 26 * An object with an operational state, plus asynchronous {@link #startAsync()} and {@link 33 * <li>{@linkplain State#NEW NEW} -> 34 * <li>{@linkplain State#STARTING STARTING} -> 35 * <li>{@linkplain State#RUNNING RUNNING} -> 36 * <li>{@linkplain State#STOPPING STOPPING} -> 40 * <p>There are deviations from this if there are failures or if {@link Service#stopAsync} is called 41 * before the {@link Service} reaches the {@linkplain State#RUNNING RUNNING} state. The set of legal 43 * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED} 44 * and {@link State#TERMINATED} states are terminal states, once a service enters either of these [all …]
|
| /external/sdk-platform-java/api-common-java/src/main/java/com/google/api/core/ |
| D | ApiService.java | 37 * An object with an operational state, plus asynchronous {@link #startAsync()} and {@link 44 * <li>{@linkplain State#NEW NEW} -> 45 * <li>{@linkplain State#STARTING STARTING} -> 46 * <li>{@linkplain State#RUNNING RUNNING} -> 47 * <li>{@linkplain State#STOPPING STOPPING} -> 51 * <p>There are deviations from this if there are failures or if {@link ApiService#stopAsync} is 52 * called before the {@link ApiService} reaches the {@linkplain State#RUNNING RUNNING} state. The 55 * listener will be called at most once. N.B. The {@link State#FAILED} and {@link State#TERMINATED} 56 * states are terminal states, once a service enters either of these states it cannot ever leave 59 * <p>Implementors of this interface are strongly encouraged to extend {@link AbstractApiService} [all …]
|
| /external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
| D | LocaleInheritanceInfo.java | 31 * @see CLDRFile#getFallbackPath - used for other fallback paths 36 private boolean terminal; field in LocaleInheritanceInfo.Reason 39 * An entry is 'terminal' if it represents the end of a successful look up chain. A 40 * nonterminal entry merely contributes to the look up. Only terminal entries will 41 * correspond to a return value from {@link CLDRFile#getSourceLocaleIdExtended(String, 43 * terminal entry are the start of a bailey value. 48 return terminal; in isTerminal() 51 Reason(String description, boolean terminal) { in Reason() argument 53 this.terminal = terminal; in Reason()
|
| /external/sdv/vsomeip/third_party/boost/proto/doc/ |
| D | back_end.qbk | 13 …t what to /do/ with the intermediate form. This is where you put your domain-specific algorithms a… 20 semantic actions in other compiler-construction toolkits. 22 …ransform based on the entire /structure/ of a sub-expression rather than simply on the type of its… 24 …sive and fungible once you become accustomed to it. And -- this is admittedly very subjective -- t… 39 [note `proto::eval()` is a less powerful but easier-to-use evaluation technique 106 // Some user-defined context type 142 // A prototypical user-defined context. 152 // Handle terminal nodes here... 154 struct eval<Expr, proto::tag::terminal> 174 In the [link boost_proto.users_guide.getting_started.hello_calculator Hello Calculator] [all …]
|
| D | calculator.qbk | 13 EDSL (embedded domain-specific language) for a lazily-evaluated calculator. We'll 14 see how to define the terminals in your mini-language, how to compose them into 16 expressions can do useful work. When we're done, we'll have a mini-language that 17 will allow us to declare a lazily-evaluated arithmetic expression, such as 18 `(_2 - _1) / _2 * 100`, where `_1` and `_2` are placeholders for values to be 34 proto::terminal<placeholder<0> >::type const _1 = {{}}; 35 proto::terminal<placeholder<1> >::type const _2 = {{}}; 39 run-time construction -- they are ['statically initialized], which means they 41 [link boost_proto.appendices.rationale.static_initialization Static 42 Initialization] section in the [link boost_proto.appendices.rationale Rationale] [all …]
|
| D | front_end.qbk | 10 Defining Terminals and Non-Terminals of Your EDSL] 13 …-programming language. In this section we'll talk about the nuts and bolts of designing an EDSL in… 22 proto::terminal<int>::type i = {0}; 29 …-- with aggregate initialization -- can be a little awkward at times. Proto provides an easier-to-… 34 // Proto literals are really just Proto terminal expressions. 38 There is also a _lit_ function for constructing a _literal_ in-place. The above expression can simp… 40 // proto::lit(0) creates an integer terminal expression 51 …amespace and are found via ADL (argument-dependent lookup). That is why expressions must be "taint… 55 -_1; // OK, build a unary-negate tree node 56 _1 + 42; // OK, build a binary-plus tree node [all …]
|
| /external/python/pyserial/documentation/ |
| D | tools.rst | 11 This module can be executed to get a list of ports (``python -m 38 tested if they are a link to a known serial port device. These entries 39 will include ``LINK`` in their ``hwid`` string. This implies that the same 104 USB device location string ("<bus>-<port>[-<port>]...") 126 Help for ``python -m serial.tools.list_ports``:: 128 usage: list_ports.py [-h] [-v] [-q] [-n N] [-s] [regexp] 136 -h, --help show this help message and exit 137 -v, --verbose show more messages 138 -q, --quiet suppress all messages 139 -n N only output the N-th entry [all …]
|
| /external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/ |
| D | CrossProfileSender.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 232 () -> onBindingAttemptFailed("onBindingDied", /* terminal= */ true)); 239 () -> onBindingAttemptFailed("onNullBinding", /* terminal= */ true)); 247 () -> { 270 () -> { 274 // These disconnections can be temporary - so to avoid an exception on an async 275 // call leading to bad user experience - we send the availability update again 400 () -> { in manuallyBind() 430 scheduledExecutorService.execute(() -> removeConnectionHolderAndAliases(connectionHolder)); in manuallyBind() 451 onBindingAttemptFailed(reason, /* exception= */ null, /* terminal= */ false); in onBindingAttemptFailed() [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/drm/ |
| D | DrmSession.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 36 * <p>Invokes {@code newSession's} {@link #acquire(DrmSessionEventListener.EventDispatcher)} and 37 * {@code previousSession's} {@link #release(DrmSessionEventListener.EventDispatcher)} in that 58 /** The {@link PlaybackException.ErrorCode} that corresponds to the failure. */ 68 * The state of the DRM session. One of {@link #STATE_RELEASED}, {@link #STATE_ERROR}, {@link 69 * #STATE_OPENING}, {@link #STATE_OPENED} or {@link #STATE_OPENED_WITH_KEYS}. 75 /** The session has been released. This is a terminal state. */ 78 * The session has encountered an error. {@link #getError()} can be used to retrieve the cause. 79 * This is a terminal state. 90 * Returns the current state of the session, which is one of {@link #STATE_ERROR}, {@link [all …]
|