Home
last modified time | relevance | path

Searched full:position (Results 1 – 25 of 2993) sorted by relevance

12345678910>>...120

/freebsd-src/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenSource.h27 // Enables traversal of a token stream, resetting the position in a token
39 // Must not be called directly at the position directly after insertTokens()
52 // Gets the current position in the token stream, to be used by setPosition().
54 // Note that the value of the position is not meaningful, and specifically
59 // Position, and return the token at that position in the stream.
60 virtual FormatToken *setPosition(unsigned Position) = 0;
62 // Insert the given tokens before the current position.
89 : Tokens(Tokens), Position(-1) {} in getNextToken()
92 if (Position > in getNextToken()
178 int Position; global() variable
233 setPosition(unsigned Position) setPosition() argument
[all...]
/freebsd-src/contrib/less/
H A Dposition.c12 * Routines dealing with the "position" table.
13 * This is a table which tells the position (in the input file) of the
16 * {{ The position table is scrolled by moving all the entries.
22 #include "position.h"
24 static POSITION *table = NULL; /* The position table */
31 * Return the starting file position of a line displayed on the screen.
39 public POSITION position(int sindex) in position() function
57 * Add a new file position t
[all...]
H A Dfuncs.h51 public int ch_seek(POSITION pos);
55 public POSITION ch_length(void);
56 public POSITION ch_tell(void);
169 public POSITION filesize(int f);
178 public void forw(int n, POSITION pos, lbool force, lbool only_last, int nblank);
179 public void back(int n, POSITION pos, lbool force, lbool only_last);
206 public POSITION forw_line_seg(POSITION curr_pos, lbool skipeol, lbool rscroll, lbool nochop);
207 public POSITION forw_line(POSITION curr_po
[all...]
H A Djump.c16 #include "position.h"
23 extern POSITION header_start_pos;
30 POSITION pos; in jump_forw()
31 POSITION end_pos; in jump_forw()
39 if (position(sc_height-1) == end_pos) in jump_forw()
46 * because the position table has been cleared by pos_clear below. in jump_forw()
51 * Position the last line in the file at the last screen line. in jump_forw()
62 if (position(sc_height-1) != end_pos) in jump_forw()
72 POSITION end; in jump_forw_buffered()
89 POSITION po in jump_back()
[all...]
H A Dinput.c28 extern POSITION start_attnpos;
29 extern POSITION end_attnpos;
38 * base Position of first char in line.
45 static void init_status_col(POSITION base_pos, POSITION disp_pos, POSITION edisp_pos, POSITION eol_pos)
80 * A "current" position is passed and a "new" position is returned.
81 * The current position i
[all...]
H A Dsearch.c16 #include "position.h"
33 extern POSITION start_attnpos;
34 extern POSITION end_attnpos;
52 static POSITION prep_startpos;
53 static POSITION prep_endpos;
54 public POSITION header_start_pos = NULL_POSITION;
55 static POSITION header_end_pos;
58 public POSITION osc8_linepos = NULL_POSITION;
59 public POSITION osc8_match_start = NULL_POSITION;
60 public POSITION osc8_match_en
[all...]
H A Dforwback.c17 #include "position.h"
40 extern POSITION header_start_pos;
75 POSITION pos; in eof_displayed()
92 pos = position(BOTTOM_PLUS_ONE); in eof_displayed()
101 POSITION pos; in entire_file_displayed()
108 pos = position(0); in entire_file_displayed()
130 static POSITION forw_line_pfx(POSITION pos, int pfx, int skipeol) in forw_line_pfx()
154 if (ln+1 == header_lines && position(0) != header_start_pos) in set_attr_header()
170 POSITION po in overlay_header()
[all...]
H A Dlinenum.c14 * Finding the line number of a given file position is rather tricky.
30 * position in the file. As a side effect, it calls add_lnum
38 * Structure to keep track of a line number and the associated file position.
45 POSITION pos; /* File position */
46 POSITION gap; /* Gap between prev and next */
52 * ("Distance" means difference in file position.) In other words, the
97 anchor.pos = (POSITION)0; in clr_linenum()
119 * The specified position (pos) should be the file position o
[all...]
/freebsd-src/sys/contrib/ck/include/spinlock/
H A Danderson.h43 unsigned int position; member
65 slots[0].position = 0; in ck_spinlock_anderson_init()
68 slots[i].position = i; in ck_spinlock_anderson_init()
93 unsigned int position; in ck_spinlock_anderson_locked() local
96 position = ck_pr_load_uint(&lock->next) & lock->mask; in ck_spinlock_anderson_locked()
97 r = ck_pr_load_uint(&lock->slots[position].locked); in ck_spinlock_anderson_locked()
106 unsigned int position, next; in ck_spinlock_anderson_lock() local
115 position = ck_pr_load_uint(&lock->next); in ck_spinlock_anderson_lock()
118 if (position == UINT_MAX) in ck_spinlock_anderson_lock()
121 next = position + 1; in ck_spinlock_anderson_lock()
[all …]
H A Dticket.h89 CK_SPINLOCK_TICKET_TYPE request, position; in ck_spinlock_ticket_locked() local
92 position = request & CK_SPINLOCK_TICKET_MASK; in ck_spinlock_ticket_locked()
96 return request != position; in ck_spinlock_ticket_locked()
102 CK_SPINLOCK_TICKET_TYPE request, position; in ck_spinlock_ticket_lock() local
108 position = request & CK_SPINLOCK_TICKET_MASK; in ck_spinlock_ticket_lock()
111 while (request != position) { in ck_spinlock_ticket_lock()
113 position = CK_SPINLOCK_TICKET_LOAD(&ticket->value) & in ck_spinlock_ticket_lock()
124 CK_SPINLOCK_TICKET_TYPE request, position; in ck_spinlock_ticket_lock_pb() local
131 position = request & CK_SPINLOCK_TICKET_MASK; in ck_spinlock_ticket_lock_pb()
134 while (request != position) { in ck_spinlock_ticket_lock_pb()
[all …]
/freebsd-src/contrib/unbound/sldns/
H A Dsbuffer.h113 * to the current end of a buffer, read from the current position, and
118 /** The current position used for reading/writing */
186 * is set to the capacity and the position is set to 0.
201 * the buffer. The buffer's limit is set to the current position and
202 * the position is set to 0.
216 * position is reset to 0.
227 * returns the current position in the buffer (as a number of bytes)
229 * \return the current position
238 * sets the buffer's position to MARK. The position must be less than
251 * changes the buffer's position by COUNT bytes. The position must not
[all …]
/freebsd-src/contrib/ldns/ldns/
H A Dbuffer.h45 * to the current end of a buffer, read from the current position, and
52 /** The current position used for reading/writing */
112 * is set to the capacity and the position is set to 0.
127 * the buffer. The buffer's limit is set to the current position and
128 * the position is set to 0.
143 * position is reset to 0.
154 * returns the current position in the buffer (as a number of bytes)
156 * \return the current position
165 * sets the buffer's position to MARK. The position must be less than
178 * changes the buffer's position by COUNT bytes. The position must not
[all …]
/freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.h110 * Argon2 position: where we construct the block right now. Used to distribute
130 * Computes absolute position of reference block in the lane following a skewed
133 * @param position Pointer to the current position
134 * @param pseudo_rand 32-bit pseudo-random value used to determine the position
140 const argon2_position_t *position, uint32_t pseudo_rand, in index_alpha() argument
157 if (position->pass == 0) { in index_alpha()
159 if (position->slice == 0) { in index_alpha()
162 position->index - 1; /* all but the previous */ in index_alpha()
167 position->slice * instance->segment_length + in index_alpha()
168 position->index - 1; in index_alpha()
[all …]
H A Dargon2-fill-block-ref.c107 * @param position Pointer to the current position
113 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
121 if (instance != NULL && position != NULL) { in generate_addresses()
122 input_block.v[0] = position->pass; in generate_addresses()
123 input_block.v[1] = position->lane; in generate_addresses()
124 input_block.v[2] = position->slice; in generate_addresses()
144 fill_segment_ref(const argon2_instance_t *instance, argon2_position_t position) in fill_segment_ref() argument
147 /* Pseudo-random values that determine the reference block position */ in fill_segment_ref()
160 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ref()
167 generate_addresses(instance, &position, pseudo_rands); in fill_segment_ref()
[all …]
H A Dargon2-fill-block-avx2.c102 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
110 if (instance != NULL && position != NULL) { in generate_addresses()
111 input_block.v[0] = position->pass; in generate_addresses()
112 input_block.v[1] = position->lane; in generate_addresses()
113 input_block.v[2] = position->slice; in generate_addresses()
145 argon2_position_t position) in fill_segment_avx2() argument
154 /* Pseudo-random values that determine the reference block position */ in fill_segment_avx2()
162 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx2()
169 generate_addresses(instance, &position, pseudo_rands); in fill_segment_avx2()
174 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx2()
[all …]
H A Dargon2-fill-block-avx512f.c107 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
115 if (instance != NULL && position != NULL) { in generate_addresses()
116 input_block.v[0] = position->pass; in generate_addresses()
117 input_block.v[1] = position->lane; in generate_addresses()
118 input_block.v[2] = position->slice; in generate_addresses()
150 argon2_position_t position) in fill_segment_avx512f() argument
159 /* Pseudo-random values that determine the reference block position */ in fill_segment_avx512f()
167 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_avx512f()
174 generate_addresses(instance, &position, pseudo_rands); in fill_segment_avx512f()
179 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_avx512f()
[all …]
H A Dargon2-fill-block-ssse3.c101 const argon2_position_t *position, uint64_t *pseudo_rands) in generate_addresses() argument
109 if (instance != NULL && position != NULL) { in generate_addresses()
110 input_block.v[0] = position->pass; in generate_addresses()
111 input_block.v[1] = position->lane; in generate_addresses()
112 input_block.v[2] = position->slice; in generate_addresses()
144 argon2_position_t position) in fill_segment_ssse3() argument
153 /* Pseudo-random values that determine the reference block position */ in fill_segment_ssse3()
161 (position.pass != 0 || position.slice >= ARGON2_SYNC_POINTS / 2)) { in fill_segment_ssse3()
168 generate_addresses(instance, &position, pseudo_rands); in fill_segment_ssse3()
173 if ((0 == position.pass) && (0 == position.slice)) { in fill_segment_ssse3()
[all …]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFileWriter.h38 /// position.
44 /// position. The value will be byte swapped if needed to match the byte
51 /// position. The value will be byte swapped if needed to match the byte
58 /// position. The value will be byte swapped if needed to match the byte
65 /// current file position.
71 /// current file position.
77 /// position.
83 /// position. The entire contents of Str will be written into the steam at
84 /// the current file position and then an extra NULL termation byte will be
92 /// function will save the current file position, seek to the specified
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp121 // Used to keep track of the current position while iterating over the blocks.
123 // The address that we assume this position has.
150 void skipNonTerminators(BlockPosition &Position, MBBInfo &Block);
151 void skipTerminator(BlockPosition &Position, TerminatorInfo &Terminator,
179 // Position describes the state immediately before Block. Update Block
180 // accordingly and move Position to the end of the block's non-terminator
182 void SystemZLongBranch::skipNonTerminators(BlockPosition &Position, in skipNonTerminators() argument
184 if (Log2(Block.Alignment) > Position.KnownBits) { in skipNonTerminators()
187 Position.Address += in skipNonTerminators()
188 (Block.Alignment.value() - (uint64_t(1) << Position.KnownBits)); in skipNonTerminators()
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Support/
H A DYAMLParser.cpp197 StringRef::iterator Position= Range.begin(); in decodeUTF8() local
201 if (Position < End && (*Position & 0x80) == 0) { in decodeUTF8()
202 return std::make_pair(*Position, 1); in decodeUTF8()
206 if (Position + 1 < End && ((*Position & 0xE0) == 0xC0) && in decodeUTF8()
207 ((*(Position + 1) & 0xC0) == 0x80)) { in decodeUTF8()
208 uint32_t codepoint = ((*Position & 0x1F) << 6) | in decodeUTF8()
209 (*(Position + 1) & 0x3F); in decodeUTF8()
215 if (Position + 2 < End && ((*Position & 0xF0) == 0xE0) && in decodeUTF8()
216 ((*(Position + 1) & 0xC0) == 0x80) && in decodeUTF8()
217 ((*(Position + 2) & 0xC0) == 0x80)) { in decodeUTF8()
[all …]
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/struct/
H A Derr.D_DECL_COMBO.StructWithoutColon.d41 int position; member
46 int position; variable
52 int position; member
63 rec.position = 1;
66 pir.position = 2;
69 "rec.content: %c\nrec.position: %d\npir.content: %c\npir.position: %d",
70 rec.content, rec.position, pir.content, pir.position);
H A Derr.D_DECL_INCOMPLETE.order.d43 int position; member
48 int position; member
58 rec.position = 2;
61 pir.position = 26;
64 "rec.content: %c\nrec.position: %d\npir.content: %c\npir.position: %d",
65 rec.content, rec.position, pir.content, pir.position);
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DFormatString.h41 void setPosition(const char *position) { in setPosition() argument
42 assert(position); in setPosition()
44 this->position = position; in setPosition()
47 assert(position); in getPosition()
48 return position; in getPosition()
60 const char *position; variable
89 : Position(nullptr), kind(None) {} in LengthModifier()
91 : Position(pos), kind(k) {} in LengthModifier()
94 return Position; in getStart()
249 const char *Position; global() variable
541 setHasThousandsGrouping(const char * position) setHasThousandsGrouping() argument
544 setIsLeftJustified(const char * position) setIsLeftJustified() argument
547 setHasPlusPrefix(const char * position) setHasPlusPrefix() argument
550 setHasSpacePrefix(const char * position) setHasSpacePrefix() argument
553 setHasAlternativeForm(const char * position) setHasAlternativeForm() argument
556 setHasLeadingZeros(const char * position) setHasLeadingZeros() argument
559 setHasObjCTechnicalTerm(const char * position) setHasObjCTechnicalTerm() argument
562 setIsPrivate(const char * position) setIsPrivate() argument
563 setIsPublic(const char * position) setIsPublic() argument
564 setIsSensitive(const char * position) setIsSensitive() argument
664 setSuppressAssignment(const char * position) setSuppressAssignment() argument
[all...]
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d35 int position; member
92 command[i + k].position = -400;
98 command[i + k].position = -1;
104 command[i + k].position = 0;
110 command[i + k].position = strlen(command[j].str) / 2;
116 command[i + k].position = strlen(command[j].str);
122 command[i + k].position = strlen(command[j].str) + 1;
128 command[i + k].position = strlen(command[j].str) + 2;
134 command[i + k].position = 400;
187 command[i].substr, command[i].position);
[all …]
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/union/
H A Derr.D_DECL_COMBO.UnionWithoutColon.d41 int position; member
47 int position; variable
58 rec.position = 1;
61 pir.position = 2;
64 "rec.content: %c\nrec.position: %d\npir.content: %c\npir.position: %d",
65 rec.content, rec.position, pir.content, pir.position);

12345678910>>...120