Home
last modified time | relevance | path

Searched refs:new_token (Results 1 – 18 of 18) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-trees.rb163 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 …]
Dtest-streams.rb264 @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/
Dtokenutil.py241 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 …]
Derror_fixer.py236 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-trace/trace-viewer/third_party/closure_linter/closure_linter/
Dtokenutil.py241 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 …]
Derror_fixer.py236 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/
Drestricted_token.cc89 HANDLE new_token = NULL; in GetRestrictedTokenHandle() local
103 &new_token); in GetRestrictedTokenHandle()
110 &new_token); in GetRestrictedTokenHandle()
126 if (!AddSidToDefaultDacl(new_token, WinRestrictedCodeSid, GENERIC_ALL)) in GetRestrictedTokenHandle()
129 if (!AddUserSidToDefaultDacl(new_token, GENERIC_ALL)) in GetRestrictedTokenHandle()
132 DWORD error = SetTokenIntegrityLevel(new_token, integrity_level_); in GetRestrictedTokenHandle()
137 new_token, in GetRestrictedTokenHandle()
144 if (new_token != effective_token_) in GetRestrictedTokenHandle()
145 ::CloseHandle(new_token); in GetRestrictedTokenHandle()
/external/chromium/chrome/common/net/gaia/
Dgaia_auth_consumer.cc14 const std::string& new_token, in ClientLoginResult() argument
18 token(new_token), in ClientLoginResult()
Dgaia_auth_consumer.h21 const std::string& new_token,
/external/chromium_org/google_apis/gaia/
Dgaia_auth_consumer.cc14 const std::string& new_token, in ClientLoginResult() argument
18 token(new_token), in ClientLoginResult()
Dgaia_auth_consumer.h28 const std::string& new_token,
/external/chromium/chrome/browser/sync/engine/
Dsyncer_proto_util.cc160 std::string new_token = http_response.update_client_auth_header; in PostAndProcessHeaders() local
161 if (!new_token.empty()) { in PostAndProcessHeaders()
163 event.updated_token = new_token; in PostAndProcessHeaders()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_auth_test.cc264 std::string new_token = GetClient(0)->service()->GetAccessTokenForTest(); in IN_PROC_BROWSER_TEST_F() local
265 ASSERT_NE(old_token, new_token); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DOAuth.php514 $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/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
DOAuth.php514 $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/third_party/mesa/src/src/glsl/glcpp/
Dglcpp-parse.y838 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/mesa3d/src/glsl/glcpp/
Dglcpp-parse.y838 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/
Dglcpp-parse.c3305 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()