Searched refs:tokens (Results 1 - 25 of 135) sorted by relevance

123456

/macosx-10.10.1/JavaScriptCore-7600.1.17/offlineasm/
H A Dparser.rb117 # The lexer. Takes a string and returns an array of tokens.
216 # The parser. Takes an array of tokens and returns an AST. Methods
217 # other than parse(tokens) are not for public consumption.
222 @tokens = lex(data, fileName)
228 if @tokens[@idx]
229 @tokens[@idx].parseError(*comment)
241 parseError unless @tokens[@idx] =~ regexp
243 parseError unless @idx == @tokens.length
249 while @tokens[@idx] == "\n"
255 if @tokens[
[all...]
/macosx-10.10.1/Libc-1044.1.2/sys/
H A DOSThermalNotification.c56 static int tokens[kOSThermalMitigationCount]; variable
65 (void)notify_register_check(kOSThermalMitigationNames[behavior], &tokens[behavior]);
67 (void)notify_get_state(tokens[behavior], &val);
77 (void)notify_register_check(kOSThermalMitigationNames[behavior], &tokens[behavior]);
79 (void)notify_set_state(tokens[behavior], val);
87 (void)notify_register_check(kOSThermalMitigationNames[kOSThermalMitigationThermalTableReady], &tokens[kOSThermalMitigationThermalTableReady]);
89 (void)notify_set_state(tokens[kOSThermalMitigationThermalTableReady], kOSThermalMitigationCount);
104 (void)notify_register_check(kOSThermalMitigationNames[kOSThermalMitigationThermalTableReady], &tokens[kOSThermalMitigationThermalTableReady]);
106 (void)notify_get_state(tokens[kOSThermalMitigationThermalTableReady], &tableReady);
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/json/
H A Djson.tcl21 # tokens consisting of a single character
25 # quoted string tokens
35 # number tokens
72 set tokens [regexp -all -inline -- $tokenRE $jsonText]
73 set nrTokens [llength $tokens]
75 return [parseValue $tokens $nrTokens tokenCursor]
93 # @param tokens list of tokens
94 # @param nrTokens length of $tokens
96 # holding current position in $tokens
[all...]
/macosx-10.10.1/Libc-1044.1.2/stdlib/FreeBSD/
H A Dgetsubopt.c48 getsubopt(optionp, tokens, valuep)
50 char * const *tokens;
93 for (cnt = 0; *tokens; ++tokens, ++cnt)
94 if (!strcmp(suboptarg, *tokens))
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/parser/
H A Druby_tools.rb23 if @tokens.empty? then
29 tk = @tokens.shift
64 # Reads and returns all tokens up to one of +tokens+. Leaves the matched
67 def get_tk_until(*tokens)
74 when *tokens then
86 # Retrieves a String representation of the read tokens
121 @tokens = []
127 # Skips whitespace tokens including newlines if +skip_nl+ is true
130 tokens
[all...]
/macosx-10.10.1/ruby-106/ruby/test/rdoc/
H A Dtest_rdoc_ruby_lex.rb19 tokens = RDoc::RubyLex.tokenize "def x() end", nil
32 assert_equal expected, tokens
36 tokens = RDoc::RubyLex.tokenize '__END__', nil
43 assert_equal expected, tokens
47 tokens = RDoc::RubyLex.tokenize "?\\", nil
54 assert_equal expected, tokens
58 tokens = RDoc::RubyLex.tokenize <<-'RUBY', nil
80 assert_equal expected, tokens
84 tokens = RDoc::RubyLex.tokenize '{ class:"foo" }', nil
97 assert_equal expected, tokens
[all...]
H A Dtest_rdoc_token_stream.rb6 tokens = [
34 assert_equal expected, RDoc::TokenStream.to_html(tokens)
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/lib/
H A Dgetsubopt.c54 LIBSASL_API int getsubopt(char **optionp, char * const *tokens, char **valuep);
65 getsubopt(optionp, tokens, valuep)
67 char * const *tokens;
110 for (cnt = 0; *tokens; ++tokens, ++cnt)
111 if (!strcmp(suboptarg, *tokens))
/macosx-10.10.1/Libinfo-459/lookup.subproj/
H A Dfile_module.c157 char **tokens; local
161 tokens = NULL;
169 tokens = _fsi_append_string(data, tokens);
171 return tokens;
220 tokens = _fsi_append_string(data + start, tokens);
228 tokens = _fsi_append_string(data + p, tokens);
232 return tokens;
589 char **tokens; local
621 char **tokens; local
774 char **tokens; local
893 char **tokens, **members; local
987 char **tokens, **members; local
1089 char **tokens, **members; local
1182 char **tokens; local
1291 char **tokens, **h_aliases, *null_alias; local
1455 char **tokens, **s_aliases, *xproto; local
1584 char **tokens, **aliases; local
1719 char **tokens, *tmp, **opts, *fstype; local
[all...]
/macosx-10.10.1/system_cmds-643.1.1/chkpasswd.tproj/
H A Dfile_passwd.c64 char **tokens; local
82 tokens = explode(line, ':');
83 len = listLength(tokens);
87 freeList(tokens);
92 pw.pw_name = tokens[i++];
93 pw.pw_passwd = tokens[i++];
94 pw.pw_uid = atoi(tokens[i]);
95 free(tokens[i++]);
96 pw.pw_gid = atoi(tokens[i]);
97 free(tokens[
[all...]
/macosx-10.10.1/system_cmds-643.1.1/passwd.tproj/
H A Dfile_passwd.c51 char *tokens[_PASSWD_FIELDS]; local
65 memset(&tokens, 0, sizeof(char *) * _PASSWD_FIELDS);
79 tokens[j++] = strdup("");
82 tokens[j++] = strndup(token, &line[i] - token);
90 pw.pw_name = tokens[j++];
91 pw.pw_passwd = tokens[j++];
92 pw.pw_uid = atoi(tokens[j]);
93 free(tokens[j++]);
94 pw.pw_gid = atoi(tokens[j]);
95 free(tokens[
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/ripper/lib/ripper/
H A Dlexer.rb117 def match_list(tokens)
118 if m = @re.match(map_tokens(tokens))
119 then MatchData.new(tokens, m)
150 def map_tokens(tokens)
151 tokens.map {|pos,type,str| map_token(type.to_s.sub(/\Aon_/,'')) }.join
166 def initialize(tokens, match)
167 @tokens = tokens
180 @tokens[@match.begin(n)...@match.end(n)].map {|pos,type,str| str }
/macosx-10.10.1/xnu-2782.1.97/osfmk/vm/
H A Dvm_purgeable.c50 struct token *tokens; variable in typeref:struct:token
116 if (tokens[token].count != 0) {
122 page_cnt += tokens[token].count;
124 if (tokens[token].next == 0)
128 token = tokens[token].next;
162 if (token_free_idx) { /* unused tokens available */
164 token_free_idx = tokens[token_free_idx].next;
197 (vm_offset_t) tokens,
219 struct token *old_tokens=tokens;
220 tokens
[all...]
/macosx-10.10.1/libxslt-13/libxslt/libxslt/
H A Dnumbers.c56 xsltFormatToken tokens[MAX_TOKENS]; member in struct:_xsltFormat
319 xsltFormatPtr tokens)
331 tokens->start = NULL;
332 tokens->tokens[0].separator = NULL;
333 tokens->end = NULL;
346 tokens->start = xmlStrndup(format, ix);
349 for (tokens->nTokens = 0; tokens->nTokens < MAX_TOKENS;
350 tokens
318 xsltNumberFormatTokenize(const xmlChar *format, xsltFormatPtr tokens) argument
424 xsltNumberFormatInsertNumbers(xsltNumberDataPtr data, double *numbers, int numbers_max, xsltFormatPtr tokens, xmlBufferPtr buffer) argument
719 xsltFormat tokens; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/
H A DTokenStreamRewriteEngine.cpp50 , tokens()
59 , tokens(initialSize)
68 // suck tokens until end of stream or we find a non-discarded token
75 tokens.push_back(t); // track all tokens except EOF
104 token_list::const_iterator s = tokens.begin();
116 if( tokens.size() == 0 )
131 // make sure we don't run out of the tokens we have...
132 if( lastToken > (tokens.size() - 1) )
133 lastToken = tokens
[all...]
/macosx-10.10.1/emacs-93/emacs/lisp/
H A Dtar-mode.el181 (defmacro make-tar-desc (data-start tokens)
182 (list 'cons data-start tokens))
185 (defmacro tar-desc-tokens (x) (list 'cdr x))
391 (let* ((tokens (tar-desc-tokens descriptor))
392 (name (tar-header-name tokens))
396 (end (+ start (tar-header-size tokens))))
403 (set-file-modes name (tar-header-mode tokens))))))
418 tokens)
421 (setq tokens
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/
H A Dtom_doc.rb45 attr_reader :tokens
176 until @tokens.empty? do
193 # Internal: Turns text into an Array of tokens
211 @tokens << case
218 @tokens << [:HEADER, 3, *token_pos(pos)]
H A Dtoken_stream.rb2 # A TokenStream is a list of tokens, gathered during the parse of some entity
4 # lexer. Any class can collect tokens by including TokenStream. From the
11 # Converts +token_stream+ to HTML wrapping various tokens with
12 # <tt><span></tt> elements. The following tokens types are wrapped in spans
56 # Adds +tokens+ to the collected tokens
58 def add_tokens(*tokens)
59 tokens.flatten.each { |token| @token_stream << token }
65 # Starts collecting tokens
74 # Remove the last token from the collected tokens
[all...]
/macosx-10.10.1/ntp-92/ntpdate/
H A Dntptime_config.c30 * Entries are processed as multiple tokens separated by white space
109 #define MAXTOKENS 20 /* 20 tokens on line */
157 char *(tokens[MAXTOKENS]);
224 while ((tok = gettokens(fp, line, tokens, &ntokens))
233 tokens[0]);
237 if (!getnetnum(tokens[1], &peeraddr, 1)) {
260 switch (matchkey(tokens[i], mod_keywords)) {
268 peerversion = atoi(tokens[++i]);
273 tokens[i]);
286 /* peerkey = (int)atol(tokens[
[all...]
/macosx-10.10.1/emacs-93/emacs/lisp/net/
H A Dnetrc.el47 (let ((tokens '("machine" "default" "login"
56 ;; For each line, get the tokens and values.
76 ((member elem tokens)
99 If PORT specified, only return entries with matching port tokens.
100 Entries without port tokens default to DEFAULTPORT."
/macosx-10.10.1/libauto-186/auto_tester/
H A Dcompaction.m92 char *tokens = line, *token;
93 while ((token = strsep(&tokens, " ")) != NULL) {
95 token = strsep(&tokens, " ");
99 while ((token = strsep(&tokens, " ")) != NULL) {
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/markup/
H A Dparser.rb6 # The parser tokenizes an input string then parses the tokens into a Document.
51 attr_reader :tokens
71 parser.tokens
88 @tokens = []
118 until @tokens.empty? do
217 until @tokens.empty? do
255 until @tokens.empty? do
341 @current_token = @tokens.shift
347 # Parses the tokens into an array of RDoc::Markup::XXX objects,
358 until @tokens
[all...]
/macosx-10.10.1/cups-408/cups/cgi-bin/
H A Dmakedocset.c17 * makedocset directory *.tokens
79 cups_file_t *tokens, /* Tokens.xml file */ local
85 puts("Usage: makedocset directory revision *.tokens");
119 if ((tokens = cupsFileOpen(path, "w")) == NULL)
126 cupsFilePuts(tokens, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
127 cupsFilePuts(tokens, "<Tokens version=\"1.0\">\n");
148 cupsFilePrintf(tokens, "%s\n", line);
154 cupsFilePuts(tokens, "</Tokens>\n");
156 cupsFileClose(tokens);
/macosx-10.10.1/CPANInternal-159.1/Template-Toolkit-2.25/lib/Template/
H A DParser.pm272 my ($tokens, $block);
288 $tokens = $self->split_text($text)
294 $block = $self->_parse($tokens, $info);
327 my @tokens = ();
330 return \@tokens ## RETURN ##
405 push(@tokens, $interp
428 # [ $dirtext, $line_no(s), \@tokens ]
429 push(@tokens,
444 push(@tokens, $interp
449 return \@tokens; ## RETUR
[all...]
/macosx-10.10.1/Heimdal-398.1.2/cf/
H A Dsymbol-version.py36 tokens = [ 'SYMBOL' ] variable

Completed in 229 milliseconds

123456