Lines Matching defs:in
5 * Redistribution and use in source and binary forms, with or without
10 * * Redistributions in binary form must reproduce the above copyright
12 * in the documentation and/or other materials provided with the
21 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
63 static const int check_period = 1; // in sec
64 static const int tracing_check_period = 500000; // in micro sec
142 * If failed in getting status, new_cpu won't be updated and
145 ALOGE("Error in getting cpu status. Skipping this check.");
157 * Calculate cpu usage in the past interval.
207 sprintf(err_msg, "Error %d in writing to %s.", errno, path);
289 sprintf(err_msg, "Error in writing to atrace buffer size file.");
325 * Dump the log in a compressed format for systrace to visualize.
373 uint8_t *in, *out;
386 in = (uint8_t*)malloc(bufSize);
395 result = read(trace_fd, in, bufSize);
403 zs.next_in = in;
439 free(in);
523 " SIGUSR1: dump the current logging in a compressed form\n");
555 fprintf(stderr, "Error in getting options.\n"