| /third_party/googletest/googlemock/scripts/generator/cpp/ |
| D | keywords.py | 10 # http://www.apache.org/licenses/LICENSE-2.0 21 # Python 3.x 24 # Python 2.x 35 ACCESS = set('public protected private friend'.split()) variable 46 ALL = TYPES | TYPE_MODIFIERS | ACCESS | CASTS | OTHERS | OTHER_TYPES | CONTROL | EXCEPTION | LOOP 49 def IsKeyword(token): argument 50 return token in ALL 52 def IsBuiltinType(token): argument 53 if token in ('virtual', 'inline'): 56 return token in TYPES or token in TYPE_MODIFIERS
|
| /third_party/protobuf/third_party/googletest/googlemock/scripts/generator/cpp/ |
| D | keywords.py | 10 # http://www.apache.org/licenses/LICENSE-2.0 24 # Python 3.x 27 # Python 2.x 38 ACCESS = set('public protected private friend'.split()) variable 49 ALL = TYPES | TYPE_MODIFIERS | ACCESS | CASTS | OTHERS | OTHER_TYPES | CONTROL | EXCEPTION | LOOP 52 def IsKeyword(token): argument 53 return token in ALL 55 def IsBuiltinType(token): argument 56 if token in ('virtual', 'inline'): 59 return token in TYPES or token in TYPE_MODIFIERS
|
| /third_party/gn/src/gn/ |
| D | string_utils.cc | 2 // Use of this source code is governed by a BSD-style license that can be 15 #include "gn/token.h" 22 // token has quotes around it that are not counted by the offset. 23 Err ErrInsideStringToken(const Token& token, in ErrInsideStringToken() argument 28 // The "+1" is skipping over the " at the beginning of the token. in ErrInsideStringToken() 30 Location begin_loc(token.location().file(), token.location().line_number(), in ErrInsideStringToken() 31 token.location().column_number() + int_offset + 1); in ErrInsideStringToken() 32 Location end_loc(token.location().file(), token.location().line_number(), in ErrInsideStringToken() 33 token.location().column_number() + int_offset + 1 + in ErrInsideStringToken() 41 // treating it as a first-class {...} block. So even things like this work: [all …]
|
| /third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
| D | parser_impl.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 127 bool is_decoration(Token t) { in is_decoration() 141 // https://gpuweb.github.io/gpuweb/wgsl.html#reserved-keywords 142 bool is_reserved(Token t) { in is_reserved() 152 /// Enter-exit counters for block token types. 161 /// @return the current enter-exit depth for the given block token type. If 162 /// `t` is not a block token type, then 0 is always returned. 163 int consume(const Token& t) { in consume() 164 if (t.Is(Token::Type::kAttrLeft)) in consume() 166 if (t.Is(Token::Type::kAttrRight)) in consume() [all …]
|
| /third_party/python/Lib/lib2to3/fixes/ |
| D | fix_tuple_params.py | 6 -> 8 def func(x, d): 9 ((a, b), c) = x 14 lambda (x, y): x + y -> lambda t: t[0] + t[1] 17 lambda (x): x + y -> lambda x: x + y 23 from ..pgen2 import token 29 stmt.children[0].type == token.STRING 38 ['->' any] ':' suite=any+ > 53 # This crap is so "def foo(...): x = 5; y = 7" is handled correctly. 54 # TODO(cwinter): suite-cleanup [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/ |
| D | BPFAsmParser.cpp | 1 //===-- BPFAsmParser.cpp - Parse BPF assembly to MCInst instructions --===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 77 /// BPFOperand - Instances of this class represent a parsed machine 82 Token, enumerator 117 case Token: in BPFOperand() 123 bool isToken() const override { return Kind == Token; } in isToken() 134 return static_cast<const MCConstantExpr *>(Val)->getValue(); in getConstantImm() 141 /// getStartLoc - Gets location of the first token of this operand 143 /// getEndLoc - Gets location of the last token of this operand [all …]
|
| /third_party/json/tests/src/ |
| D | unit-json_pointer.cpp | 6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> 7 // SPDX-License-Identifier: MIT 15 using namespace nlohmann::literals; // NOLINT(google-build-using-namespace) 26 …or.107] parse error at byte 1: JSON pointer must be empty or begin with '/' - was: 'foo'", json::p… 45 … "[json.exception.out_of_range.404] unresolved reference token '10e'", json::out_of_range&); 51 SECTION("nonconst access") 74 // array access 85 CHECK(!j.contains(json::json_pointer("/foo/-"))); 87 // checked array access 91 // empty string access [all …]
|
| /third_party/json/include/nlohmann/detail/ |
| D | json_pointer.hpp | 6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> 7 // SPDX-License-Identifier: MIT 37 // allow basic_json to access private members 106 /// @brief append an unescaped reference token at the end of this JSON pointer 108 json_pointer& operator/=(string_t token) in operator /=() argument 110 push_back(std::move(token)); in operator /=() 129 …/// @brief create a new JSON pointer by appending the unescaped token at the end of the JSON point… 131 …_pointer operator/(const json_pointer& lhs, string_t token) // NOLINT(performance-unnecessary-valu… in operator /() argument 133 return json_pointer(lhs) /= std::move(token); in operator /() 136 …/// @brief create a new JSON pointer by appending the array-index-token at the end of the JSON poi… [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | parserUnparsedTokenCrash2.errors.txt | 2 tests/cases/compiler/parserUnparsedTokenCrash2.ts(1,12): error TS2304: Cannot find name 'x'. 3 …ash2.ts(1,16): error TS2364: The left-hand side of an assignment expression must be a variable or … 12 export = } x = ( y = z ==== 'function') { 16 !!! error TS2304: Cannot find name 'x'. 18 !!! error TS2364: The left-hand side of an assignment expression must be a variable or a property a… 30 …r/parserUnparsedTokenCrash2.ts:1:41: The parser expected to find a '}' to match the '{' token here.
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
| D | NV_command_list.txt | 61 - A state object, which stores a pre-validated representation of the 64 - A more flexible and extensible MultiDrawIndirect (MDI) type of mechanism, using 65 a token-based command stream, allowing to setup binding state and emit draw calls. 67 - A set of functions to execute a list of the token-based command streams with state object 70 - Command lists enabling compilation and reuse of sequences of command 74 expected that they can be pre-validated and executed efficiently. It is 79 The token-based command stream can also be stored in regular buffer objects 152 Modify Section 7.12.2, Shader Memory Access Synchronization 166 Add a new Section 10.X (Indirect Draw Commands With State Changes) 168 Add a new subsection 10.X.1 (State Objects) [all …]
|
| /third_party/openGLES/extensions/NV/ |
| D | NV_command_list.txt | 61 - A state object, which stores a pre-validated representation of the 64 - A more flexible and extensible MultiDrawIndirect (MDI) type of mechanism, using 65 a token-based command stream, allowing to setup binding state and emit draw calls. 67 - A set of functions to execute a list of the token-based command streams with state object 70 - Command lists enabling compilation and reuse of sequences of command 74 expected that they can be pre-validated and executed efficiently. It is 79 The token-based command stream can also be stored in regular buffer objects 152 Modify Section 7.12.2, Shader Memory Access Synchronization 166 Add a new Section 10.X (Indirect Draw Commands With State Changes) 168 Add a new subsection 10.X.1 (State Objects) [all …]
|
| /third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
| D | EGL_KHR_create_context.txt | 15 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 25 Updated in version 14 to add ES3 context creation bit - see Issue 8 69 (this token is an alias for EGL_CONTEXT_CLIENT_VERSION) 107 "EGL Token Name Client API and Version Supported 108 ---------------------- -------------------------------- 109 EGL_OPENGL_ES3_BIT_KHR OpenGL ES 3.x" 111 Modify the last sentence of section 3.5.2 "Creating Off-Screen 137 ------------------------------------- 151 [fn: the EGL 1.4 token EGL_CONTEXT_CLIENT_VERSION is an alias for 213 ----------------------- [all …]
|
| /third_party/EGL/extensions/KHR/ |
| D | EGL_KHR_create_context.txt | 15 Copyright (c) 2010-2013 The Khronos Group Inc. Copyright terms at 25 Updated in version 14 to add ES3 context creation bit - see Issue 8 69 (this token is an alias for EGL_CONTEXT_CLIENT_VERSION) 107 "EGL Token Name Client API and Version Supported 108 ---------------------- -------------------------------- 109 EGL_OPENGL_ES3_BIT_KHR OpenGL ES 3.x" 111 Modify the last sentence of section 3.5.2 "Creating Off-Screen 137 ------------------------------------- 151 [fn: the EGL 1.4 token EGL_CONTEXT_CLIENT_VERSION is an alias for 213 ----------------------- [all …]
|
| /third_party/libcoap/tests/ |
| D | test_options.c | 3 * Copyright (C) 2012,2015,2022-2023 Olaf Bergmann <bergmann@tzi.org> 5 * SPDX-License-Identifier: BSD-2-Clause 213 CU_FAIL("internal error in test framework -- insufficient memory\n"); in t_parse_option14() 318 sizeof(teststr) - valoff); in t_encode_option7() 462 # define ALIGNED(x) argument 464 # define ALIGNED(x) __attribute__ ((aligned (x))) argument 469 /* CoAP PDU without token, options, or data */ in t_iterate_option1() 476 .token = teststr, in t_iterate_option1() 494 /* CoAP PDU with token but without options and data */ in t_iterate_option2() 502 .token = teststr, in t_iterate_option2() [all …]
|
| /third_party/mesa3d/.gitlab-ci/bare-metal/ |
| D | rootfs-setup.sh | 5 mkdir -p $rootfs_dst/results 8 cp $BM/bm-init.sh $rootfs_dst/init 11 # Make JWT token available as file in the bare-metal storage to enable access 15 cp $CI_COMMON/capture-devcoredump.sh $rootfs_dst/ 16 cp $CI_COMMON/intel-gpu-freq.sh $rootfs_dst/ 18 set +x 21 "$CI_COMMON"/generate-env.sh > $rootfs_dst/set-job-env-vars.sh 22 chmod +x $rootfs_dst/set-job-env-vars.sh 24 cat $rootfs_dst/set-job-env-vars.sh 26 set -x [all …]
|
| /third_party/libwebsockets/lib/roles/http/ |
| D | lextable-strings.h | 1 /* set of parsable strings -- ALL LOWER CASE */ 14 "sec-websocket-draft:", 19 "sec-websocket-extensions:", 20 "sec-websocket-key1:", 21 "sec-websocket-key2:", 22 "sec-websocket-protocol:", 24 "sec-websocket-accept:", 25 "sec-websocket-nonce:", 29 "http2-settings:", 34 "access-control-request-headers:", [all …]
|
| /third_party/mesa3d/src/gallium/auxiliary/nir/ |
| D | tgsi_to_nir.c | 2 * Copyright © 2014-2015 Broadcom 45 #define SWIZ(X, Y, Z, W) (unsigned[4]){ \ argument 46 TGSI_SWIZZLE_##X, \ 61 union tgsi_full_token *token; member 99 #define ttn_swizzle(b, src, x, y, z, w) \ argument 100 nir_swizzle(b, src, SWIZ(x, y, z, w), 4) 184 if (dest->dest.is_ssa) in ttn_src_for_dest() 185 src.src = nir_src_for_ssa(&dest->dest.ssa); in ttn_src_for_dest() 187 assert(!dest->dest.reg.indirect); in ttn_src_for_dest() 188 src.src = nir_src_for_reg(dest->dest.reg.reg); in ttn_src_for_dest() [all …]
|
| /third_party/rust/crates/cxx/.github/workflows/ |
| D | site.yml | 6 - master 8 - book/** 9 - .github/workflows/site.yml 15 runs-on: ubuntu-latest 18 timeout-minutes: 30 20 - uses: actions/checkout@v3 22 - name: Get mdBook 25 export MDBOOK_TARBALL="mdbook-${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz" 27 curl -Lf "${MDBOOK_URL}" | tar -xzC book 28 book/mdbook --version [all …]
|
| /third_party/vk-gl-cts/framework/randomshaders/ |
| D | rsgExpression.cpp | 1 /*------------------------------------------------------------------------- 3 * ---------------------------------------------------- 11 * http://www.apache.org/licenses/LICENSE-2.0 22 *//*--------------------------------------------------------------------*/ 51 if ((m_exprFlags & CONST_EXPR) && (entry->getVariable()->getStorage() != Variable::STORAGE_CONST)) in operator ()() 77 if (entry->getValueRange().getType() != m_valueRange.getType()) in operator ()() 80 if (!entry->getValueRange().intersects(m_valueRange)) in operator ()() 103 entry->getVariable()->getType() == m_valueRange.getType() && in operator ()() 104 entry->getValueRange().intersects(m_valueRange); in operator ()() 124 entry->getVariable()->getType() == m_valueRange.getType() && in operator ()() [all …]
|
| /third_party/rust/crates/bindgen/bindgen/ |
| D | clang.rs | 29 // FIXME(emilio): clang-sys doesn't expose `CXCursor_WarnUnusedResultAttr` (from clang 9). 54 x: CXCursor, field 58 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt() 75 pub fn usr(&self) -> Option<String> { in usr() 76 let s = unsafe { cxstring_into_string(clang_getCursorUSR(self.x)) }; in usr() 85 pub fn is_declaration(&self) -> bool { in is_declaration() 90 pub fn is_anonymous(&self) -> bool { in is_anonymous() 91 unsafe { clang_Cursor_isAnonymous(self.x) != 0 } in is_anonymous() 95 pub fn spelling(&self) -> String { in spelling() 96 unsafe { cxstring_into_string(clang_getCursorSpelling(self.x)) } in spelling() [all …]
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/doc/docbook/ |
| D | wpa_cli.sgml | 1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> 21 <arg>-p <replaceable>path to ctrl sockets</replaceable></arg> 22 <arg>-g <replaceable>path to global ctrl_interface socket</replaceable></arg> 23 <arg>-i <replaceable>ifname</replaceable></arg> 24 <arg>-hvB</arg> 25 <arg>-a <replaceable>action file</replaceable></arg> 26 <arg>-P <replaceable>pid file</replaceable></arg> 27 <arg>-G <replaceable>ping interval</replaceable></arg> 35 <para>wpa_cli is a text-based frontend program for interacting 43 trigger events like reassociation and IEEE 802.1X [all …]
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/doc/docbook/ |
| D | wpa_cli.sgml | 1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> 17 <arg>-p <replaceable>path to ctrl sockets</replaceable></arg> 18 <arg>-g <replaceable>path to global ctrl_interface socket</replaceable></arg> 19 <arg>-i <replaceable>ifname</replaceable></arg> 20 <arg>-hvB</arg> 21 <arg>-a <replaceable>action file</replaceable></arg> 22 <arg>-P <replaceable>pid file</replaceable></arg> 23 <arg>-G <replaceable>ping interval</replaceable></arg> 31 <para>wpa_cli is a text-based frontend program for interacting 39 trigger events like reassociation and IEEE 802.1X [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/ |
| D | LanaiAsmParser.cpp | 1 //===-- LanaiAsmParser.cpp - Parse Lanai assembly to MCInst instructions --===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 41 // Auto-generated by TableGen 76 // Auto-generated instruction matching functions 101 // LanaiOperand - Instances of this class represented a parsed machine 105 TOKEN, enumerator 115 struct Token { struct 136 struct Token Tok; 148 // getStartLoc - Gets location of the first token of this operand [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
| D | VectorUtils.h | 1 //===- llvm/Analysis/VectorUtils.h - Vector utilities -----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 38 // example, it is implied by the `M` token in the 81 /// any target-specific ABI. 132 /// LLVM Internal VFABI ISA token for vector functions. 154 /// \param MangledName -> input string in the format 158 /// Retrieve the `VFParamKind` from a string token. 159 VFParamKind getVFParamKindFromString(const StringRef Token); [all …]
|
| /third_party/rust/crates/cfg-if/.github/workflows/ |
| D | main.yml | 7 runs-on: ubuntu-latest 12 - uses: actions/checkout@master 13 - name: Install Rust Stable 18 rustc -vV 19 - name: Run tests 24 runs-on: ubuntu-latest 26 - uses: actions/checkout@master 27 - name: Install Rust Stable 32 - name: Run rustfmt 33 run: cargo fmt -- --check [all …]
|