/macosx-10.10/JavaScriptCore-7600.1.17/offlineasm/ |
H A D | parser.rb | 117 # 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/WebCore-7600.1.25/loader/ |
H A D | FTPDirectoryParser.cpp | 82 const char *tokens[16]; /* 16 is more than enough */ local 83 unsigned int toklen[WTF_ARRAY_LENGTH(tokens)]; 93 tokens[0] = state.carryBuffer; 99 while (pos < linelen && numtoks < WTF_ARRAY_LENGTH(tokens)) 106 tokens[numtoks] = &line[pos]; 110 if (tokens[numtoks] != &line[pos]) 112 toklen[numtoks] = (&line[pos] - tokens[numtoks]); 121 linelen_sans_wsp = &(tokens[numtoks-1][toklen[numtoks-1]]) - tokens[0]; 122 if (numtoks == WTF_ARRAY_LENGTH(tokens)) [all...] |
/macosx-10.10/Libc-1044.1.2/sys/ |
H A D | OSThermalNotification.c | 56 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/tcl-105/tcl_ext/tcllib/tcllib/modules/json/ |
H A D | json.tcl | 21 # 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/Libc-1044.1.2/stdlib/FreeBSD/ |
H A D | getsubopt.c | 48 getsubopt(optionp, tokens, valuep) 50 char * const *tokens; 93 for (cnt = 0; *tokens; ++tokens, ++cnt) 94 if (!strcmp(suboptarg, *tokens))
|
/macosx-10.10/WebCore-7600.1.25/html/ |
H A D | DOMTokenList.cpp | 52 bool DOMTokenList::validateTokens(const Vector<String>& tokens, ExceptionCode& ec) argument 54 for (size_t i = 0; i < tokens.size(); ++i) { 55 if (!validateToken(tokens[i], ec)) 71 Vector<String> tokens; local 72 tokens.append(token.string()); 73 add(tokens, ec); 76 void DOMTokenList::add(const Vector<String>& tokens, ExceptionCode& ec) argument 79 for (size_t i = 0; i < tokens.size(); ++i) { 80 if (!validateToken(tokens[i], ec)) 82 if (!containsInternal(tokens[ 94 Vector<String> tokens; local 99 remove(const Vector<String>& tokens, ExceptionCode& ec) argument 161 Vector<String> tokens; local 166 addTokens(const AtomicString& input, const Vector<String>& tokens) argument 188 Vector<String> tokens; local 193 removeTokens(const AtomicString& input, const Vector<String>& tokens) argument [all...] |
H A D | DOMTokenList.idl | 32 [RaisesException] void add(DOMString... tokens); 33 [RaisesException] void remove(DOMString... tokens);
|
/macosx-10.10/ruby-106/ruby/lib/rdoc/parser/ |
H A D | ruby_tools.rb | 23 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/ruby-106/ruby/test/rdoc/ |
H A D | test_rdoc_ruby_lex.rb | 19 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 D | test_rdoc_token_stream.rb | 6 tokens = [ 34 assert_equal expected, RDoc::TokenStream.to_html(tokens)
|
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/lib/ |
H A D | getsubopt.c | 54 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/Libinfo-459/lookup.subproj/ |
H A D | file_module.c | 157 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/system_cmds-643.1.1/chkpasswd.tproj/ |
H A D | file_passwd.c | 64 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/system_cmds-643.1.1/passwd.tproj/ |
H A D | file_passwd.c | 51 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/ruby-106/ruby/ext/ripper/lib/ripper/ |
H A D | lexer.rb | 117 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/xnu-2782.1.97/osfmk/vm/ |
H A D | vm_purgeable.c | 50 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/libxslt-13/libxslt/libxslt/ |
H A D | numbers.c | 56 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/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/ |
H A D | TokenStreamRewriteEngine.cpp | 50 , 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/emacs-93/emacs/lisp/ |
H A D | tar-mode.el | 181 (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/ruby-106/ruby/lib/rdoc/ |
H A D | tom_doc.rb | 45 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 D | token_stream.rb | 2 # 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/ntp-92/ntpdate/ |
H A D | ntptime_config.c | 30 * 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/WebCore-7600.1.25/css/ |
H A D | CSSCalculationValue.cpp | 556 static ParseState checkDepthAndIndex(int* depth, unsigned index, CSSParserValueList* tokens) argument 561 if (index >= tokens->size()) 568 PassRefPtr<CSSCalcExpressionNode> parseCalc(CSSParserValueList* tokens) argument 572 bool ok = parseValueExpression(tokens, 0, &index, &result); 573 ASSERT_WITH_SECURITY_IMPLICATION(index <= tokens->size()); 574 if (!ok || index != tokens->size()) 584 char operatorValue(CSSParserValueList* tokens, unsigned index) argument 586 if (index >= tokens->size()) 588 CSSParserValue* value = tokens->valueAt(index); 595 bool parseValue(CSSParserValueList* tokens, unsigne argument 612 parseValueTerm(CSSParserValueList* tokens, int depth, unsigned* index, Value* result) argument 631 parseValueMultiplicativeExpression(CSSParserValueList* tokens, int depth, unsigned* index, Value* result) argument 658 parseAdditiveValueExpression(CSSParserValueList* tokens, int depth, unsigned* index, Value* result) argument 685 parseValueExpression(CSSParserValueList* tokens, int depth, unsigned* index, Value* result) argument [all...] |
/macosx-10.10/emacs-93/emacs/lisp/net/ |
H A D | netrc.el | 47 (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/libauto-186/auto_tester/ |
H A D | compaction.m | 92 char *tokens = line, *token; 93 while ((token = strsep(&tokens, " ")) != NULL) { 95 token = strsep(&tokens, " "); 99 while ((token = strsep(&tokens, " ")) != NULL) {
|