Searched refs:pos (Results 1 - 25 of 1683) sorted by relevance

1234567891011>>

/macosx-10.9.5/WebCore-7537.78.1/html/parser/
H A DHTMLMetaCharsetParser.cpp60 size_t pos = 0; local
63 while (pos < length) {
64 pos = value.find(charsetString, pos, false);
65 if (pos == notFound)
68 pos += charsetLength;
71 while (pos < length && value[pos] <= ' ')
72 ++pos;
74 if (value[pos] !
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Dbytestrie.cpp30 BytesTrie::readValue(const uint8_t *pos, int32_t leadByte) { argument
35 value=((leadByte-kMinTwoByteValueLead)<<8)|*pos;
37 value=((leadByte-kMinThreeByteValueLead)<<16)|(pos[0]<<8)|pos[1];
39 value=(pos[0]<<16)|(pos[1]<<8)|pos[2];
41 value=(pos[0]<<24)|(pos[1]<<16)|(pos[
47 jumpByDelta(const uint8_t *pos) argument
68 const uint8_t *pos=pos_; local
79 branchNext(const uint8_t *pos, int32_t length, int32_t inByte) argument
149 nextImpl(const uint8_t *pos, int32_t inByte) argument
[all...]
H A Ducharstrie.cpp31 const UChar *pos=pos_; local
32 if(pos==NULL) {
36 return (remainingMatchLength_<0 && (node=*pos)>=kMinValueLead) ?
60 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { argument
63 length=*pos++;
69 if(uchar<*pos++) {
71 pos=jumpByDelta(pos);
74 pos=skipDelta(pos);
122 nextImpl(const UChar *pos, int32_t uchar) argument
154 const UChar *pos=pos_; local
181 const UChar *pos=pos_; local
283 findUniqueValueFromBranch(const UChar *pos, int32_t length, UBool haveUniqueValue, int32_t &uniqueValue) argument
321 findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue) argument
365 const UChar *pos=pos_; local
397 getNextBranchUChars(const UChar *pos, int32_t length, Appendable &out) argument
[all...]
H A Duchriter.cpp80 && pos == realThat.pos
87 return ustr_hashUCharsN(text, textLength) ^ pos ^ begin ^ end;
97 pos = begin;
98 if(pos < end) {
99 return text[pos];
107 pos = begin;
108 if(pos < end) {
109 return text[pos++];
117 pos
[all...]
H A Dstringpiece.cpp19 StringPiece::StringPiece(const StringPiece& x, int32_t pos) { argument
20 if (pos < 0) {
21 pos = 0;
22 } else if (pos > x.length_) {
23 pos = x.length_;
25 ptr_ = x.ptr_ + pos;
26 length_ = x.length_ - pos;
29 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) { argument
30 if (pos < 0) {
31 pos
[all...]
/macosx-10.9.5/rsync-42/rsync/
H A Dbyteorder.h33 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos])
34 #define PVAL(buf,pos) ((unsigned)CVAL(buf,pos))
35 #define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val))
39 #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8)
40 #define IVAL(buf,pos) (SVA
[all...]
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A Dbreak_lines.h30 int nextBreakablePositionIgnoringNBSP(LazyLineBreakIterator&, int pos);
31 int nextBreakablePosition(LazyLineBreakIterator&, int pos);
33 inline bool isBreakable(LazyLineBreakIterator& lazyBreakIterator, int pos, int& nextBreakable, bool breakNBSP) argument
35 if (pos > nextBreakable) {
37 nextBreakable = nextBreakablePosition(lazyBreakIterator, pos);
39 nextBreakable = nextBreakablePositionIgnoringNBSP(lazyBreakIterator, pos);
41 return pos == nextBreakable;
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/hash/
H A Dhashscan.c35 * Hash_position_t* pos;
37 * pos = hashscan(tab, flags);
38 * while (b = hashnext(&pos)) ...;
39 * hashdone(pos);
43 * return pos for scan on table
49 register Hash_position_t* pos; local
53 if (!(pos = newof(0, Hash_position_t, 1, 0))) return(0);
54 pos->tab = tab->root->last.table = tab;
55 pos->bucket = &empty;
56 pos
87 hashnext(register Hash_position_t* pos) argument
131 hashdone(register Hash_position_t* pos) argument
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/stdio/
H A Dfgetpos.c31 fgetpos(Sfio_t* f, fpos_t* pos) argument
33 STDIO_INT(f, "fgetpos", int, (Sfio_t*, fpos_t*), (f, pos))
35 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1;
41 fgetpos64(Sfio_t* f, fpos64_t* pos) argument
43 STDIO_INT(f, "fgetpos64", int, (Sfio_t*, fpos64_t*), (f, pos))
45 return (pos->_sf_offset = sfseek(f, (Sfoff_t)0, SEEK_CUR)) >= 0 ? 0 : -1;
H A Dfsetpos.c31 fsetpos(Sfio_t* f, const fpos_t* pos) argument
33 STDIO_INT(f, "fsetpos", int, (Sfio_t*, const fpos_t*), (f, pos))
35 return sfseek(f, (Sfoff_t)pos->_sf_offset, SF_PUBLIC) == (Sfoff_t)pos->_sf_offset ? 0 : -1;
41 fsetpos64(Sfio_t* f, const fpos64_t* pos) argument
43 STDIO_INT(f, "fsetpos64", int, (Sfio_t*, const fpos64_t*), (f, pos))
45 return sfseek(f, (Sfoff_t)pos->_sf_offset, SF_PUBLIC) == (Sfoff_t)pos->_sf_offset ? 0 : -1;
/macosx-10.9.5/tcl-102/tcl_ext/tdom/tdom/generic/
H A Ddomhtml.h3 int *pos, char **errStr );
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/page/
H A Dparse_peg.tcl312 set pos [icl_get]
323 isv_nonterminal_leaf ALNUM $pos
324 inc_save ALNUM $pos
326 ier_nonterminal "Expected ALNUM" $pos
343 set pos [icl_get]
350 if {!$ok} {icl_rewind $pos ; return}
357 if {!$ok} {icl_rewind $pos ; return}
364 if {!$ok} {icl_rewind $pos ; return}
371 if {!$ok} {icl_rewind $pos ; return}
378 if {!$ok} {icl_rewind $pos ; retur
[all...]
H A Dparse_lemon.tcl554 set pos [icl_get]
562 inc_save ASSIGN $pos
563 ier_nonterminal ASSIGN $pos
576 set pos [icl_get]
583 if {!$ok} {icl_rewind $pos ; return}
590 if {!$ok} {icl_rewind $pos ; return}
597 if {!$ok} {icl_rewind $pos ; return}
603 if {!$ok} {icl_rewind $pos ; return}
616 set pos [icl_get]
624 inc_save C_COMMENT $pos
[all...]
/macosx-10.9.5/WebCore-7537.78.1/loader/
H A DFTPDirectoryParser.cpp135 unsigned int pos = 0; local
136 while (pos < linelen && numtoks < WTF_ARRAY_LENGTH(tokens))
138 while (pos < linelen &&
139 (line[pos] == ' ' || line[pos] == '\t' || line[pos] == '\r'))
140 pos++;
141 if (pos < linelen)
143 tokens[numtoks] = &line[pos];
144 while (pos < linele
[all...]
/macosx-10.9.5/zsh-60/zsh/Src/Zle/
H A Dzle_word.c155 int pos = zlecs; local
156 INCPOS(pos);
157 if (!ZC_iblank(zleline[pos]))
159 zlecs = pos;
162 int pos = zlecs; local
163 INCPOS(pos);
164 if (ZC_iblank(zleline[pos]))
166 zlecs = pos;
188 int pos; local
190 pos
240 int pos = zlecs; local
247 int pos = zlecs; local
272 int pos = zlecs; local
279 int pos = zlecs; local
320 int pos = zlecs; local
327 int pos = zlecs; local
352 int pos = zlecs; local
359 int pos = zlecs; local
384 int pos = x; local
391 int pos = x; local
414 int pos = x; local
421 int pos = x; local
464 int pos = x; local
471 int pos = x; local
605 int p1, p2, p3, p4, len, x = zlecs, pos; local
[all...]
/macosx-10.9.5/groff-38/groff/src/include/
H A Drefid.h23 int pos; member in class:reference_id
26 reference_id(int fid, int off) : filename_id(fid), pos(off) { }
27 unsigned hash() const { return (filename_id << 4) + pos; }
34 return r1.filename_id == r2.filename_id && r1.pos == r2.pos;
/macosx-10.9.5/WebCore-7537.78.1/editing/
H A DMoveSelectionCommand.cpp44 Position pos = m_position; local
45 if (pos.isNull())
50 if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Position::PositionIsOffsetInAnchor
51 && selectionEnd.containerNode() == pos.containerNode() && selectionEnd.offsetInContainerNode() < pos.offsetInContainerNode()) {
52 pos.moveToOffset(pos.offsetInContainerNode() - selectionEnd.offsetInContainerNode());
55 if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode())
56 pos.moveToOffset(pos
[all...]
/macosx-10.9.5/less-23/less/
H A Djump.c33 POSITION pos; local
49 pos = back_line(end_pos);
50 if (pos == NULL_POSITION)
54 jump_loc(pos, sc_height-1);
67 POSITION pos; local
76 pos = find_pos(linenum);
77 if (pos != NULL_POSITION && ch_seek(pos) == 0)
80 set_attnpos(pos);
81 jump_loc(pos, jump_slin
117 POSITION pos, len; local
[all...]
H A Dforwback.c61 POSITION pos; local
72 pos = position(BOTTOM_PLUS_ONE);
73 if (pos == NULL_POSITION || pos == ch_length())
94 * starting at position pos in the input file.
98 * real line. If nblank > 0, the pos must be NULL_POSITION.
102 forw(n, pos, force, only_last, nblank)
104 POSITION pos;
130 if (top_scroll && n >= sc_height - 1 && pos != ch_length())
139 add_forw_pos(pos);
336 POSITION pos; local
389 POSITION pos; local
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/i18n/
H A Dfpositer.cpp24 pos = -1;
28 : data(NULL), pos(-1) {
32 : UObject(rhs), data(NULL), pos(rhs.pos) {
41 pos = -1;
50 if (pos != rhs.pos) {
85 pos = adopt == NULL ? -1 : 0;
89 if (pos == -1) {
93 fp.setField(data->elementAti(pos
[all...]
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/ext/pb_ds/detail/cc_hash_table_map_/
H A Derase_fn_imps.hpp68 for (size_type pos = 0; pos < m_num_e; ++pos)
70 while (m_entries[pos] != NULL && pred(m_entries[pos]->m_value))
73 entry_pointer p_next_e = m_entries[pos]->m_p_next;
74 erase_entry_pointer(m_entries[pos]);
75 m_entries[pos] = p_next_e;
78 entry_pointer p_e = m_entries[pos];
100 for (size_type pos
[all...]
/macosx-10.9.5/libstdcxx-60/include/c++/4.2.1/ext/pb_ds/detail/gp_hash_table_map_/
H A Diterator_fn_imps.hpp62 size_type pos; local
63 get_start_it_state(p_value, pos);
64 return iterator(p_value, pos, this);
79 size_type pos; local
80 get_start_it_state(p_value, pos);
81 return const_iterator(p_value, pos, this);
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/
H A Dmarkdown.rb176 @pos = 0
187 attr_accessor :result, :pos
190 def current_column(target=pos)
198 def current_line(target=pos)
220 @string[start..@pos-1]
225 if @pos < width
226 "#{@pos} (\"#{@string[0,@pos]}\" @ \"#{@string[@pos,width]}\")"
228 "#{@pos} (\"
[all...]
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/
H A Dfgetpos.c42 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos) argument
47 if ((*pos = ftello(fp)) == (fpos_t)-1)
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/pt/
H A Dpaths.tcl48 set pos [lsearch $mypaths $path]
49 if {$pos < 0} return
50 set mypaths [lreplace $mypaths $pos $pos]

Completed in 235 milliseconds

1234567891011>>