/macosx-10.9.5/CPANInternal-140/XML-XPath/XPath/ |
H A D | Parser.pm | 120 my $tokens = $self->tokenize($path); 123 my $tree = $self->analyze($tokens); 125 if ($self->{_tokpos} < scalar(@$tokens)) { 127 die "Parse of expression $path failed - junk after end of expression: $tokens->[$self->{_tokpos}]"; 142 my @tokens; 150 ( # tokens 173 push @tokens, $token; 189 return \@tokens; 194 my $tokens = shift; 197 return Expr($self, $tokens); [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/offlineasm/ |
H A D | parser.rb | 87 # The lexer. Takes a string and returns an array of tokens. 186 # The parser. Takes an array of tokens and returns an AST. Methods 187 # other than parse(tokens) are not for public consumption. 192 @tokens = lex(data, fileName) 198 if @tokens[@idx] 199 @tokens[@idx].parseError(*comment) 211 parseError unless @tokens[@idx] =~ regexp 213 parseError unless @idx == @tokens.length 219 while @tokens[@idx] == "\n" 225 if @tokens[ [all...] |
/macosx-10.9.5/WebCore-7537.78.1/loader/ |
H A D | FTPDirectoryParser.cpp | 119 const char *tokens[16]; /* 16 is more than enough */ local 120 unsigned int toklen[WTF_ARRAY_LENGTH(tokens)]; 130 tokens[0] = state.carryBuffer; 136 while (pos < linelen && numtoks < WTF_ARRAY_LENGTH(tokens)) 143 tokens[numtoks] = &line[pos]; 147 if (tokens[numtoks] != &line[pos]) 149 toklen[numtoks] = (&line[pos] - tokens[numtoks]); 158 linelen_sans_wsp = &(tokens[numtoks-1][toklen[numtoks-1]]) - tokens[0]; 159 if (numtoks == WTF_ARRAY_LENGTH(tokens)) [all...] |
/macosx-10.9.5/Libc-997.90.3/sys/ |
H A D | OSThermalNotification.c | 52 static int tokens[kOSThermalMitigationCount]; variable 61 (void)notify_register_check(kOSThermalMitigationNames[behavior], &tokens[behavior]); 63 (void)notify_get_state(tokens[behavior], &val); 73 (void)notify_register_check(kOSThermalMitigationNames[behavior], &tokens[behavior]); 75 (void)notify_set_state(tokens[behavior], val); 83 (void)notify_register_check(kOSThermalMitigationNames[kOSThermalMitigationThermalTableReady], &tokens[kOSThermalMitigationThermalTableReady]); 85 (void)notify_set_state(tokens[kOSThermalMitigationThermalTableReady], kOSThermalMitigationCount); 100 (void)notify_register_check(kOSThermalMitigationNames[kOSThermalMitigationThermalTableReady], &tokens[kOSThermalMitigationThermalTableReady]); 102 (void)notify_get_state(tokens[kOSThermalMitigationThermalTableReady], &tableReady);
|
/macosx-10.9.5/WebCore-7537.78.1/html/ |
H A D | DOMSettableTokenList.cpp | 52 void DOMSettableTokenList::add(const Vector<String>& tokens, ExceptionCode& ec) argument 54 DOMTokenList::add(tokens, ec); 56 for (size_t i = 0; i < tokens.size(); ++i) { 58 m_tokens.set(tokens[i], false); 60 m_tokens.add(tokens[i]); 73 void DOMSettableTokenList::remove(const Vector<String>& tokens, ExceptionCode& ec) argument 75 DOMTokenList::remove(tokens, ec); 76 for (size_t i = 0; i < tokens.size(); ++i) 77 m_tokens.remove(tokens[i]);
|
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.9.5/tcl-102/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.9.5/Libc-997.90.3/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.9.5/ruby-104/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.9.5/ruby-104/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.9.5/passwordserver_sasl-170/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.9.5/Libinfo-449.1.3/lookup.subproj/ |
H A D | file_module.c | 156 char **tokens; local 160 tokens = NULL; 168 tokens = _fsi_append_string(data, tokens); 170 return tokens; 219 tokens = _fsi_append_string(data + start, tokens); 227 tokens = _fsi_append_string(data + p, tokens); 231 return tokens; 583 char **tokens; local 615 char **tokens; local 768 char **tokens; local 887 char **tokens, **members; local 981 char **tokens, **members; local 1083 char **tokens, **members; local 1176 char **tokens; local 1285 char **tokens, **h_aliases, *null_alias; local 1449 char **tokens, **s_aliases, *xproto; local 1578 char **tokens, **aliases; local 1713 char **tokens, *tmp, **opts, *fstype; local [all...] |
/macosx-10.9.5/WebCore-7537.78.1/css/ |
H A D | CSSCalculationValue.cpp | 403 static ParseState checkDepthAndIndex(int* depth, unsigned index, CSSParserValueList* tokens) argument 408 if (index >= tokens->size()) 415 PassRefPtr<CSSCalcExpressionNode> parseCalc(CSSParserValueList* tokens) argument 419 bool ok = parseValueExpression(tokens, 0, &index, &result); 420 ASSERT_WITH_SECURITY_IMPLICATION(index <= tokens->size()); 421 if (!ok || index != tokens->size()) 431 char operatorValue(CSSParserValueList* tokens, unsigned index) argument 433 if (index >= tokens->size()) 435 CSSParserValue* value = tokens->valueAt(index); 442 bool parseValue(CSSParserValueList* tokens, unsigne argument 459 parseValueTerm(CSSParserValueList* tokens, int depth, unsigned* index, Value* result) argument 478 parseValueMultiplicativeExpression(CSSParserValueList* tokens, int depth, unsigned* index, Value* result) argument 505 parseAdditiveValueExpression(CSSParserValueList* tokens, int depth, unsigned* index, Value* result) argument 532 parseValueExpression(CSSParserValueList* tokens, int depth, unsigned* index, Value* result) argument [all...] |
/macosx-10.9.5/system_cmds-597.90.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.9.5/system_cmds-597.90.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.9.5/system_cmds-597.90.1/system_cmds-597.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.9.5/system_cmds-597.90.1/system_cmds-597.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.9.5/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_purgeable.c | 41 struct token *tokens; variable in typeref:struct:token 85 if (tokens[token].count != 0) { 91 page_cnt += tokens[token].count; 93 if (tokens[token].next == 0) 97 token = tokens[token].next; 131 if (token_free_idx) { /* unused tokens available */ 133 token_free_idx = tokens[token_free_idx].next; 166 (vm_offset_t) tokens, 188 struct token *old_tokens=tokens; 189 tokens [all...] |
/macosx-10.9.5/ruby-104/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.9.5/CPANInternal-140/Perl-Ldap/lib/Net/LDAP/ |
H A D | Schema.pm | 307 my @tokens; 310 push @tokens, $+ 320 die "Cannot parse [$val] [",substr($val,pos($val)),"]" unless @tokens and pos($val) == length($val); 323 shift @tokens if $tokens[0] eq '('; 324 pop @tokens if $tokens[-1] eq ')'; 327 my $oid = $schema_entry{oid} = shift @tokens; 330 while(@tokens) { 331 my $tag = lc shift @tokens; [all...] |
/macosx-10.9.5/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.9.5/Security-55471.14.18/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.9.5/emacs-92/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...] |