Lines Matching refs:pptr
640 char *pptr; in php_snmp_parse_oid() local
669 pptr = ZSTR_VAL(type_str); in php_snmp_parse_oid()
670 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
686 pptr = ZSTR_VAL(type_str); in php_snmp_parse_oid()
687 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
713 pptr = Z_STRVAL_P(tmp_type); in php_snmp_parse_oid()
714 objid_query->vars[objid_query->count].type = *pptr; in php_snmp_parse_oid()
798 char *pptr, *host_ptr; in netsnmp_session_init() local
823 if ((pptr = strchr(host_ptr, ']'))) { in netsnmp_session_init()
824 if (pptr[1] == ':') { in netsnmp_session_init()
825 remote_port = atoi(pptr + 2); in netsnmp_session_init()
827 *pptr = '\0'; in netsnmp_session_init()
833 if ((pptr = strchr(host_ptr, ':'))) { in netsnmp_session_init()
834 remote_port = atoi(pptr + 1); in netsnmp_session_init()
835 *pptr = '\0'; in netsnmp_session_init()
850 pptr = session->peername; in netsnmp_session_init()
858 pptr = session->peername + strlen(session->peername); in netsnmp_session_init()
859 inet_ntop((*res)->sa_family, &(((struct sockaddr_in6*)(*res))->sin6_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
860 strcat(pptr, "]"); in netsnmp_session_init()
862 inet_ntop((*res)->sa_family, &(((struct sockaddr_in*)(*res))->sin_addr), pptr, MAX_NAME_LEN); in netsnmp_session_init()
882 pptr = session->peername + peername_length; in netsnmp_session_init()
883 snprintf(pptr, MAX_NAME_LEN - peername_length, ":%d", remote_port); in netsnmp_session_init()