Searched refs:temp_fd (Results 1 – 3 of 3) sorted by relevance
25 int temp_fd = -1; in PerformInjectiveMultimapDestructive() local37 if (temp_fd == -1) { in PerformInjectiveMultimapDestructive()38 if (!delegate->Duplicate(&temp_fd, i->dest)) in PerformInjectiveMultimapDestructive()41 extra_fds[next_extra_fd++] = temp_fd; in PerformInjectiveMultimapDestructive()48 j->source = temp_fd; in PerformInjectiveMultimapDestructive()
219 int temp_fd = -1; in filelock_lock() local228 temp_fd = mkstemp( lock->temp ); in filelock_lock()230 if (temp_fd < 0) { in filelock_lock()236 ret = write( temp_fd, pid, strlen(pid)+1 ); in filelock_lock()241 close( temp_fd ); in filelock_lock()242 temp_fd = -1; in filelock_lock()335 if (temp_fd >= 0) { in filelock_lock()336 close(temp_fd); in filelock_lock()
195 temp_fd, temp_name = tempfile.mkstemp(suffix)196 f = os.fdopen(temp_fd, 'wb')