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

1234567891011>>

/macosx-10.10/WebCore-7600.1.25/html/parser/
H A DHTMLMetaCharsetParser.cpp58 size_t pos = 0; local
61 while (pos < length) {
62 pos = value.find(charsetString, pos, false);
63 if (pos == notFound)
66 pos += charsetLength;
69 while (pos < length && value[pos] <= ' ')
70 ++pos;
72 if (value[pos] !
[all...]
/macosx-10.10/ICU-531.30/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.10/rsync-45/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.10/ksh-23/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.10/dtrace-147/test/tst/common/aggs/
H A Dtst.aggpackbanner.ksh20 banner $3 | awk -v line=$1 -v pos=$2 -v width=$width '{ \
25 line, NR, i + (pos * width));
32 let pos=0;
47 let pos=0
51 outputchar $line $pos $c
52 let pos=pos+1
/macosx-10.10/ksh-23/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.10/tcl-105/tcl_ext/tdom/tdom/generic/
H A Ddomhtml.h3 int *pos, char **errStr );
/macosx-10.10/tcl-105/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...]
/macosx-10.10/WebCore-7600.1.25/loader/
H A DFTPDirectoryParser.cpp98 unsigned int pos = 0; local
99 while (pos < linelen && numtoks < WTF_ARRAY_LENGTH(tokens))
101 while (pos < linelen &&
102 (line[pos] == ' ' || line[pos] == '\t' || line[pos] == '\r'))
103 pos++;
104 if (pos < linelen)
106 tokens[numtoks] = &line[pos];
107 while (pos < linele
[all...]
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dutf8collationiterator.cpp34 pos = newOffset;
39 return pos;
44 if(pos == length) {
49 c = u8[pos++];
55 if(c < 0xe0 && pos != length && (t1 = (u8[pos] - 0x80)) <= 0x3f) {
59 ++pos;
62 ((pos + 1) < length || length < 0) &&
63 (t1 = (u8[pos] - 0x80)) <= 0x3f && (c != 0xe0 || t1 >= 0x20) &&
64 (t2 = (u8[pos
[all...]
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...]
H A Dutf16collationiterator.cpp32 pos(newText + (other.pos - other.start)),
43 return (pos - start) == (o.pos - o.start);
49 pos = start + newOffset;
54 return (int32_t)(pos - start);
59 if(pos == limit) {
63 c = *pos++;
69 if(pos == limit) { return 0; }
71 if(U16_IS_TRAIL(trail = *pos)) {
[all...]
/macosx-10.10/zsh-61/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.10/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.10/WebCore-7600.1.25/editing/
H A DMoveSelectionCommand.cpp48 Position pos = m_position; local
49 if (pos.isNull())
54 if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Position::PositionIsOffsetInAnchor
55 && selectionEnd.containerNode() == pos.containerNode() && selectionEnd.offsetInContainerNode() < pos.offsetInContainerNode()) {
56 pos.moveToOffset(pos.offsetInContainerNode() - selectionEnd.offsetInContainerNode());
59 if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode())
60 pos.moveToOffset(pos
[all...]
/macosx-10.10/less-25/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.10/libstdcxx-104.1/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.10/libstdcxx-104.1/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.10/WebInspectorUI-7600.1.17/UserInterface/External/CodeMirror/
H A Dsearchcursor.js15 function SearchCursor(doc, query, pos, caseFold) {
19 pos = pos ? doc.clipPos(pos) : Pos(0, 0);
20 this.pos = {from: pos, to: pos};
28 this.matches = function(reverse, pos) {
31 var line = doc.getLine(pos.line).slice(0, pos
[all...]
/macosx-10.10/ruby-106/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...]

Completed in 270 milliseconds

1234567891011>>