Home
last modified time | relevance | path

Searched refs:STR_LENGTH (Results 1 – 25 of 29) sorted by relevance

12

/dports/devel/ptypes/ptypes-2.1.1/src/
H A Dpstring.cxx62 STR_LENGTH(data) = numchars; in _alloc()
70 if (numchars <= 0 || STR_LENGTH(data) <= 0) in _realloc()
73 int b = quantize(STR_LENGTH(data)); in _realloc()
81 STR_LENGTH(data) = numchars; in _realloc()
89 stralloc -= quantize(STR_LENGTH(data)); in _freestrbuf()
140 if (STR_LENGTH(data) != 0) in finalize()
157 if (STR_LENGTH(s.data) > 0 && STR_REFCOUNT(s.data) > 1) in unique()
160 s._alloc(STR_LENGTH(s.data)); in unique()
161 memcpy(s.data, odata, STR_LENGTH(s.data)); in unique()
178 int curlen = STR_LENGTH(s.data); in setlength()
[all …]
/dports/devel/gdb/gdb-11.1/gdb/testsuite/gdb.python/
H A Dpy-value.c118 #define STR_LENGTH 100 in main() macro
119 xstr = (struct str *) malloc (sizeof (*xstr) + STR_LENGTH); in main()
120 xstr->length = STR_LENGTH; in main()
121 memset (xstr->text, 'x', STR_LENGTH); in main()
122 #undef STR_LENGTH in main()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/applications/mod_rad_auth/
H A Dmod_rad_auth.c39 #define STR_LENGTH 512 macro
274 char msg[STR_LENGTH * 10 + 1]; in radius_auth()
275 char username_realm[STR_LENGTH + 1]; in radius_auth()
276 char value[STR_LENGTH + 1]; in radius_auth()
279 memset(msg, 0, STR_LENGTH * 10); in radius_auth()
280 memset(username_realm, 0, STR_LENGTH); in radius_auth()
415 memset(value, 0, STR_LENGTH); in radius_auth()
568 char auth_result[STR_LENGTH + 1]; in SWITCH_STANDARD_APP()
576 memset(auth_result, 0, STR_LENGTH); in SWITCH_STANDARD_APP()
779 rc_config_file = malloc(STR_LENGTH + 1); in load_config()
[all …]
/dports/science/ascent/ascent-0.7.1-66-gbcf2742a/src/blt/tests/smoke/
H A Dblt_cuda_smoke.cpp21 const char STR_LENGTH = 12; variable
25 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
30 int num_threads = STR_LENGTH; in main()
H A Dblt_hip_smoke.cpp17 const char STR_LENGTH = 12; variable
21 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
26 int num_threads = STR_LENGTH; in main()
H A Dblt_cuda_openmp_smoke.cpp22 const char STR_LENGTH = 12; variable
26 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
32 int num_threads = STR_LENGTH; in main()
H A Dblt_cuda_mpi_smoke.cpp22 const char STR_LENGTH = 12; variable
26 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
32 int num_threads = STR_LENGTH; in main()
/dports/science/axom/axom-0.6.1/src/cmake/blt/tests/smoke/
H A Dblt_cuda_smoke.cpp21 const char STR_LENGTH = 12; variable
25 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
30 int num_threads = STR_LENGTH; in main()
H A Dblt_cuda_gtest_smoke.cpp23 const char STR_LENGTH = 12; variable
27 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
35 int num_threads = STR_LENGTH; in TEST()
H A Dblt_hip_smoke.cpp17 const char STR_LENGTH = 12; variable
21 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
26 int num_threads = STR_LENGTH; in main()
H A Dblt_hip_gtest_smoke.cpp18 const char STR_LENGTH = 12; variable
22 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
30 int num_threads = STR_LENGTH; in TEST()
H A Dblt_cuda_openmp_smoke.cpp22 const char STR_LENGTH = 12; variable
26 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
32 int num_threads = STR_LENGTH; in main()
H A Dblt_cuda_mpi_smoke.cpp22 const char STR_LENGTH = 12; variable
26 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
32 int num_threads = STR_LENGTH; in main()
/dports/science/conduit/conduit-0.8.0/src/blt/tests/smoke/
H A Dblt_cuda_smoke.cpp21 const char STR_LENGTH = 12; variable
25 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
30 int num_threads = STR_LENGTH; in main()
H A Dblt_hip_smoke.cpp17 const char STR_LENGTH = 12; variable
21 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
26 int num_threads = STR_LENGTH; in main()
H A Dblt_cuda_openmp_smoke.cpp22 const char STR_LENGTH = 12; variable
26 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
32 int num_threads = STR_LENGTH; in main()
H A Dblt_cuda_mpi_smoke.cpp22 const char STR_LENGTH = 12; variable
26 printf("%c\n", STR[threadIdx.x % STR_LENGTH]); in hello()
32 int num_threads = STR_LENGTH; in main()
/dports/x11/workrave/workrave-1.10.44/common/src/
H A DWRID.cc109 char uuid_str[STR_LENGTH + 1]; in str()
116 uuid_str[STR_LENGTH] = '\0'; in str()
145 if (len != STR_LENGTH) in set()
/dports/math/py-pysmt/pysmt-0.9.0/pysmt/
H A Doperators.py60 STR_LENGTH, # Length (48)
110 STR_OPERATORS = frozenset([STR_LENGTH, STR_CONCAT, STR_INDEXOF, STR_REPLACE,
208 STR_LENGTH: "STR_LENGTH",
H A Doracles.py180 set([op.STR_LENGTH, op.STR_INDEXOF, op.STR_TO_INT]))
244 @walkers.handles([op.STR_LENGTH, op.STR_INDEXOF, op.STR_TO_INT])
H A Dtype_checker.py100 @walkers.handles(op.STR_LENGTH, op.STR_TO_INT)
/dports/x11/workrave/workrave-1.10.44/common/include/
H A DWRID.hh55 const static size_t STR_LENGTH = sizeof(uuid_type) * 2; member in workrave::WRID
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/common/
H A Dfile-ps.c107 #define STR_LENGTH 64 macro
117 gchar pages[STR_LENGTH]; /* Pages to load (eg.: 1,3,5-7) */
1350 char tmplist[STR_LENGTH], *c0, *c1; in page_in_list()
1362 strncpy (tmplist, list, STR_LENGTH); in page_in_list()
1363 tmplist[STR_LENGTH-1] = '\0'; in page_in_list()
/dports/devel/ptypes/ptypes-2.1.1/include/
H A Dptypes.h66 #define STR_LENGTH(x) (STR_BASE(x)->length) macro
105 void idx(int index) const { if (unsigned(index) >= unsigned(STR_LENGTH(data))) idxerror(); } in idx()
194 inline int length(const string& s) { return STR_LENGTH(s.data); } in length()
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/tclGeneric/
H A DtclCompCmds.c2634 STR_INDEX, STR_IS, STR_LAST, STR_LENGTH, enumerator
2744 case STR_LENGTH: {

12