Lines Matching refs:name

88 	while (b[i].name != NULL) { \
89 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \
548 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue()
697 …memmove((char *)root, (char *)(objid_query->vars[0].name), (objid_query->vars[0].name_length) * si… in php_snmp_internal()
724 snmp_add_null_var(pdu, objid_query->vars[0].name, objid_query->vars[0].name_length); in php_snmp_internal()
740 …if ((snmp_errno = snmp_add_var(pdu, objid_query->vars[objid_query->offset].name, objid_query->vars… in php_snmp_internal()
741 …snprint_objid(buf, sizeof(buf), objid_query->vars[objid_query->offset].name, objid_query->vars[obj… in php_snmp_internal()
749 …snmp_add_null_var(pdu, objid_query->vars[objid_query->offset].name, objid_query->vars[objid_query-… in php_snmp_internal()
782 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
783 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal()
789 …(vars->name_length < rootlen || memcmp(root, vars->name, rootlen * sizeof(oid)))) { /* not part of… in php_snmp_internal()
814 …gth && snmp_oid_compare(objid_query->vars[count].name, objid_query->vars[count].name_length, vars-… in php_snmp_internal()
823 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
827 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
828 … if (rootlen <= vars->name_length && snmp_oid_compare(root, rootlen, vars->name, rootlen) == 0) { in php_snmp_internal()
832 sprintf(buf, "%lu.", vars->name[count]); in php_snmp_internal()
840 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
850 …k == TRUE && snmp_oid_compare(objid_query->vars[0].name, objid_query->vars[0].name_length, vars->n… in php_snmp_internal()
851 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
855 … memmove((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal()
884 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
1051 …if (!snmp_parse_oid(objid_query->vars[0].oid, objid_query->vars[0].name, &(objid_query->vars[0].na… in php_snmp_parse_oid()
1057 memmove((char *)objid_query->vars[0].name, (char *)objid_mib, sizeof(objid_mib)); in php_snmp_parse_oid()
1063 …ry->vars[objid_query->offset].oid, objid_query->vars[objid_query->offset].name, &(objid_query->var… in php_snmp_parse_oid()
1899 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
1903 p.name = (char*) name; in php_snmp_add_property()
1907 zend_hash_str_add_mem(h, (char *)name, name_length, &p, sizeof(php_snmp_prop_handler)); in php_snmp_add_property()
2097 #define PHP_SNMP_BOOL_PROPERTY_READER_FUNCTION(name) \ argument
2098 static int php_snmp_read_##name(php_snmp_object *snmp_object, zval *retval) \
2100 ZVAL_BOOL(retval, snmp_object->name); \
2108 #define PHP_SNMP_LONG_PROPERTY_READER_FUNCTION(name) \ in PHP_SNMP_BOOL_PROPERTY_READER_FUNCTION() argument
2109 static int php_snmp_read_##name(php_snmp_object *snmp_object, zval *retval) \ in PHP_SNMP_BOOL_PROPERTY_READER_FUNCTION()
2111 ZVAL_LONG(retval, snmp_object->name); \ in PHP_SNMP_BOOL_PROPERTY_READER_FUNCTION()
2187 #define PHP_SNMP_BOOL_PROPERTY_WRITER_FUNCTION(name) \ argument
2188 static int php_snmp_write_##name(php_snmp_object *snmp_object, zval *newval) \
2195 snmp_object->name = Z_TYPE_P(newval) == IS_TRUE? 1 : 0; \
2279 #define PHP_SNMP_PROPERTY_ENTRY_RECORD(name) \ argument
2280 { "" #name "", sizeof("" #name "") - 1, php_snmp_read_##name, php_snmp_write_##name }