/dports/graphics/R-cran-scales/scales/tests/testthat/ |
H A D | test-label-bytes.R | 25 number_bytes(c(50, 400, 502, NA), symbol = "B"), 29 number_bytes(3:5 * 1024^2, symbol = "MiB"), 33 number_bytes(1000^(1:3), symbol = "kB", units = "si"), 41 expect_equal(number_bytes(1024, accuracy = .01), c("1.00 KiB")) 47 number_bytes(c(3e6, 4e6, 5e6), accuracy = .001), 51 number_bytes(c(3e6, 4e6, 5e6), units = "si", accuracy = .1), 61 expect_equal(number_bytes(0), "0 B") 65 expect_equal(number_bytes(1024^11), "1 073 741 824 YiB") 66 expect_equal(number_bytes(1000^9, units = "si"), "1 000 YB") 70 expect_equal(number_bytes(-1024^2), "-1 MiB") [all …]
|
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
H A D | cng_unittest.cc | 102 size_t number_bytes; in TEST_F() local 111 &number_bytes, kNoSid)); in TEST_F() 119 &number_bytes, kNoSid)); in TEST_F() 127 &number_bytes, kNoSid)); in TEST_F() 154 size_t number_bytes; in TEST_F() local 173 size_t number_bytes; in TEST_F() local 190 size_t number_bytes; in TEST_F() local 227 size_t number_bytes; in TEST_F() local 264 size_t number_bytes; in TEST_F() local 297 size_t number_bytes; in TEST_F() local [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/cng/ |
H A D | cng_unittest.cc | 102 int16_t number_bytes; 111 &number_bytes, kNoSid)); 119 &number_bytes, kNoSid)); 127 &number_bytes, kNoSid)); 154 int16_t number_bytes; 173 int16_t number_bytes; 190 int16_t number_bytes; 227 int16_t number_bytes; 264 int16_t number_bytes; 297 int16_t number_bytes; [all …]
|
/dports/multimedia/dvb-apps/dvb-apps-3d43b280298c/lib/libucsi/atsc/ |
H A D | types.c | 34 int number_bytes; in atsc_text_validate() local 51 number_bytes = buf[pos+2]; in atsc_text_validate() 54 if (len < (pos + number_bytes)) in atsc_text_validate() 56 pos += number_bytes; in atsc_text_validate()
|
H A D | types.h | 85 uint8_t number_bytes; member 196 buf += seg->number_bytes; in atsc_text_strings_next() 220 (((uint8_t*) pos) + sizeof(struct atsc_text_string_segment) + pos->number_bytes); in atsc_text_string_segments_next()
|
H A D | atsc_text.c | 728 return unicode_decode(buf, segment->number_bytes, segment->mode, in atsc_text_segment_decode() 732 return huffman_decode(buf, segment->number_bytes, in atsc_text_segment_decode() 737 return huffman_decode(buf, segment->number_bytes, in atsc_text_segment_decode()
|
H A D | mgt_section.h | 58 uint32_t number_bytes; member
|
/dports/graphics/GraphicsMagick/GraphicsMagick-1.3.36/magick/ |
H A D | PreRvIcccm.c | 269 number_bytes; in XStringListToTextProperty() local 274 number_bytes=0; in XStringListToTextProperty() 276 number_bytes+=(unsigned int) ((argv[i] ? strlen(argv[i]) : 0)+1); in XStringListToTextProperty() 280 if (number_bytes) in XStringListToTextProperty() 281 protocol.nitems=number_bytes-1; in XStringListToTextProperty() 283 if (number_bytes <= 0) in XStringListToTextProperty() 295 buffer=MagickAllocateMemory(char *,number_bytes); in XStringListToTextProperty()
|
/dports/emulators/mess/mame-mame0226/src/osd/modules/sound/ |
H A D | coreaudio_sound.cpp | 971 uint32_t const number_bytes = number_frames * m_sample_bytes; in render() local 975 memset(data->mBuffers[0].mData, 0, number_bytes); in render() 979 if (number_bytes > used) in render() 983 memset(data->mBuffers[0].mData, 0, number_bytes); in render() 987 uint32_t const chunk = std::min(m_buffer_size - m_playpos, number_bytes); in render() 993 if (chunk < number_bytes) in render() 996 assert(m_writepos >= (number_bytes - chunk)); in render() 997 copy_scaled((int8_t *)data->mBuffers[0].mData + chunk, &m_buffer[0], number_bytes - chunk); in render() 998 m_playpos += number_bytes - chunk; in render()
|
/dports/emulators/mame/mame-mame0226/src/osd/modules/sound/ |
H A D | coreaudio_sound.cpp | 971 uint32_t const number_bytes = number_frames * m_sample_bytes; in render() local 975 memset(data->mBuffers[0].mData, 0, number_bytes); in render() 979 if (number_bytes > used) in render() 983 memset(data->mBuffers[0].mData, 0, number_bytes); in render() 987 uint32_t const chunk = std::min(m_buffer_size - m_playpos, number_bytes); in render() 993 if (chunk < number_bytes) in render() 996 assert(m_writepos >= (number_bytes - chunk)); in render() 997 copy_scaled((int8_t *)data->mBuffers[0].mData + chunk, &m_buffer[0], number_bytes - chunk); in render() 998 m_playpos += number_bytes - chunk; in render()
|
/dports/graphics/R-cran-scales/scales/man/ |
H A D | number_bytes_format.Rd | 5 \alias{number_bytes} 10 number_bytes(x, symbol = "auto", units = c("binary", "si"), accuracy = 1, ...)
|
/dports/graphics/R-cran-scales/scales/R/ |
H A D | labels-retired.R | 17 number_bytes(x, symbol, units, ...) 23 number_bytes <- function(x, symbol = "auto", units = c("binary", "si"), accuracy = 1, ...) { function
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/signin/ |
H A D | local_auth.cc | 92 int number_bytes = (len_bits + 7) / 8; in TruncateStringByBits() local 93 std::string truncated_string = str.substr(0, number_bytes); in TruncateStringByBits() 97 truncated_string[number_bytes - 1] &= last_char_bitmask; in TruncateStringByBits()
|
/dports/multimedia/ccextractor/ccextractor-0.85/src/lib_ccx/ |
H A D | ts_tables_epg.c | 730 uint8_t number_bytes; in EPG_ATSC_decode_multiple_string() local 734 number_bytes = offset[2]; in EPG_ATSC_decode_multiple_string() 738 CHECK_OFFSET(number_bytes); in EPG_ATSC_decode_multiple_string() 744 event->event_name = malloc(number_bytes+1); in EPG_ATSC_decode_multiple_string() 745 memcpy(event->event_name, &offset[0], number_bytes); in EPG_ATSC_decode_multiple_string() 746 event->event_name[number_bytes]='\0'; in EPG_ATSC_decode_multiple_string() 747 event->text = malloc(number_bytes+1); in EPG_ATSC_decode_multiple_string() 748 memcpy(event->text, &offset[0], number_bytes); in EPG_ATSC_decode_multiple_string() 749 event->text[number_bytes]='\0'; in EPG_ATSC_decode_multiple_string() 755 offset+=number_bytes; in EPG_ATSC_decode_multiple_string()
|
/dports/graphics/ImageMagick6-nox11/ImageMagick-6.9.12-34/magick/ |
H A D | profile.c | 2066 number_bytes; in SyncExifProfile() local 2085 number_bytes=(size_t) components*format_bytes[format]; in SyncExifProfile() 2086 if ((ssize_t) number_bytes < components) in SyncExifProfile() 2088 if (number_bytes <= 4) in SyncExifProfile() 2096 if ((offset < 0) || ((size_t) (offset+number_bytes) > length)) in SyncExifProfile() 2098 if (~length < number_bytes) in SyncExifProfile() 2107 if (number_bytes == 8) in SyncExifProfile() 2114 if (number_bytes == 8) in SyncExifProfile() 2120 if (number_bytes == 4) in SyncExifProfile() 2131 if (number_bytes == 4) in SyncExifProfile()
|
/dports/graphics/ImageMagick6/ImageMagick-6.9.12-34/magick/ |
H A D | profile.c | 2066 number_bytes; in SyncExifProfile() local 2085 number_bytes=(size_t) components*format_bytes[format]; in SyncExifProfile() 2086 if ((ssize_t) number_bytes < components) in SyncExifProfile() 2088 if (number_bytes <= 4) in SyncExifProfile() 2096 if ((offset < 0) || ((size_t) (offset+number_bytes) > length)) in SyncExifProfile() 2098 if (~length < number_bytes) in SyncExifProfile() 2107 if (number_bytes == 8) in SyncExifProfile() 2114 if (number_bytes == 8) in SyncExifProfile() 2120 if (number_bytes == 4) in SyncExifProfile() 2131 if (number_bytes == 4) in SyncExifProfile()
|
/dports/graphics/ImageMagick7-nox11/ImageMagick-7.1.0-19/MagickCore/ |
H A D | profile.c | 2275 number_bytes; in SyncExifProfile() local 2294 number_bytes=(size_t) components*format_bytes[format]; in SyncExifProfile() 2295 if ((ssize_t) number_bytes < components) in SyncExifProfile() 2297 if (number_bytes <= 4) in SyncExifProfile() 2305 if ((offset < 0) || ((size_t) (offset+number_bytes) > length)) in SyncExifProfile() 2307 if (~length < number_bytes) in SyncExifProfile() 2316 if (number_bytes == 8) in SyncExifProfile() 2323 if (number_bytes == 8) in SyncExifProfile() 2329 if (number_bytes == 4) in SyncExifProfile() 2340 if (number_bytes == 4) in SyncExifProfile()
|
/dports/graphics/ImageMagick7/ImageMagick-7.1.0-19/MagickCore/ |
H A D | profile.c | 2275 number_bytes; in SyncExifProfile() local 2294 number_bytes=(size_t) components*format_bytes[format]; in SyncExifProfile() 2295 if ((ssize_t) number_bytes < components) in SyncExifProfile() 2297 if (number_bytes <= 4) in SyncExifProfile() 2305 if ((offset < 0) || ((size_t) (offset+number_bytes) > length)) in SyncExifProfile() 2307 if (~length < number_bytes) in SyncExifProfile() 2316 if (number_bytes == 8) in SyncExifProfile() 2323 if (number_bytes == 8) in SyncExifProfile() 2329 if (number_bytes == 4) in SyncExifProfile() 2340 if (number_bytes == 4) in SyncExifProfile()
|
/dports/databases/py-sqlite3/Python-3.8.12/Modules/clinic/ |
H A D | _winapi.c.h | 661 DWORD file_offset_low, size_t number_bytes); 671 size_t number_bytes; in _winapi_MapViewOfFile() local 675 …, &desired_access, &file_offset_high, &file_offset_low, _PyLong_Size_t_Converter, &number_bytes)) { in _winapi_MapViewOfFile() 678 …ViewOfFile_impl(module, file_map, desired_access, file_offset_high, file_offset_low, number_bytes); in _winapi_MapViewOfFile()
|
/dports/databases/py-gdbm/Python-3.8.12/Modules/clinic/ |
H A D | _winapi.c.h | 661 DWORD file_offset_low, size_t number_bytes); 671 size_t number_bytes; in _winapi_MapViewOfFile() local 675 …, &desired_access, &file_offset_high, &file_offset_low, _PyLong_Size_t_Converter, &number_bytes)) { in _winapi_MapViewOfFile() 678 …ViewOfFile_impl(module, file_map, desired_access, file_offset_high, file_offset_low, number_bytes); in _winapi_MapViewOfFile()
|
/dports/lang/python-tools/Python-3.8.12/Modules/clinic/ |
H A D | _winapi.c.h | 661 DWORD file_offset_low, size_t number_bytes); 671 size_t number_bytes; in _winapi_MapViewOfFile() local 675 …, &desired_access, &file_offset_high, &file_offset_low, _PyLong_Size_t_Converter, &number_bytes)) { in _winapi_MapViewOfFile() 678 …ViewOfFile_impl(module, file_map, desired_access, file_offset_high, file_offset_low, number_bytes); in _winapi_MapViewOfFile()
|
/dports/lang/python38/Python-3.8.12/Modules/clinic/ |
H A D | _winapi.c.h | 661 DWORD file_offset_low, size_t number_bytes); 671 size_t number_bytes; in _winapi_MapViewOfFile() local 675 …, &desired_access, &file_offset_high, &file_offset_low, _PyLong_Size_t_Converter, &number_bytes)) { in _winapi_MapViewOfFile() 678 …ViewOfFile_impl(module, file_map, desired_access, file_offset_high, file_offset_low, number_bytes); in _winapi_MapViewOfFile()
|
/dports/lang/python39/Python-3.9.9/Modules/clinic/ |
H A D | _winapi.c.h | 661 DWORD file_offset_low, size_t number_bytes); 671 size_t number_bytes; in _winapi_MapViewOfFile() local 675 …, &desired_access, &file_offset_high, &file_offset_low, _PyLong_Size_t_Converter, &number_bytes)) { in _winapi_MapViewOfFile() 678 …ViewOfFile_impl(module, file_map, desired_access, file_offset_high, file_offset_low, number_bytes); in _winapi_MapViewOfFile()
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Modules/clinic/ |
H A D | _winapi.c.h | 661 DWORD file_offset_low, size_t number_bytes); 671 size_t number_bytes; in _winapi_MapViewOfFile() local 675 …, &desired_access, &file_offset_high, &file_offset_low, _PyLong_Size_t_Converter, &number_bytes)) { in _winapi_MapViewOfFile() 678 …ViewOfFile_impl(module, file_map, desired_access, file_offset_high, file_offset_low, number_bytes); in _winapi_MapViewOfFile()
|
/dports/lang/python311/Python-3.11.0a3/Modules/clinic/ |
H A D | _winapi.c.h | 707 DWORD file_offset_low, size_t number_bytes); 717 size_t number_bytes; in _winapi_MapViewOfFile() local 721 …, &desired_access, &file_offset_high, &file_offset_low, _PyLong_Size_t_Converter, &number_bytes)) { in _winapi_MapViewOfFile() 724 …ViewOfFile_impl(module, file_map, desired_access, file_offset_high, file_offset_low, number_bytes); in _winapi_MapViewOfFile()
|