Lines Matching refs:buflen
264 int buflen = sizeof(sbuf) - 1; in php_snmp_getvalue() local
274 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue()
292 buflen = val_len; in php_snmp_getvalue()
295 if((valueretrieval & SNMP_VALUE_PLAIN) && val_len > buflen){ in php_snmp_getvalue()
298 buflen = val_len; in php_snmp_getvalue()
318 snprint_objid(buf, buflen, vars->val.objid, vars->val_len / sizeof(oid)); in php_snmp_getvalue()
323 snprintf(buf, buflen, "%d.%d.%d.%d", in php_snmp_getvalue()
326 buf[buflen]=0; in php_snmp_getvalue()
335 snprintf(buf, buflen, "%lu", *vars->val.integer); in php_snmp_getvalue()
336 buf[buflen]=0; in php_snmp_getvalue()
341 snprintf(buf, buflen, "%ld", *vars->val.integer); in php_snmp_getvalue()
342 buf[buflen]=0; in php_snmp_getvalue()
348 snprintf(buf, buflen, "%f", *vars->val.floatVal); in php_snmp_getvalue()
353 snprintf(buf, buflen, "%f", *vars->val.doubleVal); in php_snmp_getvalue()