Home
last modified time | relevance | path

Searched refs:cur_bytes (Results 1 – 25 of 137) sorted by relevance

123456

/dports/devel/google-perftools/gperftools-2.9.1/src/windows/
H A Dpreamble_patcher_with_stub.cc143 unsigned int cur_bytes = 0; in RawPatchWithStub() local
145 disassembler.Disassemble(target + preamble_bytes, cur_bytes); in RawPatchWithStub()
149 if (IsShortConditionalJump(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
154 } else if (IsShortJump(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
155 jump_ret = PatchShortJump(target + preamble_bytes, cur_bytes, in RawPatchWithStub()
160 IsNearRelativeJump(target + preamble_bytes, cur_bytes) || in RawPatchWithStub()
161 IsNearAbsoluteCall(target + preamble_bytes, cur_bytes) || in RawPatchWithStub()
179 if (IsMovWithDisplacement(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
181 if (PatchMovWithDisplacement(target + preamble_bytes, cur_bytes, in RawPatchWithStub()
191 stub_bytes += cur_bytes; in RawPatchWithStub()
[all …]
H A Dpreamble_patcher.cc358 unsigned int cur_bytes = 0; in Unpatch() local
360 disassembler.Disassemble(preamble_stub + preamble_bytes, cur_bytes); in Unpatch()
364 if (IsNearConditionalJump(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
365 IsNearRelativeJump(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
366 IsNearAbsoluteCall(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
367 IsNearRelativeCall(preamble_stub + preamble_bytes, cur_bytes)) { in Unpatch()
369 cur_bytes, target + target_bytes, in Unpatch()
379 if (IsMovWithDisplacement(preamble_stub + preamble_bytes, cur_bytes)) { in Unpatch()
392 original_function_stub) + preamble_bytes), cur_bytes); in Unpatch()
393 target_bytes += cur_bytes; in Unpatch()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tcmalloc/vendor/src/windows/
H A Dpreamble_patcher_with_stub.cc143 unsigned int cur_bytes = 0; in RawPatchWithStub() local
145 disassembler.Disassemble(target + preamble_bytes, cur_bytes); in RawPatchWithStub()
149 if (IsShortConditionalJump(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
154 } else if (IsShortJump(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
155 jump_ret = PatchShortJump(target + preamble_bytes, cur_bytes, in RawPatchWithStub()
160 IsNearRelativeJump(target + preamble_bytes, cur_bytes) || in RawPatchWithStub()
161 IsNearAbsoluteCall(target + preamble_bytes, cur_bytes) || in RawPatchWithStub()
179 if (IsMovWithDisplacement(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
181 if (PatchMovWithDisplacement(target + preamble_bytes, cur_bytes, in RawPatchWithStub()
191 stub_bytes += cur_bytes; in RawPatchWithStub()
[all …]
H A Dpreamble_patcher.cc358 unsigned int cur_bytes = 0; in Unpatch() local
360 disassembler.Disassemble(preamble_stub + preamble_bytes, cur_bytes); in Unpatch()
364 if (IsNearConditionalJump(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
365 IsNearRelativeJump(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
366 IsNearAbsoluteCall(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
367 IsNearRelativeCall(preamble_stub + preamble_bytes, cur_bytes)) { in Unpatch()
369 cur_bytes, target + target_bytes, in Unpatch()
379 if (IsMovWithDisplacement(preamble_stub + preamble_bytes, cur_bytes)) { in Unpatch()
392 original_function_stub) + preamble_bytes), cur_bytes); in Unpatch()
393 target_bytes += cur_bytes; in Unpatch()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tcmalloc/chromium/src/windows/
H A Dpreamble_patcher_with_stub.cc143 unsigned int cur_bytes = 0; in RawPatchWithStub() local
145 disassembler.Disassemble(target + preamble_bytes, cur_bytes); in RawPatchWithStub()
149 if (IsShortConditionalJump(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
154 } else if (IsShortJump(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
155 jump_ret = PatchShortJump(target + preamble_bytes, cur_bytes, in RawPatchWithStub()
160 IsNearRelativeJump(target + preamble_bytes, cur_bytes) || in RawPatchWithStub()
161 IsNearAbsoluteCall(target + preamble_bytes, cur_bytes) || in RawPatchWithStub()
179 if (IsMovWithDisplacement(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
181 if (PatchMovWithDisplacement(target + preamble_bytes, cur_bytes, in RawPatchWithStub()
191 stub_bytes += cur_bytes; in RawPatchWithStub()
[all …]
H A Dpreamble_patcher.cc358 unsigned int cur_bytes = 0; in Unpatch() local
360 disassembler.Disassemble(preamble_stub + preamble_bytes, cur_bytes); in Unpatch()
364 if (IsNearConditionalJump(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
365 IsNearRelativeJump(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
366 IsNearAbsoluteCall(preamble_stub + preamble_bytes, cur_bytes) || in Unpatch()
367 IsNearRelativeCall(preamble_stub + preamble_bytes, cur_bytes)) { in Unpatch()
369 cur_bytes, target + target_bytes, in Unpatch()
379 if (IsMovWithDisplacement(preamble_stub + preamble_bytes, cur_bytes)) { in Unpatch()
392 original_function_stub) + preamble_bytes), cur_bytes); in Unpatch()
393 target_bytes += cur_bytes; in Unpatch()
[all …]
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/gperftools-2.5/src/windows/
H A Dpreamble_patcher_with_stub.cc143 unsigned int cur_bytes = 0; in RawPatchWithStub() local
145 disassembler.Disassemble(target + preamble_bytes, cur_bytes); in RawPatchWithStub()
149 if (IsShortConditionalJump(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
154 } else if (IsShortJump(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
155 jump_ret = PatchShortJump(target + preamble_bytes, cur_bytes, in RawPatchWithStub()
160 IsNearRelativeJump(target + preamble_bytes, cur_bytes) || in RawPatchWithStub()
161 IsNearAbsoluteCall(target + preamble_bytes, cur_bytes) || in RawPatchWithStub()
179 if (IsMovWithDisplacement(target + preamble_bytes, cur_bytes)) { in RawPatchWithStub()
181 if (PatchMovWithDisplacement(target + preamble_bytes, cur_bytes, in RawPatchWithStub()
191 stub_bytes += cur_bytes; in RawPatchWithStub()
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/storage/innobase/rem/
H A Drem0cmp.c305 ulint cur_bytes; in cmp_data_data_slow() local
337 cur_bytes = 0; in cmp_data_data_slow()
391 cur_bytes++; in cmp_data_data_slow()
536 cur_bytes = 0; in cmp_dtuple_rec_with_match()
548 + cur_bytes; in cmp_dtuple_rec_with_match()
610 cur_bytes++; in cmp_dtuple_rec_with_match()
617 cur_bytes = 0; in cmp_dtuple_rec_with_match()
734 ulint cur_bytes; in cmp_rec_rec_simple() local
794 for (cur_bytes = 0;; cur_bytes++, rec1_b_ptr++, rec2_b_ptr++) { in cmp_rec_rec_simple()
1072 cur_bytes++; in cmp_rec_rec_with_match()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/innobase/rem/
H A Drem0cmp.cc372 ulint cur_bytes; in cmp_data_data_slow() local
404 cur_bytes = 0; in cmp_data_data_slow()
458 cur_bytes++; in cmp_data_data_slow()
768 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
780 + cur_bytes; in cmp_dtuple_rec_with_match_low()
842 cur_bytes++; in cmp_dtuple_rec_with_match_low()
849 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
977 for (ulint cur_bytes = 0;; cur_bytes++, rec1_b_ptr++, rec2_b_ptr++) { in cmp_rec_rec_simple_field() local
1261 cur_bytes = 0; in cmp_rec_rec_with_match()
1331 cur_bytes++; in cmp_rec_rec_with_match()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/innobase/rem/
H A Drem0cmp.cc372 ulint cur_bytes; in cmp_data_data_slow() local
404 cur_bytes = 0; in cmp_data_data_slow()
458 cur_bytes++; in cmp_data_data_slow()
768 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
780 + cur_bytes; in cmp_dtuple_rec_with_match_low()
842 cur_bytes++; in cmp_dtuple_rec_with_match_low()
849 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
977 for (ulint cur_bytes = 0;; cur_bytes++, rec1_b_ptr++, rec2_b_ptr++) { in cmp_rec_rec_simple_field() local
1261 cur_bytes = 0; in cmp_rec_rec_with_match()
1331 cur_bytes++; in cmp_rec_rec_with_match()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/innobase/rem/
H A Drem0cmp.cc372 ulint cur_bytes; in cmp_data_data_slow() local
404 cur_bytes = 0; in cmp_data_data_slow()
458 cur_bytes++; in cmp_data_data_slow()
768 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
780 + cur_bytes; in cmp_dtuple_rec_with_match_low()
842 cur_bytes++; in cmp_dtuple_rec_with_match_low()
849 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
977 for (ulint cur_bytes = 0;; cur_bytes++, rec1_b_ptr++, rec2_b_ptr++) { in cmp_rec_rec_simple_field() local
1261 cur_bytes = 0; in cmp_rec_rec_with_match()
1331 cur_bytes++; in cmp_rec_rec_with_match()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/innobase/rem/
H A Drem0cmp.cc372 ulint cur_bytes; in cmp_data_data_slow() local
404 cur_bytes = 0; in cmp_data_data_slow()
458 cur_bytes++; in cmp_data_data_slow()
768 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
780 + cur_bytes; in cmp_dtuple_rec_with_match_low()
842 cur_bytes++; in cmp_dtuple_rec_with_match_low()
849 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
977 for (ulint cur_bytes = 0;; cur_bytes++, rec1_b_ptr++, rec2_b_ptr++) { in cmp_rec_rec_simple_field() local
1261 cur_bytes = 0; in cmp_rec_rec_with_match()
1331 cur_bytes++; in cmp_rec_rec_with_match()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/storage/innobase/rem/
H A Drem0cmp.cc372 ulint cur_bytes; in cmp_data_data_slow() local
404 cur_bytes = 0; in cmp_data_data_slow()
458 cur_bytes++; in cmp_data_data_slow()
768 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
780 + cur_bytes; in cmp_dtuple_rec_with_match_low()
842 cur_bytes++; in cmp_dtuple_rec_with_match_low()
849 cur_bytes = 0; in cmp_dtuple_rec_with_match_low()
977 for (ulint cur_bytes = 0;; cur_bytes++, rec1_b_ptr++, rec2_b_ptr++) { in cmp_rec_rec_simple_field() local
1261 cur_bytes = 0; in cmp_rec_rec_with_match()
1331 cur_bytes++; in cmp_rec_rec_with_match()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/block/
H A Dblock-copy.c478 int64_t next_zero, cur_bytes, status_bytes; in block_copy_dirty_clusters() local
489 cur_bytes = MIN(bytes, s->copy_size); in block_copy_dirty_clusters()
492 cur_bytes); in block_copy_dirty_clusters()
496 cur_bytes = next_zero - offset; in block_copy_dirty_clusters()
502 cur_bytes = MIN(cur_bytes, status_bytes); in block_copy_dirty_clusters()
503 block_copy_inflight_req_shrink(s, &req, cur_bytes); in block_copy_dirty_clusters()
517 co_get_from_shres(s->mem, cur_bytes); in block_copy_dirty_clusters()
520 co_put_to_shres(s->mem, cur_bytes); in block_copy_dirty_clusters()
526 progress_work_done(s->progress, cur_bytes); in block_copy_dirty_clusters()
528 offset += cur_bytes; in block_copy_dirty_clusters()
[all …]
H A Dcrypto.c342 uint64_t cur_bytes; /* number of bytes in current iteration */ in block_crypto_co_preadv() local
369 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_preadv()
372 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_preadv()
375 cur_bytes, &hd_qiov, 0); in block_crypto_co_preadv()
388 bytes -= cur_bytes; in block_crypto_co_preadv()
389 bytes_done += cur_bytes; in block_crypto_co_preadv()
432 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_pwritev()
443 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_pwritev()
446 cur_bytes, &hd_qiov, flags); in block_crypto_co_pwritev()
451 bytes -= cur_bytes; in block_crypto_co_pwritev()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/block/
H A Dblock-copy.c478 int64_t next_zero, cur_bytes, status_bytes; in block_copy_dirty_clusters() local
489 cur_bytes = MIN(bytes, s->copy_size); in block_copy_dirty_clusters()
492 cur_bytes); in block_copy_dirty_clusters()
496 cur_bytes = next_zero - offset; in block_copy_dirty_clusters()
502 cur_bytes = MIN(cur_bytes, status_bytes); in block_copy_dirty_clusters()
503 block_copy_inflight_req_shrink(s, &req, cur_bytes); in block_copy_dirty_clusters()
517 co_get_from_shres(s->mem, cur_bytes); in block_copy_dirty_clusters()
520 co_put_to_shres(s->mem, cur_bytes); in block_copy_dirty_clusters()
526 progress_work_done(s->progress, cur_bytes); in block_copy_dirty_clusters()
528 offset += cur_bytes; in block_copy_dirty_clusters()
[all …]
H A Dcrypto.c342 uint64_t cur_bytes; /* number of bytes in current iteration */ in block_crypto_co_preadv() local
369 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_preadv()
372 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_preadv()
375 cur_bytes, &hd_qiov, 0); in block_crypto_co_preadv()
388 bytes -= cur_bytes; in block_crypto_co_preadv()
389 bytes_done += cur_bytes; in block_crypto_co_preadv()
432 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_pwritev()
443 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_pwritev()
446 cur_bytes, &hd_qiov, flags); in block_crypto_co_pwritev()
451 bytes -= cur_bytes; in block_crypto_co_pwritev()
[all …]
/dports/x11-themes/chicago95/Chicago95-2.0.1-81-gd1c86db/Cursors/Chicago95 Standard Cursors/build/
H A Dcursors_gen.py370 cur_bytes = bytearray(cur_file)
378 'res' : struct.unpack('<H',cur_bytes[0:2])[0],
379 'ico_type' : struct.unpack('<H',cur_bytes[2:4])[0],
380 'ico_num_images' : struct.unpack('<H',cur_bytes[4:6])[0]
382 'ico_file' : cur_bytes,
386 'bWidth' : cur_bytes[6], # Width, in pixels, of the image
387 'bHeight' : cur_bytes[7], # Height, in pixels, of the image
388 'bColorCount' : cur_bytes[8], # Number of colors in image (0 if >=8bpp)
389 'bReserved' : cur_bytes[9], # Reserved
390 'wPlanes' : struct.unpack('<H',cur_bytes[10:12])[0], # Color Planes
[all …]
/dports/x11-themes/chicago95/Chicago95-2.0.1-81-gd1c86db/Cursors/Chicago95 Animated Hourglass Cursors/build/
H A Dcursors_gen.py370 cur_bytes = bytearray(cur_file)
378 'res' : struct.unpack('<H',cur_bytes[0:2])[0],
379 'ico_type' : struct.unpack('<H',cur_bytes[2:4])[0],
380 'ico_num_images' : struct.unpack('<H',cur_bytes[4:6])[0]
382 'ico_file' : cur_bytes,
386 'bWidth' : cur_bytes[6], # Width, in pixels, of the image
387 'bHeight' : cur_bytes[7], # Height, in pixels, of the image
388 'bColorCount' : cur_bytes[8], # Number of colors in image (0 if >=8bpp)
389 'bReserved' : cur_bytes[9], # Reserved
390 'wPlanes' : struct.unpack('<H',cur_bytes[10:12])[0], # Color Planes
[all …]
/dports/x11-themes/chicago95/Chicago95-2.0.1-81-gd1c86db/Cursors/Chicago95 Standard Cursors Black/build/
H A Dcursors_gen.py370 cur_bytes = bytearray(cur_file)
378 'res' : struct.unpack('<H',cur_bytes[0:2])[0],
379 'ico_type' : struct.unpack('<H',cur_bytes[2:4])[0],
380 'ico_num_images' : struct.unpack('<H',cur_bytes[4:6])[0]
382 'ico_file' : cur_bytes,
386 'bWidth' : cur_bytes[6], # Width, in pixels, of the image
387 'bHeight' : cur_bytes[7], # Height, in pixels, of the image
388 'bColorCount' : cur_bytes[8], # Number of colors in image (0 if >=8bpp)
389 'bReserved' : cur_bytes[9], # Reserved
390 'wPlanes' : struct.unpack('<H',cur_bytes[10:12])[0], # Color Planes
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/block/
H A Dcrypto.c331 uint64_t cur_bytes; /* number of bytes in current iteration */ in block_crypto_co_preadv() local
358 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_preadv()
361 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_preadv()
364 cur_bytes, &hd_qiov, 0); in block_crypto_co_preadv()
377 bytes -= cur_bytes; in block_crypto_co_preadv()
378 bytes_done += cur_bytes; in block_crypto_co_preadv()
421 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_pwritev()
432 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_pwritev()
435 cur_bytes, &hd_qiov, flags); in block_crypto_co_pwritev()
440 bytes -= cur_bytes; in block_crypto_co_pwritev()
[all …]
/dports/misc/veles/veles-2018.05.0/src/data/
H A Dbindata.cc35 unsigned cur_bytes = num_bits >> 3; in copyBits() local
36 memcpy(dst, src, cur_bytes); in copyBits()
37 dst += cur_bytes; in copyBits()
38 src += cur_bytes; in copyBits()
39 num_bits -= cur_bytes << 3; in copyBits()
/dports/emulators/qemu42/qemu-4.2.1/block/
H A Dcrypto.c341 uint64_t cur_bytes; /* number of bytes in current iteration */ in block_crypto_co_preadv() local
368 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_preadv()
371 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_preadv()
374 cur_bytes, &hd_qiov, 0); in block_crypto_co_preadv()
387 bytes -= cur_bytes; in block_crypto_co_preadv()
388 bytes_done += cur_bytes; in block_crypto_co_preadv()
431 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_pwritev()
442 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_pwritev()
445 cur_bytes, &hd_qiov, flags); in block_crypto_co_pwritev()
450 bytes -= cur_bytes; in block_crypto_co_pwritev()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/block/
H A Dcrypto.c341 uint64_t cur_bytes; /* number of bytes in current iteration */ in block_crypto_co_preadv() local
368 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_preadv()
371 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_preadv()
374 cur_bytes, &hd_qiov, 0); in block_crypto_co_preadv()
387 bytes -= cur_bytes; in block_crypto_co_preadv()
388 bytes_done += cur_bytes; in block_crypto_co_preadv()
431 cur_bytes = MIN(bytes, BLOCK_CRYPTO_MAX_IO_SIZE); in block_crypto_co_pwritev()
442 qemu_iovec_add(&hd_qiov, cipher_data, cur_bytes); in block_crypto_co_pwritev()
445 cur_bytes, &hd_qiov, flags); in block_crypto_co_pwritev()
450 bytes -= cur_bytes; in block_crypto_co_pwritev()
[all …]
/dports/devel/util-linux/util-linux-2.36/lib/
H A Dmbsedit.c27 edit->cur_bytes = strlen(buf); in mbs_new_edit()
125 edit->cursor = edit->cur_bytes; in mbs_edit_goto()
181 if (edit->cur_cells == 0 || edit->cursor >= edit->cur_bytes) in mbs_edit_remove()
188 edit->cur_bytes -= n; in mbs_edit_remove()
195 if (edit->cursor >= edit->cur_bytes in mbs_edit_delete()
213 if (edit->cur_bytes + MB_CUR_MAX > edit->max_bytes) in mbs_edit_insert()
222 edit->cur_bytes += n; in mbs_edit_insert()

123456