/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | FormatTokenSource.h | 27 // 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 IndexedTokenSource() 92 if (Position >= 0 && isEOF()) { in getNextToken() 95 dbgToken(Position); in getNextToken() [all …]
|
/freebsd/contrib/less/ |
H A D | position.c | 12 * 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 D | funcs.h | 51 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 D | jump.c | 16 #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 D | input.c | 28 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 D | search.c | 16 #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 D | forwback.c | 17 #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 D | linenum.c | 14 * 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/sys/contrib/ck/include/spinlock/ |
H A D | anderson.h | 43 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 D | ticket.h | 89 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/contrib/unbound/sldns/ |
H A D | sbuffer.h | 113 * 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/contrib/ldns/ldns/ |
H A D | buffer.h | 45 * 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/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-core.h | 110 * 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 D | argon2-fill-block-ref.c | 107 * @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 D | argon2-fill-block-avx2.c | 102 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 D | argon2-fill-block-avx512f.c | 107 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 D | argon2-fill-block-ssse3.c | 101 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/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZLongBranch.cpp | 121 // 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/contrib/llvm-project/llvm/lib/Support/ |
H A D | YAMLParser.cpp | 197 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 in decodeUTF8() 266 setError(const Twine & Message,StringRef::iterator Position) setError() argument 299 decodeUTF8(StringRef::iterator Position) decodeUTF8() argument 918 skip_nb_char(StringRef::iterator Position) skip_nb_char() argument 943 skip_b_break(StringRef::iterator Position) skip_b_break() argument 957 skip_s_space(StringRef::iterator Position) skip_s_space() argument 965 skip_s_white(StringRef::iterator Position) skip_s_white() argument 973 skip_ns_char(StringRef::iterator Position) skip_ns_char() argument 982 skip_while(SkipWhileFunc Func,StringRef::iterator Position) skip_while() argument 1045 isBlankOrBreak(StringRef::iterator Position) isBlankOrBreak() argument 1053 for (const auto *Position = Line.begin(); Position != Line.end(); ++Position) isLineEmpty() local 1359 wasEscaped(StringRef::iterator First,StringRef::iterator Position) wasEscaped() argument [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | FileWriter.h | 38 /// 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, see [all...] |
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | FormatString.h | 41 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() 118 const char *Position; [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/struct/ |
H A D | err.D_DECL_COMBO.StructWithoutColon.d | 41 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);
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.index.d | 35 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/lib/libc/stdio/ |
H A D | fseek.3 | 66 function sets the file position indicator for the stream pointed 69 The new position, measured in bytes, is obtained by adding 71 bytes to the position specified by 81 start of the file, the current position indicator, or end-of-file, 95 obtains the current value of the file position indicator for the 101 function sets the file position indicator for the stream pointed 145 are alternate interfaces for retrieving and setting the current position in 150 except that the current position is stored in an opaque object of 171 the position specified by the combination of 203 the resulting file-position [all …]
|
/freebsd/share/doc/usd/13.viref/ |
H A D | vi.cmd.roff | 74 the type of movement is defined by the distance to the new cursor position. 75 If the new position is close, 77 If the new position is far away, 78 the screen is repainted so that the new position is on the screen. 95 is in the scrolling and screen oriented position commands, 126 cursor position. 128 position), 131 .QQ "most attractive cursor position" . 132 The latter means that the cursor is moved to the cursor position that 133 is horizontally as close as possible to the current cursor position. [all …]
|