| /external/rust/crates/libz-sys/src/zlib-ng/test/ |
| D | abicheck.sh | 2 set -ex 7 Usage: $0 [--zlib-compat][--refresh][--refresh-if] 9 Build shared library with -ggdb, then compare its ABI to the stable 10 ABI, and abort if differences found. 13 --zlib-compat - check the ABI of the zlib-compatible flavor of zlib-ng. 14 --refresh - build the reference library and extract its ABI rather than using a stored ABI fil… 15 --refresh-if - refresh only if ABI file not present. 19 Requires libabigail (on Ubuntu, install package abigail-tools). 23 # Print the multiarch tuple for the current (non-cross) machine, 24 # or the empty string if unavailable. [all …]
|
| /external/python/google-auth-library-python/google/oauth2/ |
| D | credentials.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 This module provides credentials based on OAuth 2.0 access and refresh tokens. 22 `Authorization Code grant`_ and can refresh those tokens using a 23 optional `refresh token`_. 25 Obtaining the initial access and refresh token is outside of the scope of this 29 .. _Authorization Code grant: https://tools.ietf.org/html/rfc6749#section-1.3.1 30 .. _refresh token: https://tools.ietf.org/html/rfc6749#section-6 31 .. _rfc6749 section 4.1: https://tools.ietf.org/html/rfc6749#section-4.1 52 """Credentials using OAuth 2.0 access and refresh tokens. 54 The credentials are considered immutable. If you want to modify the [all …]
|
| D | _client.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 23 .. _Section 3.1 of rfc6749: https://tools.ietf.org/html/rfc6749#section-3.2 37 _URLENCODED_CONTENT_TYPE = "application/x-www-form-urlencoded" 39 _JWT_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:jwt-bearer" 56 # If no details could be extracted, use the response data. 67 response_data (Mapping): The JSON-parsed response data. 70 Optional[datetime]: The expiration or ``None`` if no expiration was 75 if expires_in is not None: 98 Tuple(bool, Mapping[str, str]): A boolean indicating if the request is 99 successful, and a mapping for the JSON-decoded response data. [all …]
|
| D | _credentials_async.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 This module provides credentials based on OAuth 2.0 access and refresh tokens. 22 `Authorization Code grant`_ and can refresh those tokens using a 23 optional `refresh token`_. 25 Obtaining the initial access and refresh token is outside of the scope of this 29 .. _Authorization Code grant: https://tools.ietf.org/html/rfc6749#section-1.3.1 30 .. _refresh token: https://tools.ietf.org/html/rfc6749#section-6 31 .. _rfc6749 section 4.1: https://tools.ietf.org/html/rfc6749#section-4.1 42 """Credentials using OAuth 2.0 access and refresh tokens. 44 The credentials are considered immutable. If you want to modify the [all …]
|
| D | _reauth_async.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 23 This module provides a high-level function for executing the Reauth process, 24 :func:`refresh_grant`, and lower-level helpers for doing the individual 63 if requested_scopes: 78 """Attempt to refresh access token by sending next challenge result. 85 client_input: dict with a challenge-specific client input. For example: 124 google.auth.exceptions.ReauthError: if reauth failed. 127 if challenge["status"] != "READY": 128 # Skip non-activated challenges. 131 if not c: [all …]
|
| D | reauth.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 23 This module provides a high-level function for executing the Reauth process, 24 :func:`refresh_grant`, and lower-level helpers for doing the individual 62 """Check if we are in an interractive environment. 64 Override this function with a different logic if you are using this library 67 If the rapt token needs refreshing, the user needs to answer the challenges. 68 If the user is not in an interractive environment, the challenges can not 72 bool: True if is interactive environment, False otherwise. 95 if requested_scopes: 106 """Attempt to refresh access token by sending next challenge result. [all …]
|
| /external/libaom/av1/encoder/ |
| D | aq_cyclicrefresh.h | 5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License 7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open 23 // The segment ids used in cyclic refresh: from base (no boost) to increasing 24 // boost (higher delta-qp). 29 // Maximum rate target ratio for setting segment delta-qp. 39 * for cyclic refresh. 44 * Active adjustment delta for cyclic refresh for rate control. 49 * Maximum q-delta as percentage of base q. 57 *Superblock index cyclic refresh index last frame 67 * Target number of (4x4) blocks that are set for delta-q. [all …]
|
| D | aq_cyclicrefresh.c | 5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License 7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open 26 if (cr == NULL) return NULL; in av1_cyclic_refresh_alloc() 28 cr->map = aom_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in av1_cyclic_refresh_alloc() 29 cr->counter_encode_maxq_scene_change = 0; in av1_cyclic_refresh_alloc() 30 cr->percent_refresh_adjustment = 5; in av1_cyclic_refresh_alloc() 31 cr->rate_ratio_qdelta_adjustment = 0.25; in av1_cyclic_refresh_alloc() 32 if (cr->map == NULL) { in av1_cyclic_refresh_alloc() 40 if (cr != NULL) { in av1_cyclic_refresh_free() 41 aom_free(cr->map); in av1_cyclic_refresh_free() [all …]
|
| /external/libaom/examples/ |
| D | svc_encoder_rtc.cc | 4 * Use of this source code is governed by a BSD-style license 11 // This is an example demonstrating how to implement a multi-layer AOM 25 #if CONFIG_AV1_DECODER 72 "b", "target-bitrate", 1, "Encoding bitrate, in kilobits per second"); 74 ARG_DEF("sl", "spatial-layers", 1, "Number of spatial SVC layers"); 76 ARG_DEF("tl", "temporal-layers", 1, "Number of temporal SVC layers"); 78 ARG_DEF("lm", "layering-mode", 1, "Temporal layering scheme."); 80 ARG_DEF("k", "kf-dist", 1, "Number of frames between keyframes"); 82 ARG_DEF("r", "scale-factors", 1, "Scale factors (lowest to highest layer)"); 84 ARG_DEF(NULL, "min-q", 1, "Minimum quantizer"); [all …]
|
| /external/libvpx/vp9/encoder/ |
| D | vp9_aq_cyclicrefresh.c | 4 * Use of this source code is governed by a BSD-style license 35 if (cr == NULL) return NULL; in vp9_cyclic_refresh_alloc() 37 cr->map = vpx_calloc(mi_rows * mi_cols, sizeof(*cr->map)); in vp9_cyclic_refresh_alloc() 38 if (cr->map == NULL) { in vp9_cyclic_refresh_alloc() 42 last_coded_q_map_size = mi_rows * mi_cols * sizeof(*cr->last_coded_q_map); in vp9_cyclic_refresh_alloc() 43 cr->last_coded_q_map = vpx_malloc(last_coded_q_map_size); in vp9_cyclic_refresh_alloc() 44 if (cr->last_coded_q_map == NULL) { in vp9_cyclic_refresh_alloc() 49 memset(cr->last_coded_q_map, MAXQ, last_coded_q_map_size); in vp9_cyclic_refresh_alloc() 50 cr->counter_encode_maxq_scene_change = 0; in vp9_cyclic_refresh_alloc() 51 cr->content_mode = 1; in vp9_cyclic_refresh_alloc() [all …]
|
| /external/python/cpython2/Demo/curses/ |
| D | life.py | 2 # life.py -- A curses-based version of Conway's Game of Life. 16 # Use colour if available 31 display(update_board) -- If update_board is true, compute the 33 of the board and refresh the screen. 34 erase() -- clear the entire board 35 makeRandom() -- fill the board randomly 36 set(y,x) -- set the given cell to Live; doesn't refresh the screen 37 toggle(y,x) -- change the given cell from live to dead, or vice 38 versa, and refresh the screen display 44 scr -- curses screen object to use for display [all …]
|
| D | xmas.py | 6 # I'm dreaming of an ascii character-based monochrome Christmas, 12 # I'm dreaming of an ascii character-based monochrome Christmas, 32 if curses.has_colors(): 39 if curses.has_colors(): 44 if stdscr.getch() != -1: 128 treescrn.refresh() 129 w_del_msg.refresh() 155 treescrn2.refresh() 156 w_del_msg.refresh() 167 treescrn2.refresh() [all …]
|
| /external/python/python-api-core/google/api_core/ |
| D | operation.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """Futures for long-running operations returned from Google Cloud APIs. 18 long-running operation using :meth:`Operation.result`: 21 .. code-block:: python 28 .. code-block:: python 51 """A Future for interacting with a Google API Long-Running Operation. 56 refresh (Callable[[], ~.api_core.operation.Operation]): A callable that 73 refresh, argument 81 self._refresh = refresh 91 """google.longrunning.Operation: The current long-running operation.""" [all …]
|
| /external/python/google-auth-library-python/tests/ |
| D | test_impersonated_credentials.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 98 SERVICE_ACCOUNT_EMAIL = "service-account@example.com" 108 "https://us-east1-iamcredentials.googleapis.com/v1/projects/-" 151 response.data = _helpers.to_bytes(data) if use_data_bytes else data 176 credentials.refresh(request) 201 credentials.refresh(request) 209 @pytest.mark.parametrize("time_skew", [100, -100]) 213 # Source credentials is refreshed only if it is expired within 215 # source credentials is refreshed only if time_skew <= 0. 224 "google.oauth2.service_account.Credentials.refresh", autospec=True [all …]
|
| /external/aws-sdk-java-v2/core/imds/src/main/java/software/amazon/awssdk/imds/internal/ |
| D | AsyncTokenCache.java | 28 …* A call to the {@link AsyncTokenCache#get()} method returns an already completed future if the ca… 29 …* If the cached token was expired, the returned future will be completed once the refresh process … 32 * will be completed once the single refresh process completes. 47 * The asynchronous operation that is used to refresh the token. 55 …* The collection of future that are waiting for the refresh call to complete. If a call to {@link … 63 * Indicates if the token refresh request is currently running or not. 76 if (!needsRefresh(currentValue)) { in get() 77 log.debug(() -> "IMDS Token is not expired"); in get() 83 if (!needsRefresh(currentValue)) { in get() 88 if (!refreshRunning.get()) { in get() [all …]
|
| /external/python/cpython3/Tools/demo/ |
| D | life.py | 4 A curses-based version of Conway's Game of Life. 30 display(update_board) -- If update_board is true, compute the 32 of the board and refresh the screen. 33 erase() -- clear the entire board 34 make_random() -- fill the board randomly 35 set(y,x) -- set the given cell to Live; doesn't refresh the screen 36 toggle(y,x) -- change the given cell from live to dead, or vice 37 versa, and refresh the screen display 43 scr -- curses screen object to use for display 44 char -- character used to render live cells (default: '*') [all …]
|
| /external/wayland-protocols/freedesktop.org/stable/presentation-time/ |
| D | presentation-time.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 <!-- wrap:70 --> 6 Copyright © 2013-2014 Collabora, Ltd. 31 <!-- Introduction --> 44 <!-- Completing presentation --> 77 object, which will deliver the feedback information once. If 103 POSIX.1-2001. 107 32-bit value. Whole seconds are in tv_sec which is a 64-bit 150 the synchronized output. If a client has not bound to the 169 flag. If presentation is done by a copy to the active [all …]
|
| /external/libcups/cgi-bin/ |
| D | classes.c | 4 * Copyright 2007-2016 by Apple Inc. 5 * Copyright 1997-2006 by Easy Software Products. 14 #include "cgi-private.h" 28 * 'main()' - Main entry for CGI. 31 int /* O - Exit status */ 40 const char *op; /* Operation to perform, if any */ in main() 43 "printer-name", in main() 44 "printer-uri-supported" in main() 64 * See if we are displaying a printer or all classes... in main() 67 if ((pclass = getenv("PATH_INFO")) != NULL) in main() [all …]
|
| D | printers.c | 4 * Copyright 2007-2016 by Apple Inc. 5 * Copyright 1997-2006 by Easy Software Products. 14 #include "cgi-private.h" 29 * 'main()' - Main entry for CGI. 32 int /* O - Exit status */ 41 const char *op; /* Operation to perform, if any */ in main() 44 "printer-name", in main() 45 "printer-uri-supported" in main() 65 * See if we are displaying a printer or all printers... in main() 68 if ((printer = getenv("PATH_INFO")) != NULL) in main() [all …]
|
| /external/python/python-api-core/tests/asyncio/ |
| D | test_operation_async.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 41 if metadata is not None: 44 if response is not None: 47 if error is not None: 54 if client_operations_responses is None: 57 refresh = mock.AsyncMock(spec=["__call__"], side_effect=client_operations_responses) 58 refresh.responses = client_operations_responses 62 refresh, 68 return operation_future, refresh, cancel 73 future, refresh, _ = make_operation_future() [all …]
|
| /external/aws-sdk-java-v2/utils/src/main/java/software/amazon/awssdk/utils/cache/ |
| D | CachedSupplier.java | 39 …* pre-fetching behaviors for updating values as they get close to expiring so that not all threads… 52 …* Maximum time to wait for a blocking refresh lock before calling refresh again. This is to rate l… 53 …* refresh. In the ideal case, refresh always occurs in a timely fashion and only one thread actual… 66 …* The strategy we should use for pre-fetching the cached data when the {@link RefreshResult#prefet… 102 * The "expensive" to call supplier that is used to refresh the {@link #cachedValue}. 107 * Random instance used for jittering refresh results. 133 if (cacheIsStale()) { in get() 134 … log.debug(() -> "(" + cachedValueName + ") Cached value is stale and will be refreshed."); in get() 136 } else if (shouldInitiateCachePrefetch()) { in get() 137 …log.debug(() -> "(" + cachedValueName + ") Cached value has reached prefetch time and will be refr… in get() [all …]
|
| /external/autotest/client/site_tests/platform_InputBrowserNav/ |
| D | platform_InputBrowserNav.py | 3 # Use of this source code is governed by a BSD-style license that can be 18 """Tests if device suspends using shortcut keys.""" 55 """Use keyboard shortcut to test Refresh (F3) key. 59 @raises error.TestFail if refresh unsuccessful. 62 # Set JS variable to initial true value to confirm refresh worked. 63 # We are expecting this variable not to exist after the refresh. 77 # If it does, the refresh was not successful. 80 raise error.TestFail("Refresh unsuccesful.") 82 logging.info("Refresh successful.") 90 @raises: error.TestFail if incorrect url. [all …]
|
| /external/google-auth-library-java/oauth2_http/java/com/google/auth/oauth2/ |
| D | OAuth2Credentials.java | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 85 // Until we expose this to the users it can remain transient and non-serializable 114 if (accessToken != null) { in OAuth2Credentials() 143 * <p>If not set, you should call {@link #refresh()} to fetch and cache an access token. 149 if (localState != null) { in getAccessToken() 155 /** Returns the credentials' refresh margin. */ 187 * Request a new token regardless of the current token state. If the current token is not expired, 188 * it will still be returned during the refresh. 191 public void refresh() throws IOException { in refresh() method in OAuth2Credentials 198 * Refresh these credentials only if they have expired or are expiring imminently. [all …]
|
| /external/accompanist/swiperefresh/src/main/java/com/google/accompanist/swiperefresh/ |
| D | SwipeRefresh.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 141 private val onRefresh: () -> Unit, 150 // If swiping isn't enabled, return zero in onPreScroll() 151 !enabled -> Offset.Zero in onPreScroll() 152 // If we're refreshing, return zero in onPreScroll() 153 state.isRefreshing -> Offset.Zero in onPreScroll() 154 // If the user is swiping up, handle it in onPreScroll() 155 source == NestedScrollSource.Drag && available.y < 0 -> onScroll(available) in onPreScroll() 156 else -> Offset.Zero in onPreScroll() 164 // If swiping isn't enabled, return zero in onPostScroll() [all …]
|
| /external/python/cpython2/Demo/tkinter/guido/ |
| D | AttrDialog.py | 6 # -- changes during Widget's lifetime 9 # -- depends on widget class only 12 # -- totally static, though different between PackDialog and WidgetDialog 34 def refresh(self): member in Option 35 self.dialog.refresh() 102 self.refresh() 108 def refresh(self): pass # Must override member in Dialog 123 if type(cl) == TupleType: 149 def refresh(self): member in PackDialog 154 class packoption: # Mix-in class [all …]
|