Lines Matching refs:counter
115 * below so that they'll be less susceptible to counter name changes.
158 * preference, regardless of the order of counter indices. For example,
174 set_desc(int counter, int maxcounter, const char *fdesc, const char **fdescs,
177 REQUIRE(counter < maxcounter);
178 REQUIRE(fdescs != NULL && fdescs[counter] == NULL);
180 REQUIRE(xdescs != NULL && xdescs[counter] == NULL);
183 fdescs[counter] = fdesc;
185 xdescs[counter] = xdesc;
1000 generalstat_dump(isc_statscounter_t counter, isc_uint64_t val, void *arg) {
1003 REQUIRE(counter < dumparg->ncounters);
1004 dumparg->countervalues[counter] = val;
1021 json_object *job, *cat, *counter;
1081 /* <counter> */
1084 "counter"));
1089 /* </counter> */
1096 "counter"));
1105 /* counter */
1112 counter = json_object_new_int64(value);
1113 if (counter == NULL)
1115 json_object_object_add(cat, desc[idx], counter);
1161 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counter"));
1246 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counter"));
1250 TRY0(xmlTextWriterEndElement(writer)); /* counter */
1303 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counter"));
1309 TRY0(xmlTextWriterEndElement(writer)); /* counter */
1359 TRY0(xmlTextWriterStartElement(writer, ISC_XMLCHAR "counter"));
1365 TRY0(xmlTextWriterEndElement(writer)); /* counter */