Home
last modified time | relevance | path

Searched refs:len_dst (Results 1 – 25 of 27) sorted by relevance

12

/dports/cad/ngspice_rework/ngspice-35/src/frontend/
H A Dquote.c35 size_t len_dst; in cp_unquote() local
40 len_dst = len_src - 2; in cp_unquote()
44 len_dst = len_src; in cp_unquote()
48 char * const p_dst = TMALLOC(char, len_dst + 1); in cp_unquote()
49 strncpy(p_dst, p_src, len_dst); in cp_unquote()
50 p_dst[len_dst] = '\0'; in cp_unquote()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/dbapi/driver/ftds95/freetds/tds/unittests/
H A Dt0007.c328 TDS_INT len_src, len_dst; in main() local
334 len_dst = tds_convert(&ctx, SYBVARCHAR, *value, (TDS_UINT)strlen(*value), *type2, &cr_dst); in main()
335 if (len_src <= 0 || len_dst <= 0) in main()
346len_dst = tds_convert(&ctx, *type2, (const TDS_CHAR *) &cr_src.i, len_dst, TDS_CONVERT_CHAR, &cr_d… in main()
347 if (len_dst <= 0) { in main()
352 buf[len_dst] = 0; in main()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/dbapi/driver/ftds100/freetds/tds/unittests/
H A Dt0007.c375 TDS_INT len_src, len_dst; in main() local
383 len_dst = tds_convert(&ctx, SYBVARCHAR, *value, in main()
386 if (len_src <= 0 || len_dst <= 0) in main()
397len_dst = tds_convert(&ctx, *type2, (const TDS_CHAR *) &cr_src.i, len_dst, TDS_CONVERT_CHAR, &cr_d… in main()
398 if (len_dst <= 0) { in main()
403 buf[len_dst] = 0; in main()
/dports/databases/freetds-devel/freetds-dev.1.3.7/src/tds/unittests/
H A Dt0007.c392 TDS_INT len_src, len_dst; in main() local
398 len_dst = tds_convert(&ctx, SYBVARCHAR, *value, strlen(*value), *type2, &cr_dst); in main()
399 if (len_src <= 0 || len_dst <= 0) in main()
410 len_dst = tds_convert(&ctx, *type2, &cr_src.i, len_dst, TDS_CONVERT_CHAR, &cr_dst); in main()
411 if (len_dst <= 0) { in main()
416 buf[len_dst] = 0; in main()
/dports/databases/freetds/freetds-1.3.4/src/tds/unittests/
H A Dt0007.c392 TDS_INT len_src, len_dst; in main() local
398 len_dst = tds_convert(&ctx, SYBVARCHAR, *value, strlen(*value), *type2, &cr_dst); in main()
399 if (len_src <= 0 || len_dst <= 0) in main()
410 len_dst = tds_convert(&ctx, *type2, &cr_src.i, len_dst, TDS_CONVERT_CHAR, &cr_dst); in main()
411 if (len_dst <= 0) { in main()
416 buf[len_dst] = 0; in main()
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dcrypto.h40 …ypto_t *crypto, const void *data_src, size_t len_src, void *data_dst, size_t *len_dst, size_t len);
41 …ypto_t *crypto, const void *data_src, size_t len_src, void *data_dst, size_t *len_dst, size_t len);
H A Dcrypto.c1526 *len_dst = ((len_src + 15) / 16) * 16 + 16; // add 16 for HMAC, then round to 16-size for AES in Crypto_EncryptPacket()
1527 ((unsigned char *) data_dst)[0] = (unsigned char)(*len_dst - len_src); in Crypto_EncryptPacket()
1540 *len_dst = len_src + 16; in Crypto_EncryptPacket()
1549 (i == (int)0x80000000 + (int)*len_dst) // avoid NQ control packet in Crypto_EncryptPacket()
1557 *len_dst = len_src; in Crypto_EncryptPacket()
1585 *len_dst = len_src - ((unsigned char *) data_src)[0]; in Crypto_DecryptPacket()
1586 if(len < *len_dst || *len_dst > len_src - 16) in Crypto_DecryptPacket()
1606 Com_HexDumpToConsole((const unsigned char *) data_dst, (int)*len_dst); in Crypto_DecryptPacket()
1617 *len_dst = len_src - 16; in Crypto_DecryptPacket()
1618 if(len < *len_dst) in Crypto_DecryptPacket()
[all …]
/dports/games/darkplaces/darkplaces/
H A Dcrypto.h40 …ypto_t *crypto, const void *data_src, size_t len_src, void *data_dst, size_t *len_dst, size_t len);
41 …ypto_t *crypto, const void *data_src, size_t len_src, void *data_dst, size_t *len_dst, size_t len);
H A Dcrypto.c1526 *len_dst = ((len_src + 15) / 16) * 16 + 16; // add 16 for HMAC, then round to 16-size for AES in Crypto_EncryptPacket()
1527 ((unsigned char *) data_dst)[0] = (unsigned char)(*len_dst - len_src); in Crypto_EncryptPacket()
1540 *len_dst = len_src + 16; in Crypto_EncryptPacket()
1549 (i == (int)0x80000000 + (int)*len_dst) // avoid NQ control packet in Crypto_EncryptPacket()
1557 *len_dst = len_src; in Crypto_EncryptPacket()
1585 *len_dst = len_src - ((unsigned char *) data_src)[0]; in Crypto_DecryptPacket()
1586 if(len < *len_dst || *len_dst > len_src - 16) in Crypto_DecryptPacket()
1606 Com_HexDumpToConsole((const unsigned char *) data_dst, (int)*len_dst); in Crypto_DecryptPacket()
1617 *len_dst = len_src - 16; in Crypto_DecryptPacket()
1618 if(len < *len_dst) in Crypto_DecryptPacket()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/python/intern/
H A Dbpy_rna_callback.c84 static PyObject *PyC_Tuple_CopySized(PyObject *src, int len_dst) in PyC_Tuple_CopySized() argument
86 PyObject *dst = PyTuple_New(len_dst); in PyC_Tuple_CopySized()
88 BLI_assert(len_src <= len_dst); in PyC_Tuple_CopySized()
/dports/security/sudo/sudo-1.9.8p2/src/
H A Dsesh.c273 off_t len_src, len_dst; in sesh_edit_copy_tfiles() local
321 len_dst = sb.st_size; in sesh_edit_copy_tfiles()
324 len_dst) == -1) { in sesh_edit_copy_tfiles()
/dports/graphics/blender/blender-2.91.0/source/blender/makesrna/intern/
H A Drna_rna.c2276 BLI_assert(len_dst == len_src && (!ptr_storage || len_dst == len_storage)); in rna_property_override_apply_default()
2279 const bool is_array = len_dst > 0; in rna_property_override_apply_default()
2289 array_a = (len_dst > RNA_STACK_ARRAY) ? MEM_mallocN(sizeof(*array_a) * len_dst, __func__) : in rna_property_override_apply_default()
2325 array_a = (len_dst > RNA_STACK_ARRAY) ? MEM_mallocN(sizeof(*array_a) * len_dst, __func__) : in rna_property_override_apply_default()
2336 array_b = (len_dst > RNA_STACK_ARRAY) ? in rna_property_override_apply_default()
2341 for (int i = len_dst; i--;) { in rna_property_override_apply_default()
2346 for (int i = len_dst; i--;) { in rna_property_override_apply_default()
2404 array_a = (len_dst > RNA_STACK_ARRAY) ? MEM_mallocN(sizeof(*array_a) * len_dst, __func__) : in rna_property_override_apply_default()
2421 for (int i = len_dst; i--;) { in rna_property_override_apply_default()
2426 for (int i = len_dst; i--;) { in rna_property_override_apply_default()
[all …]
H A Drna_access_compare_override.c468 int len_dst, len_src, len_storage = 0; in rna_property_override_operation_apply() local
519 len_dst = RNA_property_array_length(ptr_dst, prop_dst); in rna_property_override_operation_apply()
525 if (len_dst != len_src || (ptr_storage && len_dst != len_storage)) { in rna_property_override_operation_apply()
539 len_dst, in rna_property_override_operation_apply()
H A Drna_animation.c704 const int len_dst, in rna_AnimaData_override_apply() argument
712 BLI_assert(len_dst == len_src && (!ptr_storage || len_dst == len_storage) && len_dst == 0); in rna_AnimaData_override_apply()
715 UNUSED_VARS_NDEBUG(ptr_storage, len_dst, len_src, len_storage, opop); in rna_AnimaData_override_apply()
H A Drna_collection.c156 const int UNUSED(len_dst), in rna_Collection_objects_override_apply() argument
263 const int UNUSED(len_dst), in rna_Collection_children_override_apply() argument
H A Drna_object.c626 const int len_dst, in rna_Object_parent_override_apply() argument
634 BLI_assert(len_dst == len_src && (!ptr_storage || len_dst == len_storage) && len_dst == 0); in rna_Object_parent_override_apply()
637 UNUSED_VARS_NDEBUG(ptr_storage, len_dst, len_src, len_storage, opop); in rna_Object_parent_override_apply()
1537 const int UNUSED(len_dst), in rna_Object_constraints_override_apply() argument
1626 const int UNUSED(len_dst), in rna_Object_modifiers_override_apply() argument
1733 const int UNUSED(len_dst), in rna_Object_greasepencil_modifiers_override_apply() argument
H A Drna_internal_types.h251 const int len_dst,
H A Drna_internal.h537 const int len_dst,
/dports/devel/py-jsonpatch/jsonpatch-1.21/
H A Djsonpatch.py780 len_src, len_dst = len(src), len(dst)
781 max_len = max(len_src, len_dst)
782 min_len = min(len_src, len_dst)
801 elif len_src > len_dst:
802 self._item_removed(path, len_dst, src[key])
/dports/games/scummvm/scummvm-2.5.1/engines/ags/shared/util/
H A Dstring.cpp670 const size_t len_dst = with._len; in Replace() local
671 const size_t len_add = Math::Surplus(len_dst, len_src); in Replace()
688 if (len_src != len_dst) in Replace()
689 memmove(ptr + len_dst, ptr + len_src, _len - (ptr - _cstr + len_src) + 1); in Replace()
690 memcpy(ptr, with._cstr, len_dst); in Replace()
691 _len += len_dst - len_src; in Replace()
692 ptr += len_dst; in Replace()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/lattice/
H A Deditlattice_undo.c77 const int len_dst = editlatt->latt->pntsu * editlatt->latt->pntsv * editlatt->latt->pntsw; in undolatt_to_editlatt() local
78 if (len_src != len_dst) { in undolatt_to_editlatt()
/dports/x11/yelp/yelp-40.3/libyelp/
H A Dyelp-man-parser.c1051 guint len_dst = strlen (dst); in right_truncate_common() local
1053 guint k = (len_src < len_dst) ? len_src - 1 : len_dst - 1; in right_truncate_common()
1055 dst += len_dst - 1; in right_truncate_common()
/dports/archivers/upx/upx-3.96/src/stub/src/arch/arm/v4t/
H A Dnrv2e_d8.S89 ldr tmp,[r3] @ len_dst
/dports/devel/radare2/radare2-5.1.1/libr/util/
H A Dstr.c2829 R_API int r_str_utf16_to_utf8(ut8 *dst, int len_dst, const ut8 *src, int len_src, int little_endian… in r_str_utf16_to_utf8() argument
2831 ut8 *outend = dst + len_dst; in r_str_utf16_to_utf8()
2843 while ((in < inend) && (dst - outstart + 5 < len_dst)) { in r_str_utf16_to_utf8()
2901 len_dst = dst - outstart; in r_str_utf16_to_utf8()
2902 return len_dst; in r_str_utf16_to_utf8()
/dports/devel/radare2/radare2-5.1.1/libr/include/r_util/
H A Dr_str.h196 R_API int r_str_utf16_to_utf8(ut8 *dst, int len_dst, const ut8 *src, int len_src, int little_endian…

12