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

/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Ddebugallocation.cc935 static int trace_fd = -1;
936 if (trace_fd == -1) { // Open the trace file on the first call
937 trace_fd = open("/tmp/google.alloc", O_CREAT|O_TRUNC|O_WRONLY, 0666);
938 if (trace_fd == -1) {
939 trace_fd = 2;
940 TracePrintf(trace_fd,
944 TracePrintf(trace_fd, "Trace started: %lu\n",
946 TracePrintf(trace_fd,
949 return trace_fd;
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Ddebugallocation.cc928 static int trace_fd = -1;
929 if (trace_fd == -1) { // Open the trace file on the first call
930 trace_fd = open("/tmp/google.alloc", O_CREAT|O_TRUNC|O_WRONLY, 0666);
931 if (trace_fd == -1) {
932 trace_fd = 2;
933 TracePrintf(trace_fd,
937 TracePrintf(trace_fd, "Trace started: %lu\n",
939 TracePrintf(trace_fd,
942 return trace_fd;
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dwpa_debug.c126 int mounts, trace_fd; local
166 trace_fd = open(buf, O_WRONLY);
167 if (trace_fd < 0) {
171 wpa_debug_tracing_file = fdopen(trace_fd, "w");
173 close(trace_fd);
/external/wpa_supplicant_8/src/utils/
H A Dwpa_debug.c126 int mounts, trace_fd; local
166 trace_fd = open(buf, O_WRONLY);
167 if (trace_fd < 0) {
171 wpa_debug_tracing_file = fdopen(trace_fd, "w");
173 close(trace_fd);
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dwpa_debug.c126 int mounts, trace_fd; local
166 trace_fd = open(buf, O_WRONLY);
167 if (trace_fd < 0) {
171 wpa_debug_tracing_file = fdopen(trace_fd, "w");
173 close(trace_fd);

Completed in 379 milliseconds