/dports/www/h2o-devel/h2o-dcc7134/deps/picotls/lib/ |
H A D | asn1.c | 61 return byte_index; in ptls_asn1_error_message() 85 size_t byte_index = 1; in ptls_asn1_read_type() local 116 return byte_index; in ptls_asn1_read_type() 177 return byte_index; in ptls_asn1_read_length() 192 byte_index++; in ptls_asn1_get_expected_type_and_length() 193 byte_index = in ptls_asn1_get_expected_type_and_length() 204 return byte_index; in ptls_asn1_get_expected_type_and_length() 218 size_t byte_index = in ptls_asn1_validation_recursive() local 226 byte_index = in ptls_asn1_validation_recursive() 254 …byte_index += ptls_asn1_validation_recursive(bytes + byte_index, last_byte - byte_index, decode_er… in ptls_asn1_validation_recursive() [all …]
|
H A D | minicrypto-pem.c | 47 size_t byte_index = 0; in ptls_minicrypto_asn1_decode_private_key() local 62 …byte_index = ptls_asn1_error_message("Length larger than message", bytes_max, byte_index, 0, log_c… in ptls_minicrypto_asn1_decode_private_key() 71 …} else if (bytes[byte_index] != 0x02 || bytes[byte_index + 1] != 0x01 || bytes[byte_index + 2] != … in ptls_minicrypto_asn1_decode_private_key() 73 … byte_index = ptls_asn1_error_message("Incorrect PEM Version", bytes_max, byte_index, 0, log_ctx); in ptls_minicrypto_asn1_decode_private_key() 75 byte_index += 3; in ptls_minicrypto_asn1_decode_private_key() 105 byte_index += oid_length; in ptls_minicrypto_asn1_decode_private_key() 165 return byte_index; in ptls_minicrypto_asn1_decode_private_key() 205 size_t byte_index = 0; in ptls_set_ecdsa_private_key() local 239 byte_index = 0; in ptls_set_ecdsa_private_key() 258 …} else if (bytes[byte_index] != 0x02 || bytes[byte_index + 1] != 0x01 || bytes[byte_index + 2] != … in ptls_set_ecdsa_private_key() [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/dsslib/lsa/ |
H A D | utils.h | 128 (var) = (void_ptr)[(byte_index)]; \ 145 (var) = (void_ptr)[(byte_index)]; \ 161 (void_ptr)[byte_index + 3] = ((var) & 0x000000ff); \ 163 (void_ptr)[byte_index] = ((var) & 0xff00) >> 8; \ 164 (void_ptr)[byte_index + 1] = ((var) & 0x00ff); \ 166 (void_ptr)[byte_index] = (var); \ 182 (void_ptr)[byte_index] = ((var) & 0xff00) >> 16; \ 184 (void_ptr)[byte_index + 2] = ((var) & 0x00ff); \ 186 (void_ptr)[byte_index] = ((var) & 0xff00) >> 8; \ 187 (void_ptr)[byte_index + 1] = ((var) & 0x00ff); \ [all …]
|
/dports/lang/polyml/polyml-5.8.2/libpolyml/ |
H A D | bitmap.cpp | 81 uintptr_t byte_index = bitno >> 3; in SetBits() local 96 m_bits[byte_index] |= mask; in SetBits() 104 m_bits[byte_index] |= mask; in SetBits() 114 byte_index += length >> 3; in SetBits() 125 byte_index ++; in SetBits() 128 m_bits[byte_index] |= mask; in SetBits() 135 uintptr_t byte_index = bitno >> 3; in ClearBits() local 158 byte_index += length >> 3; in ClearBits() 169 byte_index++; in ClearBits() 199 byte_index ++; in CountZeroBits() [all …]
|
/dports/devel/lua-luacheck/luacheck-4e5774169fa/src/luacheck/ |
H A D | decoder.lua | 59 local byte_index = 1 63 byte_offsets[codepoint_index] = byte_index 66 local codepoint = sbyte(bytes, byte_index) 72 byte_index = byte_index + 1 87 byte_index = byte_index + 1 96 cont = (sbyte(bytes, byte_index) or 0) - 0x80 102 byte_index = byte_index + 1 109 cont = (sbyte(bytes, byte_index) or 0) - 0x80 115 byte_index = byte_index + 1 119 cont = (sbyte(bytes, byte_index) or 0) - 0x80 [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/SPIRV-Tools/src/source/util/ |
H A D | string_utils.h | 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() local 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 57 word |= (new_byte << (8 * (byte_index % sizeof(uint32_t)))); in MakeVector() 58 if (3 == (byte_index % sizeof(uint32_t))) { in MakeVector() 76 for (int byte_index = 0; byte_index < 4; byte_index++) { in MakeString() local 77 uint32_t extracted_word = (word >> (8 * byte_index)) & 0xFF; in MakeString()
|
/dports/devel/intel-graphics-compiler/SPIRV-Tools/source/util/ |
H A D | string_utils.h | 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() local 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 57 word |= (new_byte << (8 * (byte_index % sizeof(uint32_t)))); in MakeVector() 58 if (3 == (byte_index % sizeof(uint32_t))) { in MakeVector() 76 for (int byte_index = 0; byte_index < 4; byte_index++) { in MakeString() local 77 uint32_t extracted_word = (word >> (8 * byte_index)) & 0xFF; in MakeString()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | string_utils.h | 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() local 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 57 word |= (new_byte << (8 * (byte_index % sizeof(uint32_t)))); in MakeVector() 58 if (3 == (byte_index % sizeof(uint32_t))) { in MakeVector() 76 for (int byte_index = 0; byte_index < 4; byte_index++) { in MakeString() local 77 uint32_t extracted_word = (word >> (8 * byte_index)) & 0xFF; in MakeString()
|
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/util/ |
H A D | string_utils.h | 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() local 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 57 word |= (new_byte << (8 * (byte_index % sizeof(uint32_t)))); in MakeVector() 58 if (3 == (byte_index % sizeof(uint32_t))) { in MakeVector() 76 for (int byte_index = 0; byte_index < 4; byte_index++) { in MakeString() local 77 uint32_t extracted_word = (word >> (8 * byte_index)) & 0xFF; in MakeString()
|
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/util/ |
H A D | string_utils.h | 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() local 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 57 word |= (new_byte << (8 * (byte_index % sizeof(uint32_t)))); in MakeVector() 58 if (3 == (byte_index % sizeof(uint32_t))) { in MakeVector() 76 for (int byte_index = 0; byte_index < 4; byte_index++) { in MakeString() local 77 uint32_t extracted_word = (word >> (8 * byte_index)) & 0xFF; in MakeString()
|
/dports/graphics/spirv-tools/SPIRV-Tools-2021.4/source/util/ |
H A D | string_utils.h | 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() local 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 57 word |= (new_byte << (8 * (byte_index % sizeof(uint32_t)))); in MakeVector() 58 if (3 == (byte_index % sizeof(uint32_t))) { in MakeVector() 76 for (int byte_index = 0; byte_index < 4; byte_index++) { in MakeString() local 77 uint32_t extracted_word = (word >> (8 * byte_index)) & 0xFF; in MakeString()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/SPIRV-Tools/src/source/util/ |
H A D | string_utils.h | 54 for (size_t byte_index = 0; byte_index <= num_bytes; byte_index++) { in MakeVector() local 56 (byte_index < num_bytes ? uint8_t(input[byte_index]) : uint8_t(0)); in MakeVector() 57 word |= (new_byte << (8 * (byte_index % sizeof(uint32_t)))); in MakeVector() 58 if (3 == (byte_index % sizeof(uint32_t))) { in MakeVector() 76 for (int byte_index = 0; byte_index < 4; byte_index++) { in MakeString() local 77 uint32_t extracted_word = (word >> (8 * byte_index)) & 0xFF; in MakeString()
|
/dports/misc/mc/mc-4.8.27/src/viewer/ |
H A D | datasource.c | 135 mcview_get_ptr_file (WView * view, off_t byte_index) in mcview_get_ptr_file() argument 139 mcview_file_load_data (view, byte_index); in mcview_get_ptr_file() 163 str = mcview_get_ptr_file (view, byte_index); in mcview_get_utf() 166 str = mcview_get_ptr_string (view, byte_index); in mcview_get_utf() 222 mcview_get_ptr_string (WView * view, off_t byte_index) in mcview_get_ptr_string() argument 226 if (byte_index >= 0 && byte_index < (off_t) view->ds_string_len) in mcview_get_ptr_string() 227 return (char *) (view->ds_string_data + byte_index); in mcview_get_ptr_string() 241 p = mcview_get_ptr_string (view, byte_index); in mcview_get_byte_string() 256 (void) byte_index; in mcview_get_byte_none() 282 mcview_file_load_data (WView * view, off_t byte_index) in mcview_file_load_data() argument [all …]
|
/dports/misc/mc-nox11/mc-4.8.27/src/viewer/ |
H A D | datasource.c | 135 mcview_get_ptr_file (WView * view, off_t byte_index) in mcview_get_ptr_file() argument 139 mcview_file_load_data (view, byte_index); in mcview_get_ptr_file() 163 str = mcview_get_ptr_file (view, byte_index); in mcview_get_utf() 166 str = mcview_get_ptr_string (view, byte_index); in mcview_get_utf() 222 mcview_get_ptr_string (WView * view, off_t byte_index) in mcview_get_ptr_string() argument 226 if (byte_index >= 0 && byte_index < (off_t) view->ds_string_len) in mcview_get_ptr_string() 227 return (char *) (view->ds_string_data + byte_index); in mcview_get_ptr_string() 241 p = mcview_get_ptr_string (view, byte_index); in mcview_get_byte_string() 256 (void) byte_index; in mcview_get_byte_none() 282 mcview_file_load_data (WView * view, off_t byte_index) in mcview_file_load_data() argument [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_utils/src/ |
H A D | str_utils.rs | 6 pub byte_index: usize, field 10 pub fn new(char_index: usize, byte_index: usize) -> Self { in new() 11 Self { char_index, byte_index } in new() 35 for (char_index, (byte_index, c)) in iter { in camel_case_until() 44 last_index.byte_index = byte_index; in camel_case_until() 47 return StrIndex::new(char_index, byte_index); in camel_case_until() 81 for (char_index, (byte_index, c)) in iter { in camel_case_start() 85 last_index.byte_index = byte_index; in camel_case_start() 93 last_index.byte_index = byte_index; in camel_case_start() 137 StrCount::new(char_index + 1, byte_index + character.len_utf8()) in count_match_start() [all …]
|
/dports/net/mediastreamer/mediastreamer-2.16.1/src/utils/ |
H A D | bits_rw.c | 34 size_t byte_index=reader->bit_index/8; in ms_bits_reader_n_bits() local 43 if (byte_index<reader->buf_size) in ms_bits_reader_n_bits() 44 tmp=((unsigned int)reader->buffer[byte_index++])<<24; in ms_bits_reader_n_bits() 49 if (byte_index<reader->buf_size) in ms_bits_reader_n_bits() 51 if (byte_index<reader->buf_size) in ms_bits_reader_n_bits() 53 if (byte_index<reader->buf_size) in ms_bits_reader_n_bits() 54 tmp|=((unsigned int)reader->buffer[byte_index++]); in ms_bits_reader_n_bits() 129 int byte_index; in ms_bits_writer_n_bits() local 146 byte_index = writer->bit_index / 8; in ms_bits_writer_n_bits() 158 byte_index++; in ms_bits_writer_n_bits() [all …]
|
/dports/cad/ngspice_rework/ngspice-35/src/xspice/cm/ |
H A D | cm.c | 61 static void cm_static_integrate(int byte_index, 223 int byte_index; in cm_analog_integrate() local 250 byte_index = (int) (char_state - char_state0); in cm_analog_integrate() 253 if((byte_index < 0) || in cm_analog_integrate() 263 if(here->intgr[i].byte_index == byte_index) { in cm_analog_integrate() 289 intgr->byte_index = byte_index; in cm_analog_integrate() 325 int byte_index; in cm_analog_converge() local 346 if((byte_index < 0) || in cm_analog_converge() 356 if(here->conv[i].byte_index == byte_index) in cm_analog_converge() 372 conv->byte_index = byte_index; in cm_analog_converge() [all …]
|
/dports/editors/cooledit/cooledit-3.17.28/widget/ |
H A D | widechar.c | 209 p[n] = edit_get_byte (edit, byte_index + n); in apply_mb_rules_going_right_utf8_to_ucs4() 242 p[n] = edit_get_byte (edit, byte_index + n); in apply_mb_rules_going_right() 276 r.ch = edit_get_byte (edit, byte_index); in get_mb_rule() 295 if (byte_index > edit->last_get_mb_rule) { in get_mb_rule() 325 } else if (byte_index < edit->last_get_mb_rule) { in get_mb_rule() 331 for (i = -1; i <= byte_index; i++) in get_mb_rule() 335 for (i = -1; i <= byte_index; i++) in get_mb_rule() 340 if (byte_index >= edit->mb_marker->offset) { in get_mb_rule() 357 edit->last_get_mb_rule = byte_index; in get_mb_rule() 361 long edit_get_wide_byte (WEdit * edit, long byte_index) in edit_get_wide_byte() argument [all …]
|
/dports/multimedia/libopenshot/libopenshot-0.2.7/src/effects/ |
H A D | Mask.cpp | 115 …for (int pixel = 0, byte_index=0; pixel < original_mask->width() * original_mask->height(); pixel+… in GetFrame() local 118 int R = mask_pixels[byte_index]; in GetFrame() 119 int G = mask_pixels[byte_index + 1]; in GetFrame() 120 int B = mask_pixels[byte_index + 2]; in GetFrame() 121 int A = mask_pixels[byte_index + 3]; in GetFrame() 142 pixels[byte_index + 0] = gray_value; in GetFrame() 143 pixels[byte_index + 1] = gray_value; in GetFrame() 144 pixels[byte_index + 2] = gray_value; in GetFrame() 145 pixels[byte_index + 3] = gray_value; in GetFrame() 149 pixels[byte_index + 0] *= alpha_percent; in GetFrame() [all …]
|
/dports/devel/libvshadow/libvshadow-20210425/libfguid/ |
H A D | libfguid_identifier.c | 613 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 614 byte_index < 8; in libfguid_identifier_copy_from_utf8_string_with_index() 615 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 648 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 649 byte_index < 4; in libfguid_identifier_copy_from_utf8_string_with_index() 650 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 685 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 720 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 749 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 784 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() [all …]
|
/dports/devel/libvsgpt/libvsgpt-20210207/libfguid/ |
H A D | libfguid_identifier.c | 613 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 614 byte_index < 8; in libfguid_identifier_copy_from_utf8_string_with_index() 615 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 648 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 649 byte_index < 4; in libfguid_identifier_copy_from_utf8_string_with_index() 650 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 685 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 720 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 749 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 784 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() [all …]
|
/dports/devel/libbde/libbde-20210605/libfguid/ |
H A D | libfguid_identifier.c | 613 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 614 byte_index < 8; in libfguid_identifier_copy_from_utf8_string_with_index() 615 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 648 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 649 byte_index < 4; in libfguid_identifier_copy_from_utf8_string_with_index() 650 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 685 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 720 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 749 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 784 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() [all …]
|
/dports/devel/libevt/libevt-20210424/libfguid/ |
H A D | libfguid_identifier.c | 613 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 614 byte_index < 8; in libfguid_identifier_copy_from_utf8_string_with_index() 615 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 648 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 649 byte_index < 4; in libfguid_identifier_copy_from_utf8_string_with_index() 650 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 685 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 720 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 749 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 784 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() [all …]
|
/dports/devel/libfsxfs/libfsxfs-20210726/libfguid/ |
H A D | libfguid_identifier.c | 613 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 614 byte_index < 8; in libfguid_identifier_copy_from_utf8_string_with_index() 615 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 648 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 649 byte_index < 4; in libfguid_identifier_copy_from_utf8_string_with_index() 650 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 685 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 720 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 749 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 784 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() [all …]
|
/dports/devel/libfwsi/libfwsi-20210419/libfguid/ |
H A D | libfguid_identifier.c | 613 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 614 byte_index < 8; in libfguid_identifier_copy_from_utf8_string_with_index() 615 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 648 for( byte_index = 0; in libfguid_identifier_copy_from_utf8_string_with_index() 649 byte_index < 4; in libfguid_identifier_copy_from_utf8_string_with_index() 650 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 685 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 720 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 749 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() 784 byte_index++ ) in libfguid_identifier_copy_from_utf8_string_with_index() [all …]
|