Searched refs:values (Results 1 - 5 of 5) sorted by relevance

/darwin-on-arm/xnu/tools/tests/jitter/
H A Dtimer_jitter.c159 compute_stats(double *values, uint64_t count, double *average_magnitudep, double *maxp, double *minp, double *stddevp) argument
169 _sum += fabs(values[i]);
170 _max = values[i] > _max ? values[i] : _max;
171 _min = values[i] < _min ? values[i] : _min;
178 _dev += pow((values[i] - _avg), 2);
/darwin-on-arm/xnu/tools/tests/zero-to-n/
H A Dzero-to-n.c358 * Given an array of uint64_t values, compute average, max, min, and standard deviation
361 compute_stats(uint64_t *values, uint64_t count, float *averagep, uint64_t *maxp, uint64_t *minp, float *stddevp) argument
371 _sum += values[i];
372 _max = values[i] > _max ? values[i] : _max;
373 _min = values[i] < _min ? values[i] : _min;
380 _dev += powf((((float)values[i]) - _avg), 2);
/darwin-on-arm/xnu/libkern/c++/
H A DOSUnserializeXML.y288 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH] )
383 values[*attributeCount][length++] = c;
387 values[*attributeCount][length] = 0;
392 // attributes[*attributeCount], values[*attributeCount], c);
656 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH];
675 tagType = getTag(STATE, tag, &attributeCount, attributes, values);
690 object->idref = strtol(values[i], NULL, 0);
695 object->idref = strtol(values[i], NULL, 0);
730 if (!strcmp(attributes[i], "format") && !strcmp(values[i], "hex")) {
742 if ((getTag(STATE, tag, &attributeCount, attributes, values) !
[all...]
H A DOSUnserializeXML.cpp1268 `yyvs': related to semantic values,
1900 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH] )
1995 values[*attributeCount][length++] = c;
1999 values[*attributeCount][length] = 0;
2004 // attributes[*attributeCount], values[*attributeCount], c);
2268 char values[TAG_MAX_ATTRIBUTES][TAG_MAX_LENGTH];
2287 tagType = getTag(STATE, tag, &attributeCount, attributes, values);
2302 object->idref = strtol(values[i], NULL, 0);
2307 object->idref = strtol(values[i], NULL, 0);
2342 if (!strcmp(attributes[i], "format") && !strcmp(values[
[all...]
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOMemoryDescriptor.cpp221 // Note this inline function uses C++ reference arguments to return values
1506 // Update return values and state
4012 OSObject *values[2];
4036 values[0] = values[1] = 0;
4063 values[0] =
4065 if (values[0] == 0) {
4069 values[1] = OSNumber::withNumber(len, sizeof(len) * 8);
4070 if (values[1] == 0) {
4074 OSDictionary *dict = OSDictionary::withObjects((const OSObject **)values, (cons
[all...]

Completed in 82 milliseconds