/dports/www/trafficserver/trafficserver-9.1.1/plugins/lua/ |
H A D | ts_lua_package.c | 164 size_t old_path_len, new_path_len; in ts_lua_add_package_path_items() local 184 if (new_path_len + pp[i].len + 1 >= sizeof(new_path)) { in ts_lua_add_package_path_items() 189 new_path[new_path_len++] = ';'; in ts_lua_add_package_path_items() 191 new_path_len += pp[i].len; in ts_lua_add_package_path_items() 194 new_path[new_path_len] = 0; in ts_lua_add_package_path_items() 196 lua_pushlstring(L, new_path, new_path_len); in ts_lua_add_package_path_items() 310 size_t old_path_len, new_path_len; in ts_lua_add_package_cpath_items() local 335 new_path[new_path_len++] = ';'; in ts_lua_add_package_cpath_items() 337 new_path_len += pp[i].len; in ts_lua_add_package_cpath_items() 340 new_path[new_path_len] = 0; in ts_lua_add_package_cpath_items() [all …]
|
/dports/sysutils/ganglia-monitor-core/ganglia-3.7.2/lib/ |
H A D | dotconf.c | 994 int new_path_len; in dotconf_handle_question_mark() local 1010 new_path_len = strlen(path) + name_len + strlen(ext) + 1; in dotconf_handle_question_mark() 1014 if ((new_path = (char*)malloc(new_path_len)) == NULL ) in dotconf_handle_question_mark() 1019 alloced = new_path_len; in dotconf_handle_question_mark() 1023 if ( new_path_len > alloced ) in dotconf_handle_question_mark() 1025 if ( realloc(new_path,new_path_len) == NULL ) in dotconf_handle_question_mark() 1135 int new_path_len; in dotconf_handle_star() local 1178 if ((new_path = (char*)malloc(new_path_len)) == NULL ) in dotconf_handle_star() 1183 alloced = new_path_len; in dotconf_handle_star() 1187 if ( new_path_len > alloced ) in dotconf_handle_star() [all …]
|
/dports/net-im/toxic/toxic-0.11.3/src/ |
H A D | log.c | 354 int new_path_len = get_log_path(newpath, sizeof(newpath), dest, selfkey, otherkey); in rename_logfile() local 356 if (new_path_len == -1 || new_path_len >= MAX_STR_SIZE) { in rename_logfile() 369 memcpy(log->path, newpath, new_path_len); in rename_logfile() 370 log->path[new_path_len] = 0; in rename_logfile()
|
/dports/devel/efl/efl-1.25.1/src/modules/evas/engines/gl_common/ |
H A D | evas_gl_file_cache.c | 91 int new_path_len = 0; in evas_gl_common_file_cache_file_check() local 106 new_path_len = snprintf(before_name, sizeof(before_name), "%s::%s::%s::%s.%d::%s.eet", in evas_gl_common_file_cache_file_check() 110 for (i = 0; i < new_path_len; i++) in evas_gl_common_file_cache_file_check()
|
/dports/www/netsurf/netsurf-3.10/utils/nsurl/ |
H A D | nsurl.c | 876 size_t old_path_len, new_path_len; in nsurl_parent() local 888 new_path_len = old_path_len; in nsurl_parent() 892 new_path_len = old_path_len; in nsurl_parent() 895 if (path[new_path_len - 1] == '/') in nsurl_parent() 896 new_path_len--; in nsurl_parent() 899 while (new_path_len > 0 && in nsurl_parent() 900 path[new_path_len - 1] != '/') in nsurl_parent() 901 new_path_len--; in nsurl_parent() 914 len -= old_path_len - new_path_len; in nsurl_parent() 925 } else if (old_path_len == new_path_len) { in nsurl_parent() [all …]
|
/dports/net/shadowsocks-libev/shadowsocks-libev-3.3.5/src/ |
H A D | plugin.c | 251 size_t new_path_len; local 275 new_path_len = strlen(current_path) + strlen(cwd) + 2; 276 new_path = ss_malloc(new_path_len); 277 snprintf(new_path, new_path_len, "%s:%s", cwd, current_path);
|
/dports/devel/dotconf/dotconf-1.3/src/ |
H A D | dotconf.c | 1077 int new_path_len; in dotconf_handle_question_mark() local 1092 new_path_len = in dotconf_handle_question_mark() 1102 alloced = new_path_len; in dotconf_handle_question_mark() 1106 if (new_path_len > alloced) { in dotconf_handle_question_mark() 1109 new_path_len); in dotconf_handle_question_mark() 1115 alloced = new_path_len; in dotconf_handle_question_mark() 1246 int new_path_len; in dotconf_handle_star() local 1282 new_path_len = in dotconf_handle_star() 1292 alloced = new_path_len; in dotconf_handle_star() 1299 new_path_len); in dotconf_handle_star() [all …]
|
/dports/devel/dulwich/dulwich-0.19.16/dulwich/ |
H A D | _diff_tree.c | 79 Py_ssize_t i = 0, name_len, new_path_len; in tree_entries() local 125 new_path_len = name_len; in tree_entries() 127 new_path_len += path_len + 1; in tree_entries() 128 new_path = PyMem_Malloc(new_path_len); in tree_entries() 143 new_path_len, PyTuple_GET_ITEM(old_entry, 1), sha); in tree_entries() 146 new_path_len, PyTuple_GET_ITEM(old_entry, 1), sha); in tree_entries()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/lucet-wasi-wasmsbx/src/hostcalls/ |
H A D | mod.rs | 386 new_path_len: wasm32::size_t, 389 new_fd, new_path_ptr, new_path_len) 423 new_path_len: wasm32::size_t, 426 new_dirfd, new_path_ptr, new_path_len) 436 new_path_len: wasm32::size_t, 439 dir_fd, new_path_ptr, new_path_len)
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/lucet-wasi-wasmsbx/src/hostcalls/ |
H A D | mod.rs | 386 new_path_len: wasm32::size_t, 389 new_fd, new_path_ptr, new_path_len) 423 new_path_len: wasm32::size_t, 426 new_dirfd, new_path_ptr, new_path_len) 436 new_path_len: wasm32::size_t, 439 dir_fd, new_path_ptr, new_path_len)
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/lucet-wasi/src/hostcalls/ |
H A D | mod.rs | 386 new_path_len: wasm32::size_t, 389 new_fd, new_path_ptr, new_path_len) 423 new_path_len: wasm32::size_t, 426 new_dirfd, new_path_ptr, new_path_len) 436 new_path_len: wasm32::size_t, 439 dir_fd, new_path_ptr, new_path_len)
|
/dports/sysutils/fcode-utils/fcode-utils-1.0.2/toke/ |
H A D | stream.c | 201 unsigned int new_path_len = strlen( dir_compt); in add_to_include_list() local 216 if ( new_path_len > max_dir_path_len ) max_dir_path_len = new_path_len; in add_to_include_list() 335 unsigned int new_path_len = max_dir_path_len + strlen( base_name) + 2; in init_incl_list_scan() local 336 include_list_full_path = safe_malloc( new_path_len, in init_incl_list_scan()
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/ |
H A D | wsrep_utils.cc | 66 size_t const new_path_len(strlen(old_path) + strlen(":") + in wsrep_prepend_PATH() local 69 char* const new_path (static_cast<char*>(malloc(new_path_len))); in wsrep_prepend_PATH() 73 snprintf (new_path, new_path_len, "PATH=%s:%s", path, in wsrep_prepend_PATH() 82 "buffer of size %zu.", new_path_len); in wsrep_prepend_PATH()
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/ |
H A D | wsrep_utils.cc | 63 size_t const new_path_len(strlen(old_path) + strlen(":") + in wsrep_prepend_PATH() local 66 char* const new_path (static_cast<char*>(malloc(new_path_len))); in wsrep_prepend_PATH() 70 snprintf (new_path, new_path_len, "PATH=%s:%s", path, in wsrep_prepend_PATH() 79 "buffer of size %zu.", new_path_len); in wsrep_prepend_PATH()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/sql/ |
H A D | wsrep_utils.cc | 67 size_t const new_path_len(strlen(old_path) + strlen(":") + in wsrep_prepend_PATH() local 70 char* const new_path (static_cast<char*>(malloc(new_path_len))); in wsrep_prepend_PATH() 74 snprintf (new_path, new_path_len, "PATH=%s:%s", path, in wsrep_prepend_PATH() 83 "buffer of size %zu.", new_path_len); in wsrep_prepend_PATH()
|
/dports/databases/mariadb104-server/mariadb-10.4.24/sql/ |
H A D | wsrep_utils.cc | 67 size_t const new_path_len(strlen(old_path) + strlen(":") + in wsrep_prepend_PATH() local 70 char* const new_path (static_cast<char*>(malloc(new_path_len))); in wsrep_prepend_PATH() 74 snprintf (new_path, new_path_len, "PATH=%s:%s", path, in wsrep_prepend_PATH() 83 "buffer of size %zu.", new_path_len); in wsrep_prepend_PATH()
|
/dports/databases/mariadb104-client/mariadb-10.4.24/sql/ |
H A D | wsrep_utils.cc | 67 size_t const new_path_len(strlen(old_path) + strlen(":") + in wsrep_prepend_PATH() local 70 char* const new_path (static_cast<char*>(malloc(new_path_len))); in wsrep_prepend_PATH() 74 snprintf (new_path, new_path_len, "PATH=%s:%s", path, in wsrep_prepend_PATH() 83 "buffer of size %zu.", new_path_len); in wsrep_prepend_PATH()
|
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/ |
H A D | wsrep_utils.cc | 64 size_t const new_path_len(strlen(old_path) + strlen(":") + in wsrep_prepend_PATH() local 67 char* const new_path (static_cast<char*>(malloc(new_path_len))); in wsrep_prepend_PATH() 71 snprintf (new_path, new_path_len, "PATH=%s:%s", path, in wsrep_prepend_PATH() 80 "buffer of size %zu.", new_path_len); in wsrep_prepend_PATH()
|
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/ |
H A D | wsrep_utils.cc | 64 size_t const new_path_len(strlen(old_path) + strlen(":") + in wsrep_prepend_PATH() local 67 char* const new_path (static_cast<char*>(malloc(new_path_len))); in wsrep_prepend_PATH() 71 snprintf (new_path, new_path_len, "PATH=%s:%s", path, in wsrep_prepend_PATH() 80 "buffer of size %zu.", new_path_len); in wsrep_prepend_PATH()
|
/dports/databases/mariadb105-server/mariadb-10.5.15/sql/ |
H A D | wsrep_utils.cc | 67 size_t const new_path_len(strlen(old_path) + strlen(":") + in wsrep_prepend_PATH() local 70 char* const new_path (static_cast<char*>(malloc(new_path_len))); in wsrep_prepend_PATH() 74 snprintf (new_path, new_path_len, "PATH=%s:%s", path, in wsrep_prepend_PATH() 83 "buffer of size %zu.", new_path_len); in wsrep_prepend_PATH()
|
/dports/sysutils/vector/lucet-d4fc14a03bdb99ac83173d27fddf1aca48412a86/wasmtime/crates/wasi-common/src/old/snapshot_0/hostcalls_impl/ |
H A D | fs.rs | 496 new_path_len: wasi32::size_t, in path_link() 506 new_path_len, in path_link() 510 let new_path = dec_slice_of_u8(memory, new_path_ptr, new_path_len).and_then(path_from_slice)?; in path_link() 652 new_path_len: wasi32::size_t, in path_rename() 661 new_path_len, in path_rename() 665 let new_path = dec_slice_of_u8(memory, new_path_ptr, new_path_len).and_then(path_from_slice)?; in path_rename() 878 new_path_len: wasi32::size_t, in path_symlink() 886 new_path_len in path_symlink() 890 let new_path = dec_slice_of_u8(memory, new_path_ptr, new_path_len).and_then(path_from_slice)?; in path_symlink()
|
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/google-breakpad/client/linux/minidump_writer/ |
H A D | linux_dumper.cc | 534 ssize_t new_path_len = sys_readlink(exe_link, new_path, NAME_MAX); in HandleDeletedFileInMapping() local 535 if (new_path_len <= 0 || new_path_len == NAME_MAX) in HandleDeletedFileInMapping() 537 new_path[new_path_len] = '\0'; in HandleDeletedFileInMapping()
|
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-bottom-half/sources/ |
H A D | __wasilibc_real.c | 448 size_t new_path_len = strlen(new_path); in __wasi_path_link() local 449 …t) old_path, (int32_t) old_path_len, (int32_t) new_fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_link() 516 size_t new_path_len = strlen(new_path); in __wasi_path_rename() local 517 …t) old_path, (int32_t) old_path_len, (int32_t) new_fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_rename() 532 size_t new_path_len = strlen(new_path); in __wasi_path_symlink() local 533 …t32_t) old_path, (int32_t) old_path_len, (int32_t) fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_symlink()
|
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-bottom-half/sources/ |
H A D | __wasilibc_real.c | 448 size_t new_path_len = strlen(new_path); in __wasi_path_link() local 449 …t) old_path, (int32_t) old_path_len, (int32_t) new_fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_link() 516 size_t new_path_len = strlen(new_path); in __wasi_path_rename() local 517 …t) old_path, (int32_t) old_path_len, (int32_t) new_fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_rename() 532 size_t new_path_len = strlen(new_path); in __wasi_path_symlink() local 533 …t32_t) old_path, (int32_t) old_path_len, (int32_t) fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_symlink()
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-bottom-half/sources/ |
H A D | __wasilibc_real.c | 448 size_t new_path_len = strlen(new_path); in __wasi_path_link() local 449 …t) old_path, (int32_t) old_path_len, (int32_t) new_fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_link() 516 size_t new_path_len = strlen(new_path); in __wasi_path_rename() local 517 …t) old_path, (int32_t) old_path_len, (int32_t) new_fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_rename() 532 size_t new_path_len = strlen(new_path); in __wasi_path_symlink() local 533 …t32_t) old_path, (int32_t) old_path_len, (int32_t) fd, (int32_t) new_path, (int32_t) new_path_len); in __wasi_path_symlink()
|