Lines Matching refs:sun_path
80 #define SUN_LEN(su) (sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
982 ZEND_TRY_ASSIGN_REF_STRING(addr, s_un->sun_path);
1062 ZEND_TRY_ASSIGN_REF_STRING(arg2, s_un->sun_path);
1179 if (addr_len >= sizeof(s_un.sun_path)) {
1180 zend_argument_value_error(2, "must be less than %d", sizeof(s_un.sun_path));
1185 memcpy(&s_un.sun_path, addr, addr_len);
1187 (socklen_t)(XtOffsetOf(struct sockaddr_un, sun_path) + addr_len));
1244 if (addr_len >= sizeof(sa->sun_path)) {
1245 zend_argument_value_error(2, "must be less than %d", sizeof(sa->sun_path));
1248 memcpy(&sa->sun_path, addr, addr_len);
1251 offsetof(struct sockaddr_un, sun_path) + addr_len);
1423 ZEND_TRY_ASSIGN_REF_STRING(arg5, s_un.sun_path);
1526 snprintf(s_un.sun_path, sizeof(s_un.sun_path), "%s", addr);