Home
last modified time | relevance | path

Searched refs:is (Results 1 – 25 of 981) sorted by relevance

12345678910>>...40

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dreader.h247 void SkipWhitespace(InputStream& is) { in SkipWhitespace() argument
248 internal::StreamLocalCopy<InputStream> copy(is); in SkipWhitespace()
344 template<> inline void SkipWhitespace(InsituStringStream& is) { in SkipWhitespace() argument
345 is.src_ = const_cast<char*>(SkipWhitespace_SIMD(is.src_)); in SkipWhitespace()
349 template<> inline void SkipWhitespace(StringStream& is) { in SkipWhitespace() argument
350 is.src_ = SkipWhitespace_SIMD(is.src_); in SkipWhitespace()
393 ParseResult Parse(InputStream& is, Handler& handler) { in Parse() argument
395 return IterativeParse<parseFlags>(is, handler); in Parse()
401 SkipWhitespace(is); in Parse()
403 if (is.Peek() == '\0') { in Parse()
[all …]
Dencodings.h124 static bool Decode(InputStream& is, unsigned* codepoint) { in Decode()
125 #define COPY() c = is.Take(); *codepoint = (*codepoint << 6) | ((unsigned char)c & 0x3Fu) in Decode()
128 Ch c = is.Take(); in Decode()
153 static bool Validate(InputStream& is, OutputStream& os) { in Validate()
154 #define COPY() os.Put(c = is.Take()) in Validate()
197 static CharType TakeBOM(InputByteStream& is) { in TakeBOM()
199 Ch c = Take(is); in TakeBOM()
201 c = is.Take(); in TakeBOM()
203 c = is.Take(); in TakeBOM()
205 c = is.Take(); in TakeBOM()
[all …]
/packages/services/Car/car-lib/api/
Dbaseline.txt3 …Permission Car.PERMISSION_CAR_DYNAMICS_STATE required by field VehiclePropertyIds.ABS_ACTIVE is hi…
5 …RMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_BOOTUP_REASON is hidden or removed
7 …ERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REPORT is hidden or removed
9 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REQ is hid…
11 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.DISPLAY_BRIGHTNESS is hid…
13 …Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_LOCK is hidd…
15 …Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_MOVE is hidd…
17 …Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_POS is hidde…
19 …N_CAR_ENGINE_DETAILED required by field VehiclePropertyIds.ENGINE_COOLANT_TEMP is hidden or removed
21 …SION_CAR_ENGINE_DETAILED required by field VehiclePropertyIds.ENGINE_OIL_LEVEL is hidden or removed
[all …]
Dtest-baseline.txt3 …Permission Car.PERMISSION_CAR_DYNAMICS_STATE required by field VehiclePropertyIds.ABS_ACTIVE is hi…
5 …RMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_BOOTUP_REASON is hidden or removed
7 …ERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REPORT is hidden or removed
9 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REQ is hid…
11 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.DISPLAY_BRIGHTNESS is hid…
13 …Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_LOCK is hidd…
15 …Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_MOVE is hidd…
17 …Permission Car.PERMISSION_CONTROL_CAR_DOORS required by field VehiclePropertyIds.DOOR_POS is hidde…
19 …N_CAR_ENGINE_DETAILED required by field VehiclePropertyIds.ENGINE_COOLANT_TEMP is hidden or removed
21 …SION_CAR_ENGINE_DETAILED required by field VehiclePropertyIds.ENGINE_OIL_LEVEL is hidden or removed
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in6 # All text after a double hash (##) is considered a comment and is placed in
7 # front of the TAG it is preceding.
9 # All text after a single hash (#) is considered a comment and will be ignored.
10 # The format is:
21 # that follow. The default is UTF-8 which is also the encoding used for all text
25 # The default value is: UTF-8.
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
31 # project for which the documentation is generated. This name is used in the
33 # The default value is: My Project.
39 # control system is used.
[all …]
Ddom.md3 Document Object Model(DOM) is an in-memory representation of JSON for query and manipulation. The b…
34 …TF16`, `UTF32`. Note that, these 3 types are also template class. `UTF8<>` is `UTF8<char>`, which …
61 The `Allocator` defines which allocator class is used when allocating/deallocating memory for `Docu…
63 …enericDocument` is `MemoryPoolAllocator`. This allocator actually allocate memory sequentially, an…
65is `CrtAllocator`, of which CRT is short for C RunTime library. This allocator simply calls the st…
69 `Document` provides several functions for parsing. In below, (1) is the fundamental function, while…
76 GenericDocument& GenericDocument::ParseStream(InputStream& is);
80 GenericDocument& GenericDocument::ParseStream(InputStream& is);
84 GenericDocument& GenericDocument::ParseStream(InputStream& is);
111 `kParseNoFlags` | No flag is set.
[all …]
Dfaq.md7 1. What is RapidJSON?
9 …RapidJSON is a C++ library for parsing and generating JSON. You may check all [features](doc/featu…
11 2. Why is RapidJSON named so?
13 It is inspired by [RapidXML](http://rapidxml.sourceforge.net/), which is a fast XML DOM parser.
21 …Yes, it is free under MIT license. It can be used in commercial applications. Please check the det…
25 …Yes. A simple executable which parses a JSON and prints its statistics is less than 30KB on Window…
43 …Yes. It is deployed in both client and server real applications. A community member reported that …
45 10. How RapidJSON is tested?
59 1. What is JSON?
61 …JSON (JavaScript Object Notation) is a lightweight data-interchange format. It uses human readable…
[all …]
Dstream.md3 In RapidJSON, `rapidjson::Stream` is a concept for reading/writing JSON. Here we first show how to …
13 `StringStream` is the most basic input stream. It represents a complete, read-only JSON stored in m…
28 Since this is very common usage, `Document::Parse(const char*)` is provided to do exactly the same …
37 Note that, `StringStream` is a typedef of `GenericStringStream<UTF8<> >`, user may use another enco…
41 `StringBuffer` is a simple output stream. It allocates a memory buffer for writing the whole JSON. …
53 When the buffer is full, it will increases the capacity automatically. The default capacity is 256 …
62 Similarly, `StringBuffer` is a typedef of `GenericStringBuffer<UTF8<> >`.
68 However, if the JSON is big, or memory is limited, you can use `FileReadStream`. It only read a par…
83 FileReadStream is(fp, readBuffer, sizeof(readBuffer));
86 d.ParseStream(is);
[all …]
Dinternals.md11 The basic relationships of SAX and DOM is shown in the following UML diagram.
15 The core of the relationship is the `Handler` concept. From the SAX side, `Reader` parses a JSON fr…
17 With this design, SAX is not dependent on DOM. Even `Reader` and `Writer` have no dependencies betw…
21 …onal concepts: `Allocator`, `Encoding` and `Stream`. Their inheritance hierarchy is shown as below.
27 `Value` (actually a typedef of `GenericValue<UTF8<>>`) is the core of DOM API. This section describ…
31is a [variant type](http://en.wikipedia.org/wiki/Variant_type). In RapidJSON's context, an instanc…
103 * To reduce memory consumption for 64-bit architecture, `SizeType` is typedef as `unsigned` instead…
105 * An `Int` is always an `Int64`, but the converse is not always true.
109 …, each JSON type contains redundant `kXXXType` and `kXXXFlag`. This design is for optimizing the o…
113 Number is a bit more complicated. For normal integer values, it can contains `kIntFlag`, `kUintFlag…
[all …]
Dtutorial.md11 Each JSON value is stored in a type called `Value`. A `Document`, representing the DOM, contains th…
41 The JSON is now parsed into `document` as a *DOM tree*:
45 … RFC 4627, only objects or arrays were allowed as root values. In this case, the root is an object.
102 // Using a reference for consecutive access is handy and faster.
116 …f a value is a string, it is invalid to call `GetInt()`, for example. In debug mode it will fail a…
122 By default, `SizeType` is typedef of `unsigned`. In most systems, array is limited to store up to 2…
126 Array is similar to `std::vector`, instead of using indices, you may also use iterator to access al…
147 printf("Type of member %s is %s\n",
153 Type of member hello is String
154 Type of member t is True
[all …]
Dsax.md5 … (typedef of `GenericReader<...>`) is the SAX-style parser for JSON, and `Writer` (typedef of `Gen…
13 For example, here is a JSON.
118 `Null()` is called when the `Reader` encounters a JSON null value.
120 `Bool(bool)` is called when the `Reader` encounters a JSON true or false value.
124is called when the `Reader` encounters a string. The first parameter is pointer to the string. The…
126is a set of name-value pairs. If the object contains members it first calls `Key()` for the name o…
128is similar to object but simpler. At the beginning of an array, the `Reader` calls `BeginArary()`.…
136 As mentioned before, `Reader` is a typedef of a template class `GenericReader`:
157 Note that, the default character type of `UTF16` is `wchar_t`. So this `reader`needs to call `Strin…
159 The third template parameter `Allocator` is the allocator type for internal data structure (actuall…
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile6 # All text after a hash (#) is considered a comment and will be ignored
7 # The format is:
18 # that follow. The default is UTF-8 which is also the encoding used for all
25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
32 # if some version control system is used.
36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
38 # If a relative path is entered, it will be relative to the location
43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
53 # documentation generated by doxygen is written. Doxygen will use this
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile6 # All text after a hash (#) is considered a comment and will be ignored
7 # The format is:
18 # that follow. The default is UTF-8 which is also the encoding used for all
25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
32 # if some version control system is used.
36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
38 # If a relative path is entered, it will be relative to the location
43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
53 # documentation generated by doxygen is written. Doxygen will use this
[all …]
/packages/modules/NeuralNetworks/tools/api/
DREADME.md7 `generate_api.py` is employed to combine a single *specification file* with one
25 When the `--dryrun` argument is present, this script shows how it would invoke
39 The "kind" is an arbitrary token that the specification file can reference with
48 Every line of the template file is copied verbatim to the output file *unless*
51 A line that begins with `%%` is a comment, and is ignored.
53 A line that begins with `%` and is not a comment is a *directive*.
60 output file. The section is defined by a `%section` directive in the
65 Similar to `%insert *name*`, but each non-empty copied line is prefixed with
72 A line that begins with `%%` is a comment, and is ignored.
74 A line that begins with `%` and is not a comment is a *directive*.
[all …]
DNeuralNetworksTypes.t13 * distributed under the License is distributed on an "AS IS" BASIS,
35 * This file is part of Android's set of stable system headers
96 * the same; for odd number of padding, padding to the ending is bigger
99 * total_padding is a function of input, stride, dilation and filter size.
105 * The computation is the same for the horizontal and vertical directions.
111 * No padding. When the input size is not evenly divisible by
254 * Failure indicating an object is in a dead state.
264 * the model. The size is in bytes.
272 * of the cache token required from the application. The size is in bytes.
311 * ANeuralNetworksMemory is an opaque type that represents memory.
[all …]
Dtypes.spec47 * Important: As of NNAPI feature level 3, there is no way to get the output state tensors out
169 * With the default data layout NHWC, the data is stored in the order of:
172 * NCHW is supported since %{NNAPILevel3}.
175 * Since %{NNAPILevel3}, generic zero-sized input tensor is supported. Zero
176 * dimension is only compatible with 0 or 1. The size of the output
177 * dimension is zero if either of corresponding input dimension is zero.
181 * Since %{NNAPILevel3}, zero batches is supported for this tensor.
212 %% macro definition is empty for all other kinds.
307 * The formula is:
332 * dimensions. The output is the sum of both input tensors, optionally
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java378 public static SapMessage readMessage(int requestType, InputStream is) { in readMessage() argument
384 paramCount = is.read(); in readMessage()
385 skip(is, 2); // Skip the 2 padding bytes in readMessage()
390 if (!newMessage.parseParameters(paramCount, is)) { in readMessage()
446 private static void read(InputStream is, byte[] buffer) throws IOException { in read() argument
451 tmpBytesRead = is.read(buffer, bytesRead, bytesToRead - bytesRead); in read()
466 private static void skip(InputStream is, int count) throws IOException { in skip() argument
468 is.read(); // Do not use the InputStream.skip as it fails for some stream types in skip()
481 private boolean parseParameters(int count, InputStream is) throws IOException { in parseParameters() argument
488 paramId = is.read(); in parseParameters()
[all …]
/packages/modules/adb/
Dprotocol.txt4 When it comes down to it, aproto's primary purpose is to forward
15 a device or emulator that is connected to the bridge.
17 The protocol is designed to be straightforward and well-defined enough
35 unsigned data_length; /* length of payload (0 is allowed) */
46 detail. Their format is COMMAND(arg0, arg1, payload) where the payload
47 is represented by a quoted string or an empty string if none should be
61 The version is used to ensure protocol compatibility and maxdata
63 is willing to accept.
70 Both sides send a CONNECT message when the connection between them is
71 established. Until a CONNECT message is received no other messages may
[all …]
DSYNC.TXT10 SERVICES.TXT sets the connection in sync mode. This mode is a binary mode that
14 After the initial "sync:" command is sent the server must respond with either
19 responses. The first four bytes are an id that specifies the sync request. It is
22 all binary integers are Little-Endian in the sync mode. Sync mode is
48 When a sync response "DONE" is received the listing is done.
51 The remote file name is split into two parts separated by the last
52 comma (","). The first part is the actual path, while the second is a decimal
60 After this the actual file is sent in chunks. Each chunk has the following
63 follows chunk size number of bytes. This is repeated until the file is
66 When the file is transferred a sync request "DONE" is sent, where length is set
[all …]
DSERVICES.TXT11 Ask the ADB server to quit immediately. This is used when the
12 ADB client detects that an obsolete server is running after an
19 After the OKAY, this is followed by a 4-byte hex len,
20 and a string that will be dumped as-is by the client, then
21 the connection is closed
24 This is a variant of host:devices which doesn't close the
25 connection. Instead, a new device list description is sent
26 each time a device is added/removed or the state of a given
32 This is a special query that is sent to the ADB server when a
33 new emulator starts up. <port> is a decimal number corresponding
[all …]
DOVERVIEW.TXT5 The Android Debug Bridge (ADB) is used to:
18 This is a background process that runs on the host machine. Its purpose
19 is to sense the USB ports to know when devices are attached/removed,
26 The ADB server is really one giant multiplexing loop whose purpose is
34 or emulated system. Its purpose is to connect to the ADB server
38 The ADB server considers that a device is ONLINE when it has successfully
39 connected to the adbd program within it. Otherwise, the device is OFFLINE,
48 The 'adb' command-line program is used to run adb commands from a shell
50 and will start one automatically if none is found.
54 Currently, a single 'adb' binary is used for both the server and client.
[all …]
DREADME.md5 This document is here to boost what can be achieved within a "window of naive interest". You will n…
9is the Server which runs on the Host computer. On one side the Server exposes a "Smart Socket" to …
29 …sections specific to the Host is enclosed within `ADB_HOST` guard. adbd runs on the Android Device…
34is a simple TCP socket with a smart protocol built on top of it. This is what Clients connect onto…
36 …via a Transport. adb initially targeted devices connecting over USB, which is restricted to a fixe…
40 At the heart of both the Server and Daemon is a main thread running an fdevent loop, which is an pl…
62 … documentation in [protocol.txt](protocol.txt). There is no `A_READ` command because an asocket is
64 …ere the elemental unit is an apacket. Is traffic is inbound, the buffer stores apacket until they …
86 … that unlike TCP which feature an "unacknowledged-send window", an apacket is sent only after the …
92 This pipeline is detailed in [services.cpp](services.cpp). The JDWP extension implemented by Dalvik…
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java53 InputStream is = newStream(); in getImageBounds() local
54 if (is != null) { in getImageBounds()
57 BitmapFactory.decodeStream(is, null, options); in getImageBounds()
58 Utils.closeSilently(is); in getImageBounds()
105 InputStream is = null; in readCroppedBitmap() local
108 is = newStreamNotNull(); in readCroppedBitmap()
109 decoder = BitmapRegionDecoder.newInstance(is, false); in readCroppedBitmap()
113 Utils.closeSilently(is); in readCroppedBitmap()
114 is = null; in readCroppedBitmap()
130 is = newStream(); in readCroppedBitmap()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodingstest.cpp316 StringStream is(encodedStr); in TEST() local
318 bool result = UTF8<>::Decode(is, &decodedCodepoint); in TEST()
327 StringStream is(encodedStr); in TEST() local
329 bool result = UTF8<>::Validate(is, os2); in TEST()
376 GenericStringStream<UTF16<> > is(encodedStr); in TEST() local
378 bool result = UTF16<>::Decode(is, &decodedCodepoint); in TEST()
387 GenericStringStream<UTF16<> > is(encodedStr); in TEST() local
389 bool result = UTF16<>::Validate(is, os2); in TEST()
407 GenericStringStream<UTF32<> > is(encodedStr); in TEST() local
409 bool result = UTF32<>::Decode(is, &decodedCodepoint); in TEST()
[all …]
/packages/apps/Launcher3/protos/
Dlauncher_atom.proto11 * distributed under the License is distributed on an "AS IS" BASIS,
114 // Folder's label is one of the non-empty suggested values.
117 // Folder's label is non-empty, manually entered by the user
121 // Folder's label is not yet assigned( i.e., title == null).
125 // Folder's label is empty(i.e., title == "").
190 // Populated when folder label is not a PII.
209 …optional int32 page_index = 1 [default = -2]; // range [-1, l], 0 is the index of the main homescr…
239 // Used when a FromState is not applicable, for example, during folder creation.
243 // Eg: When a folder label is updated from empty string.
247 // Eg: When a folder label is updated from a user-entered value.
[all …]

12345678910>>...40