/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libusb/src/libusb/os/ |
H A D | windows_common.h | 43 #define safe_strcp(dst, dst_max, src, count) do {memcpy(dst, src, safe_min(count, dst_max)); \ argument 44 ((char*)dst)[safe_min(count, dst_max)-1] = 0;} while(0) 45 #define safe_strcpy(dst, dst_max, src) safe_strcp(dst, dst_max, src, safe_strlen(src)+1) argument 46 #define safe_strncat(dst, dst_max, src, count) strncat(dst, src, safe_min(count, dst_max - safe_str… argument 47 #define safe_strcat(dst, dst_max, src) safe_strncat(dst, dst_max, src, safe_strlen(src)+1) argument
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libusb/src/libusb/os/ |
H A D | windows_common.h | 43 #define safe_strcp(dst, dst_max, src, count) do {memcpy(dst, src, safe_min(count, dst_max)); \ argument 44 ((char*)dst)[safe_min(count, dst_max)-1] = 0;} while(0) 45 #define safe_strcpy(dst, dst_max, src) safe_strcp(dst, dst_max, src, safe_strlen(src)+1) argument 46 #define safe_strncat(dst, dst_max, src, count) strncat(dst, src, safe_min(count, dst_max - safe_str… argument 47 #define safe_strcat(dst, dst_max, src) safe_strncat(dst, dst_max, src, safe_strlen(src)+1) argument
|
/dports/misc/amanda-server/amanda-3.3.9/ndmp-src/ |
H A D | ndml_cstr.c | 59 ndmcstr_from_str (char *src, char *dst, unsigned dst_max) in ndmcstr_from_str() argument 63 unsigned char * q_end = q + dst_max - 1; in ndmcstr_from_str() 85 ndmcstr_to_str (char *src, char *dst, unsigned dst_max) in ndmcstr_to_str() argument 89 unsigned char * q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/misc/amanda-client/amanda-3.3.9/ndmp-src/ |
H A D | ndml_cstr.c | 59 ndmcstr_from_str (char *src, char *dst, unsigned dst_max) in ndmcstr_from_str() argument 63 unsigned char * q_end = q + dst_max - 1; in ndmcstr_from_str() 85 ndmcstr_to_str (char *src, char *dst, unsigned dst_max) in ndmcstr_to_str() argument 89 unsigned char * q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos18-client/bareos-Release-18.2.12/core/src/ndmp/ |
H A D | ndml_cstr.c | 59 ndmcstr_from_str (char *src, char *dst, unsigned dst_max) in ndmcstr_from_str() argument 63 unsigned char * q_end = q + dst_max - 1; in ndmcstr_from_str() 85 ndmcstr_to_str (char *src, char *dst, unsigned dst_max) in ndmcstr_to_str() argument 89 unsigned char * q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos19-traymonitor/bareos-Release-19.2.11/core/src/ndmp/ |
H A D | ndml_cstr.c | 58 int ndmcstr_from_str(char* src, char* dst, unsigned dst_max) in ndmcstr_from_str() argument 62 unsigned char* q_end = q + dst_max - 1; in ndmcstr_from_str() 81 int ndmcstr_to_str(char* src, char* dst, unsigned dst_max) in ndmcstr_to_str() argument 85 unsigned char* q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos19-client/bareos-Release-19.2.11/core/src/ndmp/ |
H A D | ndml_cstr.c | 58 int ndmcstr_from_str(char* src, char* dst, unsigned dst_max) in ndmcstr_from_str() argument 62 unsigned char* q_end = q + dst_max - 1; in ndmcstr_from_str() 81 int ndmcstr_to_str(char* src, char* dst, unsigned dst_max) in ndmcstr_to_str() argument 85 unsigned char* q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos19-server/bareos-Release-19.2.11/core/src/ndmp/ |
H A D | ndml_cstr.c | 58 int ndmcstr_from_str(char* src, char* dst, unsigned dst_max) in ndmcstr_from_str() argument 62 unsigned char* q_end = q + dst_max - 1; in ndmcstr_from_str() 81 int ndmcstr_to_str(char* src, char* dst, unsigned dst_max) in ndmcstr_to_str() argument 85 unsigned char* q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos-client/bareos-Release-20.0.3/core/src/ndmp/ |
H A D | ndml_cstr.c | 58 int ndmcstr_from_str(char* src, char* dst, unsigned dst_max) in ndmcstr_from_str() argument 62 unsigned char* q_end = q + dst_max - 1; in ndmcstr_from_str() 81 int ndmcstr_to_str(char* src, char* dst, unsigned dst_max) in ndmcstr_to_str() argument 85 unsigned char* q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/core/src/ndmp/ |
H A D | ndml_cstr.c | 58 int ndmcstr_from_str(char* src, char* dst, unsigned dst_max) in ndmcstr_from_str() argument 62 unsigned char* q_end = q + dst_max - 1; in ndmcstr_from_str() 81 int ndmcstr_to_str(char* src, char* dst, unsigned dst_max) in ndmcstr_to_str() argument 85 unsigned char* q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos18-traymonitor/bareos-Release-18.2.12/core/src/ndmp/ |
H A D | ndml_cstr.c | 59 ndmcstr_from_str (char *src, char *dst, unsigned dst_max) in ndmcstr_from_str() argument 63 unsigned char * q_end = q + dst_max - 1; in ndmcstr_from_str() 85 ndmcstr_to_str (char *src, char *dst, unsigned dst_max) in ndmcstr_to_str() argument 89 unsigned char * q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos-server/bareos-Release-20.0.3/core/src/ndmp/ |
H A D | ndml_cstr.c | 58 int ndmcstr_from_str(char* src, char* dst, unsigned dst_max) in ndmcstr_from_str() argument 62 unsigned char* q_end = q + dst_max - 1; in ndmcstr_from_str() 81 int ndmcstr_to_str(char* src, char* dst, unsigned dst_max) in ndmcstr_to_str() argument 85 unsigned char* q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/sysutils/bareos18-server/bareos-Release-18.2.12/core/src/ndmp/ |
H A D | ndml_cstr.c | 59 ndmcstr_from_str (char *src, char *dst, unsigned dst_max) in ndmcstr_from_str() argument 63 unsigned char * q_end = q + dst_max - 1; in ndmcstr_from_str() 85 ndmcstr_to_str (char *src, char *dst, unsigned dst_max) in ndmcstr_to_str() argument 89 unsigned char * q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/www/bareos-webui/bareos-Release-20.0.3/core/src/ndmp/ |
H A D | ndml_cstr.c | 58 int ndmcstr_from_str(char* src, char* dst, unsigned dst_max) in ndmcstr_from_str() argument 62 unsigned char* q_end = q + dst_max - 1; in ndmcstr_from_str() 81 int ndmcstr_to_str(char* src, char* dst, unsigned dst_max) in ndmcstr_to_str() argument 85 unsigned char* q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/www/bareos18-webui/bareos-Release-18.2.12/core/src/ndmp/ |
H A D | ndml_cstr.c | 59 ndmcstr_from_str (char *src, char *dst, unsigned dst_max) in ndmcstr_from_str() argument 63 unsigned char * q_end = q + dst_max - 1; in ndmcstr_from_str() 85 ndmcstr_to_str (char *src, char *dst, unsigned dst_max) in ndmcstr_to_str() argument 89 unsigned char * q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/www/bareos19-webui/bareos-Release-19.2.11/core/src/ndmp/ |
H A D | ndml_cstr.c | 58 int ndmcstr_from_str(char* src, char* dst, unsigned dst_max) in ndmcstr_from_str() argument 62 unsigned char* q_end = q + dst_max - 1; in ndmcstr_from_str() 81 int ndmcstr_to_str(char* src, char* dst, unsigned dst_max) in ndmcstr_to_str() argument 85 unsigned char* q_end = q + dst_max - 1; in ndmcstr_to_str()
|
/dports/devel/godot-tools/godot-3.2.3-stable/modules/mono/glue/GodotSharp/GodotSharp/Core/ |
H A D | AABB.cs | 82 Vector3 dst_max = with._position + with._size; in Encloses() 85 src_max.x > dst_max.x && in Encloses() 87 src_max.y > dst_max.y && in Encloses() 89 src_max.z > dst_max.z; in Encloses() 383 Vector3 dst_max = with._position + with._size; in Intersection() 387 if (src_min.x > dst_max.x || src_max.x < dst_min.x) in Intersection() 393 max.x = src_max.x < dst_max.x ? src_max.x : dst_max.x; in Intersection() 395 if (src_min.y > dst_max.y || src_max.y < dst_min.y) in Intersection() 401 max.y = src_max.y < dst_max.y ? src_max.y : dst_max.y; in Intersection() 403 if (src_min.z > dst_max.z || src_max.z < dst_min.z) in Intersection() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/modules/mono/glue/GodotSharp/GodotSharp/Core/ |
H A D | AABB.cs | 82 Vector3 dst_max = with._position + with._size; in Encloses() 85 src_max.x > dst_max.x && in Encloses() 87 src_max.y > dst_max.y && in Encloses() 89 src_max.z > dst_max.z; in Encloses() 383 Vector3 dst_max = with._position + with._size; in Intersection() 387 if (src_min.x > dst_max.x || src_max.x < dst_min.x) in Intersection() 393 max.x = src_max.x < dst_max.x ? src_max.x : dst_max.x; in Intersection() 395 if (src_min.y > dst_max.y || src_max.y < dst_min.y) in Intersection() 401 max.y = src_max.y < dst_max.y ? src_max.y : dst_max.y; in Intersection() 403 if (src_min.z > dst_max.z || src_max.z < dst_min.z) in Intersection() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/konami/ |
H A D | k053250.cpp | 95 int end_pixel, flip, dst_min, dst_max, dst_start, dst_length; in pdraw_scanline32() local 111 dst_max = nScreenWidth - 1; //cliprect.max_x; in pdraw_scanline32() 117 dst_max = nScreenHeight - 1; //cliprect.max_y; in pdraw_scanline32() 124 if (dst_start > dst_max) return; in pdraw_scanline32() 135 if ((end_pixel -= dst_max) > 0) dst_length -= end_pixel; in pdraw_scanline32() 162 dst_start = dst_max + dst_min - dst_start - (dst_length-1); in pdraw_scanline32() 173 dst_length = dst_max - dst_min + 1; // target scanline spans the entire visible area in pdraw_scanline32() 181 src_fx = (scroll + dst_max) * src_fdx + FIXPOINT_PRECISION_HALF-1; in pdraw_scanline32()
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | k053250.cpp | 59 int end_pixel, flip, dst_min, dst_max, dst_start, dst_length; in pdraw_scanline32() local 74 dst_max = cliprect.max_x; in pdraw_scanline32() 80 dst_max = cliprect.max_y; in pdraw_scanline32() 87 if (dst_start > dst_max) return; in pdraw_scanline32() 98 if ((end_pixel -= dst_max) > 0) dst_length -= end_pixel; in pdraw_scanline32() 125 dst_start = dst_max + dst_min - dst_start - (dst_length-1); in pdraw_scanline32() 136 dst_length = dst_max - dst_min + 1; // target scanline spans the entire visible area in pdraw_scanline32() 144 src_fx = (scroll + dst_max) * src_fdx + FIXPOINT_PRECISION_HALF-1; in pdraw_scanline32()
|
H A D | k053250_ps.cpp | 103 int end_pixel, flip, dst_min, dst_max, dst_start, dst_length; in pdraw_scanline32() local 118 dst_max = cliprect.max_x; in pdraw_scanline32() 124 dst_max = cliprect.max_y; in pdraw_scanline32() 131 if (dst_start > dst_max) return; in pdraw_scanline32() 142 if ((end_pixel -= dst_max) > 0) dst_length -= end_pixel; in pdraw_scanline32() 169 dst_start = dst_max + dst_min - dst_start - (dst_length-1); in pdraw_scanline32() 180 dst_length = dst_max - dst_min + 1; // target scanline spans the entire visible area in pdraw_scanline32() 188 src_fx = (scroll + dst_max) * src_fdx + FIXPOINT_PRECISION_HALF-1; in pdraw_scanline32()
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | k053250.cpp | 59 int end_pixel, flip, dst_min, dst_max, dst_start, dst_length; in pdraw_scanline32() local 74 dst_max = cliprect.max_x; in pdraw_scanline32() 80 dst_max = cliprect.max_y; in pdraw_scanline32() 87 if (dst_start > dst_max) return; in pdraw_scanline32() 98 if ((end_pixel -= dst_max) > 0) dst_length -= end_pixel; in pdraw_scanline32() 125 dst_start = dst_max + dst_min - dst_start - (dst_length-1); in pdraw_scanline32() 136 dst_length = dst_max - dst_min + 1; // target scanline spans the entire visible area in pdraw_scanline32() 144 src_fx = (scroll + dst_max) * src_fdx + FIXPOINT_PRECISION_HALF-1; in pdraw_scanline32()
|
H A D | k053250_ps.cpp | 103 int end_pixel, flip, dst_min, dst_max, dst_start, dst_length; in pdraw_scanline32() local 118 dst_max = cliprect.max_x; in pdraw_scanline32() 124 dst_max = cliprect.max_y; in pdraw_scanline32() 131 if (dst_start > dst_max) return; in pdraw_scanline32() 142 if ((end_pixel -= dst_max) > 0) dst_length -= end_pixel; in pdraw_scanline32() 169 dst_start = dst_max + dst_min - dst_start - (dst_length-1); in pdraw_scanline32() 180 dst_length = dst_max - dst_min + 1; // target scanline spans the entire visible area in pdraw_scanline32() 188 src_fx = (scroll + dst_max) * src_fdx + FIXPOINT_PRECISION_HALF-1; in pdraw_scanline32()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/konami/ |
H A D | k053250.cpp | 97 int end_pixel, flip, dst_min, dst_max, dst_start, dst_length; in pdraw_scanline32() local 113 dst_max = nScreenWidth - 1; //cliprect.max_x; in pdraw_scanline32() 119 dst_max = nScreenHeight - 1; //cliprect.max_y; in pdraw_scanline32() 126 if (dst_start > dst_max) return; in pdraw_scanline32() 137 if ((end_pixel -= dst_max) > 0) dst_length -= end_pixel; in pdraw_scanline32() 164 dst_start = dst_max + dst_min - dst_start - (dst_length-1); in pdraw_scanline32() 175 dst_length = dst_max - dst_min + 1; // target scanline spans the entire visible area in pdraw_scanline32() 183 src_fx = (scroll + dst_max) * src_fdx + FIXPOINT_PRECISION_HALF-1; in pdraw_scanline32()
|
/dports/devel/godot/godot-3.2.3-stable/core/math/ |
H A D | aabb.cpp | 82 Vector3 dst_max = p_aabb.position + p_aabb.size; in intersection() local 86 if (src_min.x > dst_max.x || src_max.x < dst_min.x) in intersection() 91 max.x = (src_max.x < dst_max.x) ? src_max.x : dst_max.x; in intersection() 94 if (src_min.y > dst_max.y || src_max.y < dst_min.y) in intersection() 99 max.y = (src_max.y < dst_max.y) ? src_max.y : dst_max.y; in intersection() 102 if (src_min.z > dst_max.z || src_max.z < dst_min.z) in intersection() 107 max.z = (src_max.z < dst_max.z) ? src_max.z : dst_max.z; in intersection()
|