Home
last modified time | relevance | path

Searched refs:n_bytes (Results 1 – 25 of 2993) sorted by relevance

12345678910>>...120

/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024;
28 gpointer g1 = g_malloc(n_bytes);
29 gpointer g2 = g_malloc0(n_bytes);
30 g1 = g_realloc(g1, n_bytes * 2);
47 gpointer g1 = g_malloc(n_bytes);
49 g1 = g_realloc(g1, n_bytes * 2);
[all …]
/dports/lang/clang-mesa/clang-13.0.1.src/test/Analysis/
H A Dgmalloc.c10 gpointer g_malloc(gsize n_bytes);
11 gpointer g_malloc0(gsize n_bytes);
13 gpointer g_try_malloc(gsize n_bytes);
14 gpointer g_try_malloc0(gsize n_bytes);
25 static const gsize n_bytes = 1024; variable
28 gpointer g1 = g_malloc(n_bytes); in f1()
29 gpointer g2 = g_malloc0(n_bytes); in f1()
30 g1 = g_realloc(g1, n_bytes * 2); in f1()
47 gpointer g1 = g_malloc(n_bytes); in f2()
49 g1 = g_realloc(g1, n_bytes * 2); in f2()
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgtkistringprivate.h9 guint n_bytes; member
40 str->n_bytes = 0; in istring_clear()
60 str->n_bytes = n_bytes; in istring_set()
121 if G_LIKELY (str->n_bytes + other->n_bytes < sizeof str->u.buf - 1) in istring_prepend()
123 memmove (str->u.buf + other->n_bytes, str->u.buf, str->n_bytes); in istring_prepend()
125 str->n_bytes += other->n_bytes; in istring_prepend()
137 str->n_bytes += other->n_bytes; in istring_prepend()
149 guint n_bytes = other->n_bytes; in istring_append() local
155 memcpy (str->u.buf + str->n_bytes, text, n_bytes); in istring_append()
162 memcpy (str->u.str + str->n_bytes, text, n_bytes); in istring_append()
[all …]
/dports/biology/ncbi-toolkit/ncbi/connect/test/
H A Dtest_ncbi_buffer.c92 size_t n_bytes = X_BYTES; in main() local
93 if ( !n_bytes ) in main()
95 n_bytes = fread(charbuf, 1, n_bytes, stdin); in main()
97 if ( !n_bytes ) { in main()
111 size_t n_bytes = X_BYTES; in main() local
112 if ( !n_bytes ) in main()
126 n_bytes = BUF_Read(buf, 0, n_bytes); in main()
128 n_bytes = BUF_Read(buf, charbuf, n_bytes); in main()
145 assert(n_bytes == fwrite(charbuf, 1, n_bytes, stdout)); in main()
167 assert(n_bytes); in main()
[all …]
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/connect/test/
H A Dtest_ncbi_buffer.c92 size_t n_bytes = X_BYTES; in main() local
93 if ( !n_bytes ) in main()
95 n_bytes = fread(charbuf, 1, n_bytes, stdin); in main()
97 if ( !n_bytes ) { in main()
111 size_t n_bytes = X_BYTES; in main() local
112 if ( !n_bytes ) in main()
126 n_bytes = BUF_Read(buf, 0, n_bytes); in main()
128 n_bytes = BUF_Read(buf, charbuf, n_bytes); in main()
145 assert(n_bytes == fwrite(charbuf, 1, n_bytes, stdout)); in main()
167 assert(n_bytes); in main()
[all …]
/dports/devel/libzvbi/zvbi-0.2.35/test/
H A Dtest-common.cc38 size_t n_bytes) in memset_rand() argument
46 assert (n_bytes > 0); in memset_rand()
62 n_bytes -= todo; in memset_rand()
70 todo = n_bytes & 3; in memset_rand()
86 size_t n_bytes) in memcmp_zero() argument
90 for (s = (const uint8_t *) src; n_bytes > 0; ++s, --n_bytes) { in memcmp_zero()
103 assert (n_bytes > 0); in xmalloc()
106 p = malloc (n_bytes); in xmalloc()
115 return memset_rand (xmalloc (n_bytes), n_bytes); in xralloc()
120 size_t n_bytes) in xmemdup() argument
[all …]
/dports/devel/glib20/glib-2.70.4/glib/
H A Dgmem.c101 g_malloc (gsize n_bytes) in g_malloc() argument
103 if (G_LIKELY (n_bytes)) in g_malloc()
131 g_malloc0 (gsize n_bytes) in g_malloc0() argument
133 if (G_LIKELY (n_bytes)) in g_malloc0()
166 gsize n_bytes) in g_realloc() argument
170 if (G_LIKELY (n_bytes)) in g_realloc()
256 if (G_LIKELY (n_bytes)) in g_try_malloc()
257 mem = malloc (n_bytes); in g_try_malloc()
281 if (G_LIKELY (n_bytes)) in g_try_malloc0()
304 gsize n_bytes) in g_try_realloc() argument
[all …]
/dports/lang/micropython/micropython-1.17/py/
H A Dpystack.h38 void *mp_pystack_alloc(size_t n_bytes);
49 while (n_bytes < n_bytes_to_free) { in mp_pystack_free()
50 n_bytes += *(size_t *)(MP_STATE_THREAD(pystack_cur) - n_bytes - MICROPY_PYSTACK_ALIGN); in mp_pystack_free()
52 if (n_bytes != n_bytes_to_free) { in mp_pystack_free()
63 mp_pystack_alloc(n_bytes); in mp_pystack_realloc()
78 #define mp_local_alloc(n_bytes) alloca(n_bytes) argument
85 return m_new(uint8_t, n_bytes); in mp_nonlocal_alloc()
93 m_del(uint8_t, ptr, n_bytes); in mp_nonlocal_free()
99 return mp_pystack_alloc(n_bytes); in mp_local_alloc()
107 return mp_pystack_alloc(n_bytes); in mp_nonlocal_alloc()
[all …]
/dports/graphics/cogl/cogl-1.22.8/deps/glib/
H A Dgmem.c66 gsize n_bytes) in standard_realloc() argument
88 return malloc (n_bytes); in standard_malloc()
93 gsize n_bytes) in standard_realloc() argument
105 gsize n_bytes) in standard_calloc() argument
156 g_malloc (gsize n_bytes) in g_malloc() argument
160 if (G_LIKELY (n_bytes)) in g_malloc()
188 g_malloc0 (gsize n_bytes) in g_malloc0() argument
192 if (G_LIKELY (n_bytes)) in g_malloc0()
225 gsize n_bytes) in g_realloc() argument
877 p[1] = n_bytes; in profiler_try_realloc()
[all …]
/dports/x11/startup-notification/startup-notification-0.12/libsn/
H A Dsn-util.c33 sn_size_t n_bytes) in standard_realloc() argument
36 return malloc (n_bytes); in standard_realloc()
55 return malloc (n_bytes); in standard_malloc()
60 sn_size_t n_bytes) in standard_realloc() argument
72 sn_size_t n_bytes) in standard_calloc() argument
96 sn_malloc (sn_size_t n_bytes) in sn_malloc() argument
98 if (n_bytes) in sn_malloc()
117 if (n_bytes) in sn_malloc0()
137 if (n_bytes) in sn_realloc()
164 if (n_bytes) in sn_try_malloc()
[all …]
/dports/x11-fm/xfe/xfe-1.44/libsn/
H A Dsn-util.c33 sn_size_t n_bytes) in standard_realloc() argument
36 return malloc (n_bytes); in standard_realloc()
55 return malloc (n_bytes); in standard_malloc()
60 sn_size_t n_bytes) in standard_realloc() argument
72 sn_size_t n_bytes) in standard_calloc() argument
96 sn_malloc (sn_size_t n_bytes) in sn_malloc() argument
98 if (n_bytes) in sn_malloc()
117 if (n_bytes) in sn_malloc0()
137 if (n_bytes) in sn_realloc()
164 if (n_bytes) in sn_try_malloc()
[all …]

12345678910>>...120