Home
last modified time | relevance | path

Searched +full:data +full:- +full:uri +full:- +full:to +full:- +full:buffer (Results 1 – 25 of 1111) sorted by relevance

12345678910>>...45

/aosp_15_r20/frameworks/base/nfc/java/android/nfc/
H A DNdefRecord.java8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
22 import android.net.Uri;
39 * NDEF (NFC Data Exchange Format) is a light-weight binary format,
40 * used to encapsulate typed data. It is specified by the NFC Forum,
44 * typed data, such as MIME-type media, a URI, or a custom
49 * used to represent chunked (partial) NDEF Records. However
50 * {@link NdefMessage#NdefMessage(byte[])} can be used to parse a message
54 * A logical NDEF Record always contains a 3-bit TNF (Type Name Field)
59 * <li><em>id</em>: identifier meta-data, not commonly used</li>
[all …]
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/common/
H A Dadvertising_data.cc7 // https://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
17 #include <cpp-string/string_printf.h>
68 size_t EncodedServiceDataSize(const UUID& uuid, const BufferView data) { in EncodedServiceDataSize() argument
69 return uuid.CompactSize() + data.size(); in EncodedServiceDataSize()
72 // clang-format off
73 // https://www.bluetooth.com/specifications/assigned-numbers/uri-scheme-name-string-mapping
75 "coap:", "coaps:", "crid:", "data:", "dav:", "dict:", "dns:", "file:", "ftp:", "geo:",
83 "xcon-userid:", "xmlrpc.beep:", "xmlrpc.beeps:", "xmpp:", "z39.50r:", "z39.50s:", "acr:",
85 "bitcoin:", "bolo:", "callto:", "chrome:", "chrome-extension:", "com-eventbrite-attendee:",
[all …]
/aosp_15_r20/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
25 #include <android-base/stringprintf.h>
56 /** UTF-8 equivalent of the interned string. */
94 return (size == 0) ? NULL : array[--size]; in pop()
106 * Data passed to parser handler method by the parser.
110 : env(NULL), object(object), buffer(NULL), bufferSize(-1) { in ParsingContext()
127 env->DeleteGlobalRef(current->interned); in ~ParsingContext()
145 jcharArray javaBuffer = env->NewCharArray(length); in ensureCapacity()
149 javaBuffer = reinterpret_cast<jcharArray>(env->NewGlobalRef(javaBuffer)); in ensureCapacity()
[all …]
/aosp_15_r20/external/cronet/third_party/libxml/src/
H A DxmlIO.c41 #include <libxml/uri.h>
142 void *data = NULL; in __xmlIOErr() local
306 data = xmlStructuredErrorContext; in __xmlIOErr()
309 data = xmlGenericErrorContext; in __xmlIOErr()
313 fmt = "Attempt to load network entity %s"; in __xmlIOErr()
320 res = __xmlRaiseError(schannel, channel, data, NULL, NULL, in __xmlIOErr()
355 * @u8String: uft-8 string
357 * Convert a string from utf-8 to wchar (WINDOWS ONLY!)
368 -1, NULL, 0); in __xmlIOWin32UTF8ToWChar()
373 (CP_UTF8, 0, u8String, -1, wString, wLen) == 0) { in __xmlIOWin32UTF8ToWChar()
[all …]
/aosp_15_r20/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
19 #include <android-base/macros.h>
47 #define FLOGV(fmt, ...) ALOGV("[fetcher-%d] " fmt, mFetcherID, ##__VA_ARGS__)
48 #define FSLOGV(stream, fmt, ...) ALOGV("[fetcher-%d] [%s] " fmt, mFetcherID, \
64 AString &uri,
66 sp<ABuffer> &buffer,
71 AString &uri,
73 sp<ABuffer> &buffer,
108 AString &uri, in restoreState() argument
[all …]
/aosp_15_r20/external/libcups/cups/
H A Dhttp-support.c4 * Copyright 2007-2019 by Apple Inc.
5 * Copyright 1997-2007 by Easy Software Products, all rights reserved.
15 #include "cups-private.h"
16 #include "debug-internal.h"
27 # include <avahi-client/client.h>
28 # include <avahi-client/lookup.h>
29 # include <avahi-common/simple-watch.h>
37 typedef struct _http_uribuf_s /* URI buffer */
42 char *buffer; /* Pointer to buffer */ member
43 size_t bufsize; /* Size of buffer */
[all …]
H A Ddest.c2 * User-defined destination (and option) support for CUPS.
4 * Copyright © 2007-2019 by Apple Inc.
5 * Copyright © 1997-2007 by Easy Software Products.
15 #include "cups-private.h"
16 #include "debug-internal.h"
32 # include <avahi-client/client.h>
33 # include <avahi-client/lookup.h>
34 # include <avahi-common/simple-watch.h>
35 # include <avahi-common/domain.h>
36 # include <avahi-common/error.h>
[all …]
H A Dhttp.c4 * Copyright © 2007-2021 by Apple Inc.
5 * Copyright © 1997-2007 by Easy Software Products, all rights reserved.
18 #include "cups-private.h"
19 #include "debug-internal.h"
52 static void http_debug_hex(const char *prefix, const char *buffer,
55 static ssize_t http_read(http_t *http, char *buffer, size_t length);
56 static ssize_t http_read_buffered(http_t *http, char *buffer, size_t length);
57 static ssize_t http_read_chunk(http_t *http, char *buffer, size_t length);
59 const char *uri);
60 static ssize_t http_write(http_t *http, const char *buffer,
[all …]
H A Dtestclient.c4 * Copyright © 2017-2019 by Apple Inc.
19 #include <cups/string-private.h>
20 #include <cups/thread-private.h>
36 const char *uri, /* Printer URI */ member
48 /* Current printer-state-reasons */
52 /* Current job-state-reasons */
70 static void *monitor_printer(_client_data_t *data);
71 static void *run_client(_client_data_t *data);
78 * 'main()' - Main entry.
81 int /* O - Exit status */
[all …]
H A Dhttp.h2 * Hyper-Text Transport Protocol definitions for CUPS.
4 * Copyright © 2007-2018 by Apple Inc.
5 * Copyright © 1997-2007 by Easy Software Products, all rights reserved.
26 /* Windows does not support the ssize_t type, so map it to off_t... */
66 * implementations expose the (more logical) 32-bit address parts
67 * to everyone, while others only expose it to kernel code... To
73 * support IPv6 - the "s6_addr32" define maps to the 32-bit integer
85 * Windows only defines byte and 16-bit word members of the union and
97 # define HTTP_MAX_URI 1024 /* Max length of URI string */
99 # define HTTP_MAX_BUFFER 2048 /* Max length of data buffer */
[all …]
/aosp_15_r20/external/libxml2/
H A DxmlIO.c37 #include <libxml/uri.h>
52 #define SIZE_MAX ((size_t) -1)
121 * Convert errno to xmlParserErrors.
299 * @u8String: uft-8 string
301 * Convert a string from utf-8 to wchar (WINDOWS ONLY!)
312 -1, NULL, 0); in __xmlIOWin32UTF8ToWChar()
317 (CP_UTF8, 0, u8String, -1, wString, wLen) == 0) { in __xmlIOWin32UTF8ToWChar()
324 * Convert to backward slash in __xmlIOWin32UTF8ToWChar()
354 * @path: the path to check
411 xmlConvertUriToPath(const char *uri, char **out) { in xmlConvertUriToPath() argument
[all …]
/aosp_15_r20/external/python/mako/mako/
Druntime.py2 # Copyright 2006-2020 the Mako authors and contributors <see AUTHORS file>
5 # the MIT License: http://www.opensource.org/licenses/mit-license.php
21 """Provides runtime namespace, output buffer, and various
29 def __init__(self, buffer, **data): argument
30 self._buffer_stack = [buffer]
32 self._data = data
34 self._kwargs = data.copy()
39 # "capture" function which proxies to the
51 "Reserved words passed to render(): %s"
68 This dictionary only includes the top-level arguments passed to
[all …]
/aosp_15_r20/external/libcups/backend/
H A Dusb-libusb.c4 * Copyright 2007-2020 by Apple Inc.
15 #include <cups/cups-private.h>
16 #include <cups/ppd-private.h>
28 * the printer after we've finished sending all the data
41 typedef struct usb_printer_s /**** USB Printer Data ****/
50 protocol, /* Protocol: 1 = Uni-di, 2 = Bi-di. */
52 reset_after_job;/* Set to 1 by print_device() */
54 struct libusb_device_handle *handle; /* Open handle to device */
73 int print_fd; /* File descriptor to print */
89 * The quirks table used to be compiled into the backend but is now loaded from
[all …]
/aosp_15_r20/external/federated-compute/fcp/client/http/
H A Din_memory_request_response.cc8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
61 return absl::InternalError("Failed to unpack metadata!"); in TryGetResourceFromCache()
103 static constexpr char kOctetStream[] = "application/octet-stream";
107 absl::string_view uri, Method method, HeaderList extra_headers, in Create() argument
109 // Allow http://localhost:xxxx as an exception to the https-only policy, in Create()
111 if (!absl::StartsWithIgnoreCase(uri, kHttpsScheme) && in Create()
112 !absl::StartsWithIgnoreCase(uri, kLocalhostUri)) { in Create()
114 absl::StrCat("Non-HTTPS URIs are not supported: ", uri)); in Create()
124 "Content-Length header should not be provided!"); in Create()
[all …]
/aosp_15_r20/frameworks/base/core/java/android/database/
H A DCursor.java8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
24 import android.net.Uri;
34 * This interface provides random read-write access to the result set returned
37 * Cursor implementations are not required to be synchronized so code using a Cursor from multiple
84 * The value is zero-based. When the row set is first returned the cursor
85 * will be at positon -1, which is before the first row. After the
86 * last row is returned another call to next() will leave the cursor past
91 @IntRange(from = -1) int getPosition(); in getPosition()
97 * set then the resultant position will be pinned to -1 or count() depending
[all …]
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v33/arm64/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v34/arm64/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v34/x86/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v31/arm/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v34/arm/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v32/x86/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v30/arm64/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]
/aosp_15_r20/prebuilts/vndk/v34/x86_64/include/external/libevent/include/event2/
Dhttp.h2 * Copyright (c) 2000-2007 Niels Provos <[email protected]>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
13 * 3. The name of the author may not be used to endorse or promote products
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
50 * need to write HTTP code. The following prototypes and definitions provide
58 #define HTTP_MOVEPERM 301 /**< the uri moved permanently */
59 #define HTTP_MOVETEMP 302 /**< the uri moved temporarily */
62 #define HTTP_NOTFOUND 404 /**< could not find content for uri */
[all …]

12345678910>>...45