Lines Matching refs:name_length
89 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \
256 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue()
405 …memcpy((char *)root, (char *)(objid_query->vars[0].name), (objid_query->vars[0].name_length) * siz… in php_snmp_internal()
406 rootlen = objid_query->vars[0].name_length; in php_snmp_internal()
431 snmp_add_null_var(pdu, objid_query->vars[0].name, objid_query->vars[0].name_length); in php_snmp_internal()
446 …vars[objid_query->offset].name, objid_query->vars[objid_query->offset].name_length, objid_query->v… in php_snmp_internal()
447 …, objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->offset].name_length); in php_snmp_internal()
454 …, objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query->offset].name_length); in php_snmp_internal()
486 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
487 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal()
493 …(vars->name_length < rootlen || memcmp(root, vars->name, rootlen * sizeof(oid)))) { /* not part of… in php_snmp_internal()
518 ….name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, objid_query->… in php_snmp_internal()
520 objid_query->vars[count].name_length = 0; /* mark this name as used */ in php_snmp_internal()
527 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
531 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
532 … if (rootlen <= vars->name_length && snmp_oid_compare(root, rootlen, vars->name, rootlen) == 0) { in php_snmp_internal()
535 while(count < vars->name_length){ in php_snmp_internal()
544 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
554 …ompare(objid_query->vars[0].name, objid_query->vars[0].name_length, vars->name, vars->name_length)… in php_snmp_internal()
555 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
559 … memcpy((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal()
560 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal()
588 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
765 objid_query->vars[0].name_length = MAX_NAME_LEN; in php_snmp_parse_oid()
767 …se_oid(objid_query->vars[0].oid, objid_query->vars[0].name, &(objid_query->vars[0].name_length))) { in php_snmp_parse_oid()
774 objid_query->vars[0].name_length = sizeof(objid_mib) / sizeof(oid); in php_snmp_parse_oid()
778 objid_query->vars[objid_query->offset].name_length = MAX_OID_LEN; in php_snmp_parse_oid()
779 …id_query->vars[objid_query->offset].name, &(objid_query->vars[objid_query->offset].name_length))) { in php_snmp_parse_oid()
1669 void php_snmp_add_property(HashTable *h, const char *name, size_t name_length, php_snmp_read_t read… in php_snmp_add_property() argument
1675 p.name_length = name_length; in php_snmp_add_property()
1678 str = zend_string_init_interned(name, name_length, 1); in php_snmp_add_property()