/dports/editors/hnb/hnb-1.9.18/src/libcli/ |
H A D | cli_history.c | 20 #define HISTORY_SIZE 64 macro 23 static char history[HISTORY_SIZE][MAXLEN] = { {0} }; 37 readpos %= HISTORY_SIZE; in init() 38 writepos %= HISTORY_SIZE; in init() 52 readpos %= HISTORY_SIZE; in cli_historyadd() 53 writepos %= HISTORY_SIZE; in cli_historyadd() 67 readpos %= HISTORY_SIZE; in cli_historyprev() 68 writepos %= HISTORY_SIZE; in cli_historyprev() 87 readpos %= HISTORY_SIZE; in cli_historynext() 88 writepos %= HISTORY_SIZE; in cli_historynext()
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Common/Profiler/ |
H A D | Profiler.cpp | 205 return HISTORY_SIZE; 222 for (int i = 0; i < HISTORY_SIZE; i++) { 225 x += HISTORY_SIZE; 226 while (x >= HISTORY_SIZE) 227 x -= HISTORY_SIZE; 248 x += HISTORY_SIZE; 249 while (x >= HISTORY_SIZE) 250 x -= HISTORY_SIZE; 261 x += HISTORY_SIZE; 262 while (x >= HISTORY_SIZE) [all …]
|
/dports/emulators/ppsspp/ppsspp-1.12.3/Common/Profiler/ |
H A D | Profiler.cpp | 205 return HISTORY_SIZE; 222 for (int i = 0; i < HISTORY_SIZE; i++) { 225 x += HISTORY_SIZE; 226 while (x >= HISTORY_SIZE) 227 x -= HISTORY_SIZE; 248 x += HISTORY_SIZE; 249 while (x >= HISTORY_SIZE) 250 x -= HISTORY_SIZE; 261 x += HISTORY_SIZE; 262 while (x >= HISTORY_SIZE) [all …]
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Common/Profiler/ |
H A D | Profiler.cpp | 205 return HISTORY_SIZE; 222 for (int i = 0; i < HISTORY_SIZE; i++) { 225 x += HISTORY_SIZE; 226 while (x >= HISTORY_SIZE) 227 x -= HISTORY_SIZE; 248 x += HISTORY_SIZE; 249 while (x >= HISTORY_SIZE) 250 x -= HISTORY_SIZE; 261 x += HISTORY_SIZE; 262 while (x >= HISTORY_SIZE) [all …]
|
/dports/archivers/libarchive-qt/libarchive-qt-9863127fb8dda7242215c09efbc976193365fee4/lib/ |
H A D | lz4dec.c | 131 #define HISTORY_SIZE 64*1024 in unlz4() macro 133 unsigned char history[HISTORY_SIZE]; in unlz4() 154 fread(history + HISTORY_SIZE - dictSize, 1, dictSize, dict); in unlz4() 208 if (pos == HISTORY_SIZE) in unlz4() 210 sendBytes(history, HISTORY_SIZE, outFp); in unlz4() 242 if (pos + matchLength < HISTORY_SIZE && reference + matchLength < HISTORY_SIZE) in unlz4() 267 if (pos == HISTORY_SIZE) in unlz4() 270 sendBytes(history, HISTORY_SIZE, outFp); in unlz4() 274 if (reference == HISTORY_SIZE) in unlz4() 292 if (pos == HISTORY_SIZE) in unlz4() [all …]
|
/dports/net-im/cawbird/cawbird-1.4.2/src/ |
H A D | CbBundleHistory.c | 30 for (i = 0; i < HISTORY_SIZE; i ++) in cb_bundle_history_finalize() 44 for (i = 0; i < HISTORY_SIZE; i ++) in cb_bundle_history_init() 69 if (self->pos < HISTORY_SIZE - 1) in cb_bundle_history_push() 77 memmove (self->elements, self->elements + 1, sizeof (int) * (HISTORY_SIZE - 1)); in cb_bundle_history_push() 78 memmove (self->bundles, self->bundles + 1, sizeof (CbBundle *) * (HISTORY_SIZE - 1)); in cb_bundle_history_push() 100 if (self->pos < HISTORY_SIZE - 1) in cb_bundle_history_forward() 118 if (self->pos == HISTORY_SIZE - 1) in cb_bundle_history_at_end() 139 if (self->pos + 1 < HISTORY_SIZE - 1 && in cb_bundle_history_remove_current() 144 (HISTORY_SIZE - self->pos - 1) * sizeof (int)); in cb_bundle_history_remove_current() 148 (HISTORY_SIZE - self->pos - 1) * sizeof (CbBundle*)); in cb_bundle_history_remove_current()
|
H A D | CbBundleHistory.h | 24 #define HISTORY_SIZE 10 macro 31 int elements[HISTORY_SIZE]; 32 CbBundle *bundles[HISTORY_SIZE];
|
/dports/sysutils/acpica-tools/acpica-unix-20210930/source/components/debugger/ |
H A D | dbhistry.c | 163 #define HISTORY_SIZE 40 macro 174 static HISTORY_INFO AcpiGbl_HistoryBuffer[HISTORY_SIZE]; 234 if ((AcpiGbl_NumHistory == HISTORY_SIZE) && in AcpiDbAddToHistory() 238 if (AcpiGbl_LoHistory >= HISTORY_SIZE) in AcpiDbAddToHistory() 245 if (AcpiGbl_NextHistoryIndex >= HISTORY_SIZE) in AcpiDbAddToHistory() 251 if (AcpiGbl_NumHistory < HISTORY_SIZE) in AcpiDbAddToHistory() 292 if (HistoryIndex >= HISTORY_SIZE) in AcpiDbDisplayHistory() 370 if (HistoryIndex >= HISTORY_SIZE) in AcpiDbGetHistoryByIndex()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/acpica/dist/debugger/ |
H A D | dbhistry.c | 55 #define HISTORY_SIZE 40 macro 66 static HISTORY_INFO AcpiGbl_HistoryBuffer[HISTORY_SIZE]; 127 if ((AcpiGbl_NumHistory == HISTORY_SIZE) && in AcpiDbAddToHistory() 131 if (AcpiGbl_LoHistory >= HISTORY_SIZE) in AcpiDbAddToHistory() 138 if (AcpiGbl_NextHistoryIndex >= HISTORY_SIZE) in AcpiDbAddToHistory() 144 if (AcpiGbl_NumHistory < HISTORY_SIZE) in AcpiDbAddToHistory() 185 if (HistoryIndex >= HISTORY_SIZE) in AcpiDbDisplayHistory() 263 if (HistoryIndex >= HISTORY_SIZE) in AcpiDbGetHistoryByIndex()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/acpi/acpica/ |
H A D | dbhistry.c | 19 #define HISTORY_SIZE 40 macro 26 static HISTORY_INFO acpi_gbl_history_buffer[HISTORY_SIZE]; 81 if ((acpi_gbl_num_history == HISTORY_SIZE) && in acpi_db_add_to_history() 84 if (acpi_gbl_lo_history >= HISTORY_SIZE) { in acpi_db_add_to_history() 90 if (acpi_gbl_next_history_index >= HISTORY_SIZE) { in acpi_db_add_to_history() 95 if (acpi_gbl_num_history < HISTORY_SIZE) { in acpi_db_add_to_history() 131 if (history_index >= HISTORY_SIZE) { in acpi_db_display_history() 197 if (history_index >= HISTORY_SIZE) { in acpi_db_get_history_by_index()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/acpi/acpica/ |
H A D | dbhistry.c | 19 #define HISTORY_SIZE 40 macro 26 static HISTORY_INFO acpi_gbl_history_buffer[HISTORY_SIZE]; 81 if ((acpi_gbl_num_history == HISTORY_SIZE) && in acpi_db_add_to_history() 84 if (acpi_gbl_lo_history >= HISTORY_SIZE) { in acpi_db_add_to_history() 90 if (acpi_gbl_next_history_index >= HISTORY_SIZE) { in acpi_db_add_to_history() 95 if (acpi_gbl_num_history < HISTORY_SIZE) { in acpi_db_add_to_history() 131 if (history_index >= HISTORY_SIZE) { in acpi_db_display_history() 197 if (history_index >= HISTORY_SIZE) { in acpi_db_get_history_by_index()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/acpi/acpica/ |
H A D | dbhistry.c | 19 #define HISTORY_SIZE 40 macro 26 static HISTORY_INFO acpi_gbl_history_buffer[HISTORY_SIZE]; 81 if ((acpi_gbl_num_history == HISTORY_SIZE) && in acpi_db_add_to_history() 84 if (acpi_gbl_lo_history >= HISTORY_SIZE) { in acpi_db_add_to_history() 90 if (acpi_gbl_next_history_index >= HISTORY_SIZE) { in acpi_db_add_to_history() 95 if (acpi_gbl_num_history < HISTORY_SIZE) { in acpi_db_add_to_history() 131 if (history_index >= HISTORY_SIZE) { in acpi_db_display_history() 197 if (history_index >= HISTORY_SIZE) { in acpi_db_get_history_by_index()
|
/dports/multimedia/libxine/xine-lib-1.2.11/src/post/deinterlace/ |
H A D | pulldown.c | 176 #define HISTORY_SIZE 5 macro 238 for( j = 0; j < HISTORY_SIZE; j++ ) { in determine_pulldown_offset_history() 245 for( j = 0; j < HISTORY_SIZE; j++ ) { in determine_pulldown_offset_history() 258 for( j = 0; j < HISTORY_SIZE; j++ ) { in determine_pulldown_offset_history() 277 best = best % HISTORY_SIZE; in determine_pulldown_offset_history() 278 *realbest = 1 << ( ( histpos + (2*HISTORY_SIZE) - best ) % HISTORY_SIZE ); in determine_pulldown_offset_history() 281 ret = 1 << ( ( histpos + (2*HISTORY_SIZE) - best ) % HISTORY_SIZE ); in determine_pulldown_offset_history() 283 ret |= 1 << ( ( histpos + (2*HISTORY_SIZE) - best ) % HISTORY_SIZE ); in determine_pulldown_offset_history() 312 for( j = 0; j < HISTORY_SIZE; j++ ) { in determine_pulldown_offset_history_new() 325 for( j = 0; j < HISTORY_SIZE; j++ ) { in determine_pulldown_offset_history_new() [all …]
|
/dports/irc/hexchat/hexchat-2.16.0/src/common/ |
H A D | history.c | 30 if (his->realpos == HISTORY_SIZE) in history_add() 39 for (i = 0; i < HISTORY_SIZE; i++) in history_free() 58 if (his->pos == HISTORY_SIZE - 1) in history_down() 73 if (his->pos < HISTORY_SIZE - 1) in history_down() 90 if (his->realpos == HISTORY_SIZE - 1) in history_up() 100 next = HISTORY_SIZE - 1; in history_up()
|
H A D | history.h | 23 #define HISTORY_SIZE 100 macro 27 char *lines[HISTORY_SIZE];
|
/dports/games/spring/spring_98.0/rts/System/Sync/ |
H A D | SyncDebugger.cpp | 89 historybt = new HistItemWithBacktrace[HISTORY_SIZE * BLOCK_SIZE]; in Initialize() 94 history = new HistItem[HISTORY_SIZE * BLOCK_SIZE]; in Initialize() 95 memset(history, 0, HISTORY_SIZE * BLOCK_SIZE * sizeof(HistItem)); in Initialize() 153 if (++historyIndex == HISTORY_SIZE * BLOCK_SIZE) { in Sync() 190 if (*(short*)&inbuf[1] != HISTORY_SIZE * sizeof(unsigned) + 12) { in ServerReceived() 199 const unsigned* end = begin + HISTORY_SIZE; in ServerReceived() 200 players[player].checksumResponses.resize(HISTORY_SIZE); in ServerReceived() 263 if (*(unsigned short*)&inbuf[1] >= HISTORY_SIZE) { in ClientReceived() 297 for (unsigned i = 0; i < HISTORY_SIZE; ++i) { in ClientSendChecksumResponse() 325 for (unsigned c = 0; c < HISTORY_SIZE; ++i, ++c) { in ServerQueueBlockRequests() [all …]
|
/dports/editors/le/le-1.16.6/src/ |
H A D | history.cc | 42 lines=(HistoryLine**)calloc(HISTORY_SIZE,sizeof(*lines)); in History() 70 if(curr==HISTORY_SIZE) in Prev() 79 curr=HISTORY_SIZE; in Next() 93 for(i=0; i<HISTORY_SIZE-1 && lines[i] && hl!=*lines[i]; i++); in operator +=() 107 if(i>=HISTORY_SIZE-1) in operator -=() 110 for( ; i<HISTORY_SIZE-1; i++) in operator -=() 170 int i=HISTORY_SIZE,j=HISTORY_SIZE; in Merge() 189 for(int i=0; i<HISTORY_SIZE; i++) in WriteTo() 204 for(int i=0; i<HISTORY_SIZE; i++) in ReadFrom() 267 for(int i=0; i<HISTORY_SIZE; i++) in FindInodeIndex()
|
/dports/sysutils/roct/ROCT-Thunk-Interface-9d1fb76/tests/kfdtest/src/ |
H A D | KFDEventTest.cpp | 121 static const int HISTORY_SIZE = 100; member in QueueAndSignalBenchmark 125 uint64_t mTimeHistory[HISTORY_SIZE]; 126 uint64_t mLatHistory[HISTORY_SIZE]; 190 mTimeHistory[mHistorySlot%HISTORY_SIZE] = time; in run() 191 mLatHistory[mHistorySlot%HISTORY_SIZE] = latency; in run() 193 for (int i = 0; i < HISTORY_SIZE; i++) { in run() 203 avgTime /= HISTORY_SIZE; in run() 204 avgLat /= HISTORY_SIZE; in run() 207 printf("\033[KEvents: %d History: %d/%d\n", mNumEvents, mHistorySlot, HISTORY_SIZE); in run()
|
/dports/games/q2pro/q2pro/include/ |
H A D | prompt.h | 25 #define HISTORY_SIZE 128 macro 26 #define HISTORY_MASK ( HISTORY_SIZE - 1 ) 36 char *history[HISTORY_SIZE];
|
/dports/audio/polyphone/polyphone-75a5e88/sources/editor/tools/external_command/ |
H A D | toolexternalcommand_parameters.cpp | 28 const int ToolExternalCommand_parameters::HISTORY_SIZE = 10; member in ToolExternalCommand_parameters 34 for (int i = 0; i < HISTORY_SIZE; i++) in loadConfiguration() 55 for (int i = 0; i < HISTORY_SIZE; i++) in saveConfiguration()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/widget/gonk/libui/ |
H A D | VelocityTracker.cpp | 380 if (++mIndex == HISTORY_SIZE) { in addMovement() 564 float x[HISTORY_SIZE]; in getEstimator() 565 float y[HISTORY_SIZE]; in getEstimator() 566 float w[HISTORY_SIZE]; in getEstimator() 567 float time[HISTORY_SIZE]; in getEstimator() 587 index = (index == 0 ? HISTORY_SIZE : index) - 1; in getEstimator() 588 } while (++m < HISTORY_SIZE); in getEstimator() 637 uint32_t nextIndex = (index + 1) % HISTORY_SIZE; in chooseWeight() 836 if (++mIndex == HISTORY_SIZE) { in addMovement() 870 } while (++numTouches < HISTORY_SIZE); in getEstimator() [all …]
|
/dports/chinese/autoconvert/autoconvert-0.3.16/contrib/xchat-plugins/ |
H A D | history.h | 2 #define HISTORY_SIZE 100 macro 6 char *lines[HISTORY_SIZE];
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/ |
H A D | notchlc.c | 74 #define HISTORY_SIZE (64 * 1024) macro 95 if (pos + num_literals < HISTORY_SIZE) { in lz4_decompress() 101 if (pos == HISTORY_SIZE) { in lz4_decompress() 102 bytestream2_put_buffer(pb, history, HISTORY_SIZE); in lz4_decompress() 123 reference_pos = (pos >= delta) ? (pos - delta) : (HISTORY_SIZE + pos - delta); in lz4_decompress() 124 if (pos + match_length < HISTORY_SIZE && reference_pos + match_length < HISTORY_SIZE) { in lz4_decompress() 135 if (pos == HISTORY_SIZE) { in lz4_decompress() 136 bytestream2_put_buffer(pb, history, HISTORY_SIZE); in lz4_decompress() 139 reference_pos %= HISTORY_SIZE; in lz4_decompress()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/ |
H A D | notchlc.c | 74 #define HISTORY_SIZE (64 * 1024) macro 95 if (pos + num_literals < HISTORY_SIZE) { in lz4_decompress() 101 if (pos == HISTORY_SIZE) { in lz4_decompress() 102 bytestream2_put_buffer(pb, history, HISTORY_SIZE); in lz4_decompress() 123 reference_pos = (pos >= delta) ? (pos - delta) : (HISTORY_SIZE + pos - delta); in lz4_decompress() 124 if (pos + match_length < HISTORY_SIZE && reference_pos + match_length < HISTORY_SIZE) { in lz4_decompress() 135 if (pos == HISTORY_SIZE) { in lz4_decompress() 136 bytestream2_put_buffer(pb, history, HISTORY_SIZE); in lz4_decompress() 139 reference_pos %= HISTORY_SIZE; in lz4_decompress()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/ |
H A D | notchlc.c | 74 #define HISTORY_SIZE (64 * 1024) macro 95 if (pos + num_literals < HISTORY_SIZE) { in lz4_decompress() 101 if (pos == HISTORY_SIZE) { in lz4_decompress() 102 bytestream2_put_buffer(pb, history, HISTORY_SIZE); in lz4_decompress() 123 reference_pos = (pos >= delta) ? (pos - delta) : (HISTORY_SIZE + pos - delta); in lz4_decompress() 124 if (pos + match_length < HISTORY_SIZE && reference_pos + match_length < HISTORY_SIZE) { in lz4_decompress() 135 if (pos == HISTORY_SIZE) { in lz4_decompress() 136 bytestream2_put_buffer(pb, history, HISTORY_SIZE); in lz4_decompress() 139 reference_pos %= HISTORY_SIZE; in lz4_decompress()
|