/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
D | test-trees.rb | 163 r0 = new_node new_token(101) 164 r1 = new_node new_token(102) 166 r1.add_child(new_node new_token(103)) 167 r2 = new_node new_token(106) 168 r2.add_child new_node( new_token 107 ) 170 r0.add_child new_node( new_token 104 ) 171 r0.add_child new_node( new_token 105 ) 189 r0 = new_node new_token(101) 190 r1 = new_node new_token(102) 192 r1.add_child new_node( new_token 103 ) [all …]
|
D | test-streams.rb | 264 @source2.tokens << new_token( 10, :channel => ANTLR3::HIDDEN ) << new_token( 11 ) 284 @source.tokens << new_token(12) 292 @source.tokens << new_token(12, :channel => ANTLR3::HIDDEN_CHANNEL) << 293 new_token(13) 300 @source.tokens << new_token(12) << 301 new_token(13, :channel => ANTLR3::HIDDEN_CHANNEL) 309 @source.tokens << new_token(12) << new_token(13) 318 @source.tokens << new_token(12) << new_token(13) 328 @source.tokens << new_token(12) << new_token(13) 335 @source.tokens << new_token(10) << [all …]
|
/external/chromium_org/third_party/closure_linter/closure_linter/ |
D | tokenutil.py | 249 def InsertTokenBefore(new_token, token): argument 256 new_token.next = token 257 new_token.previous = token.previous 259 new_token.metadata = copy.copy(token.metadata) 261 if new_token.IsCode(): 266 following_token.metadata.last_code = new_token 269 token.previous = new_token 270 if new_token.previous: 271 new_token.previous.next = new_token 273 if new_token.start_index is None: [all …]
|
D | tokenutil_test.py | 164 new_token = javascripttokens.JavaScriptToken( 182 tokenutil.InsertTokenAfter(new_token, existing_token1) 184 tokenutil.InsertTokenBefore(new_token, existing_token2) 186 self.assertEquals(existing_token1, new_token.previous) 187 self.assertEquals(existing_token2, new_token.next) 189 self.assertEquals(new_token, existing_token1.next) 190 self.assertEquals(new_token, existing_token2.previous) 192 self.assertEquals(existing_token1, new_token.metadata.last_code) 193 self.assertEquals(new_token, existing_token2.metadata.last_code) 196 self.assertEquals(3, new_token.start_index)
|
D | error_fixer.py | 252 new_token = Token('{', Type.DOC_START_BRACE, start_token.line, 254 tokenutil.InsertTokenAfter(new_token, start_token.previous) 255 token.attached_object.type_start_token = new_token 256 fixed_tokens.append(new_token) 280 new_token = Token('}', Type.DOC_END_BRACE, last_type.line, 282 tokenutil.InsertTokenAfter(new_token, last_type) 283 token.attached_object.type_end_token = new_token 284 fixed_tokens.append(new_token) 335 new_token = Token(' ' * expected, Type.WHITESPACE, 340 tokenutil.InsertTokenAfter(new_token, token.previous)
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
D | tokenutil.py | 241 def InsertTokenAfter(new_token, token): argument 248 new_token.previous = token 249 new_token.next = token.next 251 new_token.metadata = copy.copy(token.metadata) 254 new_token.metadata.last_code = token 256 if new_token.IsCode(): 259 following_token.metadata.last_code = new_token 262 token.next = new_token 263 if new_token.next: 264 new_token.next.previous = new_token [all …]
|
D | error_fixer.py | 236 new_token = Token('{', Type.DOC_START_BRACE, start_token.line, 238 tokenutil.InsertTokenAfter(new_token, start_token.previous) 239 token.attached_object.type_start_token = new_token 240 fixed_tokens.append(new_token) 264 new_token = Token('}', Type.DOC_END_BRACE, last_type.line, 266 tokenutil.InsertTokenAfter(new_token, last_type) 267 token.attached_object.type_end_token = new_token 268 fixed_tokens.append(new_token) 313 new_token = Token(' ' * expected, Type.WHITESPACE, 318 tokenutil.InsertTokenAfter(new_token, token.previous)
|
/external/chromium_org/sandbox/win/src/ |
D | restricted_token.cc | 88 HANDLE new_token = NULL; in GetRestrictedTokenHandle() local 102 &new_token); in GetRestrictedTokenHandle() 109 &new_token); in GetRestrictedTokenHandle() 125 if (!AddSidToDefaultDacl(new_token, WinRestrictedCodeSid, GENERIC_ALL)) in GetRestrictedTokenHandle() 128 if (!AddUserSidToDefaultDacl(new_token, GENERIC_ALL)) in GetRestrictedTokenHandle() 131 DWORD error = SetTokenIntegrityLevel(new_token, integrity_level_); in GetRestrictedTokenHandle() 136 new_token, in GetRestrictedTokenHandle() 143 if (new_token != effective_token_) in GetRestrictedTokenHandle() 144 ::CloseHandle(new_token); in GetRestrictedTokenHandle()
|
/external/chromium_org/google_apis/gaia/ |
D | gaia_auth_consumer.cc | 14 const std::string& new_token, in ClientLoginResult() argument 18 token(new_token), in ClientLoginResult()
|
D | gaia_auth_consumer.h | 28 const std::string& new_token,
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/ |
D | OAuth.php | 514 $new_token = $this->data_store->new_request_token($consumer, $callback); 516 return $new_token; 535 $new_token = $this->data_store->new_access_token($token, $consumer, $verifier); 537 return $new_token;
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | sync_auth_test.cc | 305 std::string new_token = GetSyncService((0))->GetAccessTokenForTest(); in IN_PROC_BROWSER_TEST_F() local 306 ASSERT_NE(old_token, new_token); in IN_PROC_BROWSER_TEST_F()
|
/external/mesa3d/src/glsl/glcpp/ |
D | glcpp-parse.y | 838 token_t *new_token = ralloc (copy, token_t); in _token_list_copy() local 839 *new_token = *node->token; in _token_list_copy() 840 _token_list_append (copy, new_token); in _token_list_copy() 1466 token_t *new_token; in _glcpp_parser_expand_function() local 1468 new_token = _token_create_ival (substituted, in _glcpp_parser_expand_function() 1471 _token_list_append (substituted, new_token); in _glcpp_parser_expand_function()
|
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/ |
D | glcpp-parse.y | 838 token_t *new_token = ralloc (copy, token_t); in _token_list_copy() local 839 *new_token = *node->token; in _token_list_copy() 840 _token_list_append (copy, new_token); in _token_list_copy() 1466 token_t *new_token; in _glcpp_parser_expand_function() local 1468 new_token = _token_create_ival (substituted, in _glcpp_parser_expand_function() 1471 _token_list_append (substituted, new_token); in _glcpp_parser_expand_function()
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
D | glcpp-parse.c | 3305 token_t *new_token = ralloc (copy, token_t); in _token_list_copy() local 3306 *new_token = *node->token; in _token_list_copy() 3307 _token_list_append (copy, new_token); in _token_list_copy() 3933 token_t *new_token; in _glcpp_parser_expand_function() local 3935 new_token = _token_create_ival (substituted, in _glcpp_parser_expand_function() 3938 _token_list_append (substituted, new_token); in _glcpp_parser_expand_function()
|