/dports/comms/libmodbus/libmodbus-3.1.6/src/ |
H A D | modbus.c | 214 int req_length; in modbus_send_raw_request() local 1045 int req_length; in read_io_status() local 1147 int req_length; in read_registers() local 1244 int req_length; in write_single() local 1298 int req_length; in modbus_write_bits() local 1360 int req_length; in modbus_write_registers() local 1407 int req_length; in modbus_mask_write_register() local 1418 req_length -= 2; in modbus_mask_write_register() 1450 int req_length; in modbus_write_and_read_registers() local 1524 int req_length; in modbus_report_slave_id() local [all …]
|
H A D | modbus-private.h | 76 int (*prepare_response_tid) (const uint8_t *req, int *req_length); 77 int (*send_msg_pre) (uint8_t *req, int req_length); 78 ssize_t (*send) (modbus_t *ctx, const uint8_t *req, int req_length);
|
H A D | modbus-rtu.c | 148 static int _modbus_rtu_prepare_response_tid(const uint8_t *req, int *req_length) in _modbus_rtu_prepare_response_tid() argument 150 (*req_length) -= _MODBUS_RTU_CHECKSUM_LENGTH; in _modbus_rtu_prepare_response_tid() 155 static int _modbus_rtu_send_msg_pre(uint8_t *req, int req_length) in _modbus_rtu_send_msg_pre() argument 157 uint16_t crc = crc16(req, req_length); in _modbus_rtu_send_msg_pre() 158 req[req_length++] = crc >> 8; in _modbus_rtu_send_msg_pre() 159 req[req_length++] = crc & 0x00FF; in _modbus_rtu_send_msg_pre() 161 return req_length; in _modbus_rtu_send_msg_pre() 270 static ssize_t _modbus_rtu_send(modbus_t *ctx, const uint8_t *req, int req_length) in _modbus_rtu_send() argument 289 size = write(ctx->s, req, req_length); in _modbus_rtu_send() 291 usleep(ctx_rtu->onebyte_time * req_length + ctx_rtu->rts_delay); in _modbus_rtu_send() [all …]
|
/dports/security/libgcrypt/libgcrypt-1.9.4/random/ |
H A D | rndhw.c | 205 enum random_origins origin, size_t req_length) in _gcry_rndhw_poll_slow() argument 212 req_length /= 2; /* Up to 50%. */ in _gcry_rndhw_poll_slow() 217 req_length /= 2; /* Up to 25%. */ in _gcry_rndhw_poll_slow() 226 if (nbytes > req_length) in _gcry_rndhw_poll_slow() 227 nbytes = req_length; in _gcry_rndhw_poll_slow()
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/libgcrypt/random/ |
H A D | rndhw.c | 205 enum random_origins origin, size_t req_length) in _gcry_rndhw_poll_slow() argument 212 req_length /= 2; /* Up to 50%. */ in _gcry_rndhw_poll_slow() 217 req_length /= 2; /* Up to 25%. */ in _gcry_rndhw_poll_slow() 226 if (nbytes > req_length) in _gcry_rndhw_poll_slow() 227 nbytes = req_length; in _gcry_rndhw_poll_slow()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/video_coding/codecs/i420/main/source/ |
H A D | i420.cc | 101 size_t req_length = in Encode() local 104 if (_encodedImage._size > req_length) { in Encode() 108 _encodedImage._buffer = new uint8_t[req_length]; in Encode() 109 _encodedImage._size = req_length; in Encode() 116 int ret_length = ExtractBuffer(inputImage, req_length - kI420HeaderSize, in Encode() 201 size_t req_length = CalcBufferSize(kI420, _width, _height) + kI420HeaderSize; in Decode() local 203 if (req_length > inputImage._length) { in Decode()
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/video_coding/codecs/i420/ |
H A D | i420.cc | 99 size_t req_length = in Encode() local 102 if (_encodedImage._size > req_length) { in Encode() 106 _encodedImage._buffer = new uint8_t[req_length]; in Encode() 107 _encodedImage._size = req_length; in Encode() 115 ExtractBuffer(inputImage, req_length - kI420HeaderSize, buffer); in Encode() 196 size_t req_length = CalcBufferSize(kI420, _width, _height) + kI420HeaderSize; in Decode() local 198 if (req_length > inputImage._length) { in Decode()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/video_coding/codecs/i420/ |
H A D | i420.cc | 100 size_t req_length = CalcBufferSize(VideoType::kI420, inputImage.width(), in Encode() local 103 if (_encodedImage._size > req_length) { in Encode() 107 _encodedImage._buffer = new uint8_t[req_length]; in Encode() 108 _encodedImage._size = req_length; in Encode() 116 ExtractBuffer(inputImage, req_length - kI420HeaderSize, buffer); in Encode() 197 size_t req_length = in Decode() local 200 if (req_length > inputImage._length) { in Decode()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/video_coding/codecs/i420/ |
H A D | i420.cc | 100 size_t req_length = CalcBufferSize(VideoType::kI420, inputImage.width(), in Encode() local 103 if (_encodedImage._size > req_length) { in Encode() 107 _encodedImage._buffer = new uint8_t[req_length]; in Encode() 108 _encodedImage._size = req_length; in Encode() 116 ExtractBuffer(inputImage, req_length - kI420HeaderSize, buffer); in Encode() 197 size_t req_length = in Decode() local 200 if (req_length > inputImage._length) { in Decode()
|
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/video_coding/codecs/i420/ |
H A D | i420.cc | 100 size_t req_length = CalcBufferSize(VideoType::kI420, inputImage.width(), in Encode() local 103 if (_encodedImage._size > req_length) { in Encode() 107 _encodedImage._buffer = new uint8_t[req_length]; in Encode() 108 _encodedImage._size = req_length; in Encode() 116 ExtractBuffer(inputImage, req_length - kI420HeaderSize, buffer); in Encode() 197 size_t req_length = in Decode() local 200 if (req_length > inputImage._length) { in Decode()
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/cairo/ |
H A D | xlib-flush-glyphs.patch | 53 + int req_length = sz_xRenderAddGlyphsReq + 4; 54 + if (req_length & 3) 55 + req_length += 4 - (req_length & 3); 56 + if (dpy->bufptr + req_length > dpy->bufmax)
|
/dports/www/firefox/firefox-99.0/gfx/cairo/ |
H A D | xlib-flush-glyphs.patch | 53 + int req_length = sz_xRenderAddGlyphsReq + 4; 54 + if (req_length & 3) 55 + req_length += 4 - (req_length & 3); 56 + if (dpy->bufptr + req_length > dpy->bufmax)
|
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/cairo/ |
H A D | xlib-flush-glyphs.patch | 53 + int req_length = sz_xRenderAddGlyphsReq + 4; 54 + if (req_length & 3) 55 + req_length += 4 - (req_length & 3); 56 + if (dpy->bufptr + req_length > dpy->bufmax)
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/cairo/ |
H A D | xlib-flush-glyphs.patch | 53 + int req_length = sz_xRenderAddGlyphsReq + 4; 54 + if (req_length & 3) 55 + req_length += 4 - (req_length & 3); 56 + if (dpy->bufptr + req_length > dpy->bufmax)
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/cairo/ |
H A D | xlib-flush-glyphs.patch | 53 + int req_length = sz_xRenderAddGlyphsReq + 4; 54 + if (req_length & 3) 55 + req_length += 4 - (req_length & 3); 56 + if (dpy->bufptr + req_length > dpy->bufmax)
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/cairo/ |
H A D | xlib-flush-glyphs.patch | 53 + int req_length = sz_xRenderAddGlyphsReq + 4; 54 + if (req_length & 3) 55 + req_length += 4 - (req_length & 3); 56 + if (dpy->bufptr + req_length > dpy->bufmax)
|
/dports/math/ogdf/OGDF/src/ogdf/misclayout/ |
H A D | BertaultLayout.cpp | 44 , req_length(0) in BertaultLayout() 70 req_length = 0; in call() 77 req_length = req_length/(G.numberOfEdges() == 0 ? 1 : G.numberOfEdges()); in call() 79 req_length = userReqLength; in call() 188 (F_x)[*v]+=((req_length)/dist)*((req_length)/dist)*(AG.x(*v)-AG.x(*j)); in f_Node_Repulsive() 189 (F_y)[*v]+=((req_length)/dist)*((req_length)/dist)*(AG.y(*v)-AG.y(*j)); in f_Node_Repulsive() 230 double limit = 4*req_length; in f_Edge() 431 if(req_length==0) in initPositions() 432 req_length=50; in initPositions() 529 AG.width(v)=req_length/10; in initPositions() [all …]
|
/dports/net/chrony/chrony-4.2/test/unit/ |
H A D | ntp_core.c | 36 static int req_length, res_length; variable 44 #define NIO_SendPacket(msg, to, from, len, process_tx) (memcpy(&req_buffer, msg, len), req_length =… 105 NCR_ProcessTxKnown(inst, &local_addr, &local_ts, &req_buffer, req_length); in send_request() 124 &req_buffer, req_length); in process_request() 125 res_length = req_length; in process_request() 147 TEST_CHECK(req_length >= NTP_HEADER_LENGTH); in send_response() 506 res_length = req_length = 0; in test_unit() 513 assert(!res_length || res_length == req_length); in test_unit() 514 res_length = req_length; in test_unit() 534 assert(res_length == req_length); in test_unit()
|
/dports/net/chrony-lite/chrony-4.2/test/unit/ |
H A D | ntp_core.c | 36 static int req_length, res_length; variable 44 #define NIO_SendPacket(msg, to, from, len, process_tx) (memcpy(&req_buffer, msg, len), req_length =… 105 NCR_ProcessTxKnown(inst, &local_addr, &local_ts, &req_buffer, req_length); in send_request() 124 &req_buffer, req_length); in process_request() 125 res_length = req_length; in process_request() 147 TEST_CHECK(req_length >= NTP_HEADER_LENGTH); in send_response() 506 res_length = req_length = 0; in test_unit() 513 assert(!res_length || res_length == req_length); in test_unit() 514 res_length = req_length; in test_unit() 534 assert(res_length == req_length); in test_unit()
|
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/camel/ |
H A D | camel-net-utils.c | 97 gint req_length; \ 102 req_length = 0; \ 105 req_length += strlen (h->h_aliases[i]) + 1; \ 111 req_length += h->h_length; \ 115 req_length += sizeof (gchar *) * (num_aliases + 1); \ 116 req_length += sizeof (gchar *) * (num_addrs + 1); \ 117 req_length += strlen (h->h_name) + 1; \ 119 if (buflen < req_length) { \
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/squashfs/ |
H A D | block.c | 35 int offset, int req_length) in copy_bio_to_actor() argument 46 while (copied_bytes < req_length) { in copy_bio_to_actor() 51 req_length - copied_bytes); in copy_bio_to_actor()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/squashfs/ |
H A D | block.c | 35 int offset, int req_length) in copy_bio_to_actor() argument 46 while (copied_bytes < req_length) { in copy_bio_to_actor() 51 req_length - copied_bytes); in copy_bio_to_actor()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/squashfs/ |
H A D | block.c | 35 int offset, int req_length) in copy_bio_to_actor() argument 46 while (copied_bytes < req_length) { in copy_bio_to_actor() 51 req_length - copied_bytes); in copy_bio_to_actor()
|
/dports/math/ogdf/OGDF/include/ogdf/misclayout/ |
H A D | BertaultLayout.h | 79 double reqlength() { return req_length; } in reqlength() 192 double req_length; //! req_length is the required edge length variable
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/include/llvm/CHERI/cheri-compressed-cap/ |
H A D | cheri_compressed_cap.h | 921 static inline uint64_t cc128_get_alignment_mask(uint64_t req_length) { in cc128_get_alignment_mask() argument 922 if (req_length == 0) { in cc128_get_alignment_mask() 940 uint64_t req_base = UINT64_MAX - req_length; in cc128_get_alignment_mask() 942 cc128_setbounds_impl(&tmpcap, req_base, req_base + req_length, &mask); in cc128_get_alignment_mask() 948 static inline uint64_t cc128_get_required_alignment(uint64_t req_length) { in cc128_get_required_alignment() argument 951 return ~cc128_get_alignment_mask(req_length) + 1; in cc128_get_required_alignment() 954 static inline uint64_t cc128_get_representable_length(uint64_t req_length) { in cc128_get_representable_length() argument 955 uint64_t mask = cc128_get_alignment_mask(req_length); in cc128_get_representable_length() 956 return (req_length + ~mask) & mask; in cc128_get_representable_length()
|