Searched refs:buff (Results 1 - 2 of 2) sorted by relevance

/sssd/src/tests/intg/
H A Dsssd_netgroup.py110 def _getnetgrent_r(result_p, buff, buff_len):
118 @param ctypes.c_char_Array buff buffer used by C functions
119 @param int buff_len size of c_char_Array passed as a paramere buff
136 res = func(result_p, buff, buff_len, errno)
211 buff = create_string_buffer(buff_len)
219 res, errno, result_p = self._getnetgrent_r(result_p, buff, buff_len)
232 res, errno, result_p = self._getnetgrent_r(result_p, buff,
/sssd/src/tests/cmocka/
H A Dtest_sysdb_sudo.c714 char buff[20]; local
743 strftime(buff, 20, "%Y%m%d%H%M%S%z", localtime(&cur_time));
744 ret = sysdb_attrs_add_string(tmp_attr, SYSDB_SUDO_CACHE_AT_NOTBEFORE, buff);
747 strftime(buff, 20, "%Y%m%d%H%M%S%z", localtime(&cur_time));
748 ret = sysdb_attrs_add_string(tmp_attr, SYSDB_SUDO_CACHE_AT_NOTAFTER, buff);
758 strftime(buff, 20, "%Y%m%d%H%M%S%z", localtime(&cur_time));
759 ret = sysdb_attrs_add_string(tmp_attr, SYSDB_SUDO_CACHE_AT_NOTBEFORE, buff);
762 strftime(buff, 20, "%Y%m%d%H%M%S%z", localtime(&cur_time));
763 ret = sysdb_attrs_add_string(tmp_attr, SYSDB_SUDO_CACHE_AT_NOTAFTER, buff);

Completed in 296 milliseconds