Home
last modified time | relevance | path

Searched refs:iSizeInBytes (Results 1 – 6 of 6) sorted by relevance

/dports/deskutils/cairo-dock/cairo-dock-core-3.4.1/src/gldit/
H A Dcairo-dock-applet-facility.c143 gchar *cairo_dock_get_human_readable_size (long long int iSizeInBytes) in cairo_dock_get_human_readable_size() argument
146 if (iSizeInBytes >> 10 == 0) in cairo_dock_get_human_readable_size()
148 return g_strdup_printf ("%dB", (int) iSizeInBytes); in cairo_dock_get_human_readable_size()
150 else if (iSizeInBytes >> 20 == 0) in cairo_dock_get_human_readable_size()
152 fValue = (double) (iSizeInBytes) / 1024.; in cairo_dock_get_human_readable_size()
155 else if (iSizeInBytes >> 30 == 0) in cairo_dock_get_human_readable_size()
157 fValue = (double) (iSizeInBytes >> 10) / 1024.; in cairo_dock_get_human_readable_size()
160 else if (iSizeInBytes >> 40 == 0) in cairo_dock_get_human_readable_size()
162 fValue = (double) (iSizeInBytes >> 20) / 1024.; in cairo_dock_get_human_readable_size()
167 fValue = (double) (iSizeInBytes >> 30) / 1024.; in cairo_dock_get_human_readable_size()
[all …]
H A Dcairo-dock-applet-facility.h77 gchar *cairo_dock_get_human_readable_size (long long int iSizeInBytes);
78 void cairo_dock_set_size_as_quick_info (Icon *pIcon, long long int iSizeInBytes);
535 #define CD_APPLET_SET_SIZE_AS_QUICK_INFO(iSizeInBytes) \ argument
536 cairo_dock_set_size_as_quick_info (myIcon, iSizeInBytes)
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/openh264/src/codec/common/src/
H A Dcrt_util_safe_x.cpp78 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
79 strncpy_s (pDest, iSizeInBytes, kpSrc, _TRUNCATE); in WelsStrncpy()
139 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
140 strncpy (pDest, kpSrc, iSizeInBytes); //confirmed_safe_unsafe_usage in WelsStrncpy()
141 pDest[iSizeInBytes - 1] = '\0'; in WelsStrncpy()
199 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
200 strncpy (pDest, kpSrc, iSizeInBytes); //confirmed_safe_unsafe_usage in WelsStrncpy()
201 pDest[iSizeInBytes - 1] = '\0'; in WelsStrncpy()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openh264/src/codec/common/src/
H A Dcrt_util_safe_x.cpp78 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
79 strncpy_s (pDest, iSizeInBytes, kpSrc, _TRUNCATE); in WelsStrncpy()
139 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
140 strncpy (pDest, kpSrc, iSizeInBytes); //confirmed_safe_unsafe_usage in WelsStrncpy()
141 pDest[iSizeInBytes - 1] = '\0'; in WelsStrncpy()
199 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
200 strncpy (pDest, kpSrc, iSizeInBytes); //confirmed_safe_unsafe_usage in WelsStrncpy()
201 pDest[iSizeInBytes - 1] = '\0'; in WelsStrncpy()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openh264/src/codec/common/src/
H A Dcrt_util_safe_x.cpp78 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
79 strncpy_s (pDest, iSizeInBytes, kpSrc, _TRUNCATE); in WelsStrncpy()
139 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
140 strncpy (pDest, kpSrc, iSizeInBytes); //confirmed_safe_unsafe_usage in WelsStrncpy()
141 pDest[iSizeInBytes - 1] = '\0'; in WelsStrncpy()
199 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
200 strncpy (pDest, kpSrc, iSizeInBytes); //confirmed_safe_unsafe_usage in WelsStrncpy()
201 pDest[iSizeInBytes - 1] = '\0'; in WelsStrncpy()
/dports/multimedia/openh264/openh264-2.1.1/codec/common/src/
H A Dcrt_util_safe_x.cpp78 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
79 strncpy_s (pDest, iSizeInBytes, kpSrc, _TRUNCATE); in WelsStrncpy()
139 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
140 strncpy (pDest, kpSrc, iSizeInBytes); //confirmed_safe_unsafe_usage in WelsStrncpy()
141 pDest[iSizeInBytes - 1] = '\0'; in WelsStrncpy()
199 char* WelsStrncpy (char* pDest, int32_t iSizeInBytes, const char* kpSrc) { in WelsStrncpy() argument
200 strncpy (pDest, kpSrc, iSizeInBytes); //confirmed_safe_unsafe_usage in WelsStrncpy()
201 pDest[iSizeInBytes - 1] = '\0'; in WelsStrncpy()