dup 512 base/debug/stack_trace_posix.cc fd = dup(it->second); dup 43 base/memory/shared_memory_android.cc readonly_mapped_file_ = dup(mapped_file_); dup 153 base/memory/shared_memory_nacl.cc const int new_fd = dup(mapped_file_); dup 373 base/memory/shared_memory_posix.cc mapped_file_ = dup(fileno(fp.get())); dup 452 base/memory/shared_memory_posix.cc const int new_fd = dup(handle_to_dup); dup 87 base/posix/file_descriptor_shuffle.cc *result = HANDLE_EINTR(dup(fd)); dup 485 base/process/process_util_unittest.cc if ((fd = HANDLE_EINTR(dup(i))) != -1) { dup 605 base/strings/string_util_unittest.cc va_list dup; dup 606 base/strings/string_util_unittest.cc GG_VA_COPY(dup, org); dup 613 base/strings/string_util_unittest.cc int i2 = va_arg(dup, int); dup 614 base/strings/string_util_unittest.cc int j2 = va_arg(dup, int); dup 615 base/strings/string_util_unittest.cc char* s2 = va_arg(dup, char*); dup 616 base/strings/string_util_unittest.cc double d2 = va_arg(dup, double); dup 623 base/strings/string_util_unittest.cc va_end(dup); dup 166 chrome/browser/ui/app_list/search/mixer_unittest.cc const std::string dup = "dup"; dup 169 chrome/browser/ui/app_list/search/mixer_unittest.cc app_provider()->set_prefix(dup); dup 173 chrome/browser/ui/app_list/search/mixer_unittest.cc omnibox_provider()->set_prefix(dup); dup 177 chrome/browser/ui/app_list/search/mixer_unittest.cc webstore_provider()->set_prefix(dup); dup 80 chromeos/process_proxy/process_proxy.cc int master_copy = HANDLE_EINTR(dup(pt_pair_[PT_MASTER_FD])); dup 827 components/nacl/browser/nacl_process_host.cc memory_fd.fd = dup(memory_buffer.handle().fd); dup 265 components/nacl/loader/nacl_listener.cc int urandom_fd = dup(base::GetUrandomFD()); dup 27 components/nacl/loader/nonsfi/irt_fdio.cc return CheckErrorWithResult(dup(fd), newfd); dup 354 content/browser/renderer_host/render_widget_helper.cc base::FileDescriptor fd(dup(i->second), true); dup 373 content/browser/renderer_host/render_widget_helper.cc allocated_dibs_[shared_memory->id()] = dup(result->fd); dup 262 content/common/gpu/client/gpu_channel_host.cc int duped_handle = HANDLE_EINTR(dup(source_handle.fd)); dup 37 content/common/sandbox_util.cc int fd = should_close_source ? handle : ::dup(handle); dup 515 content/renderer/npapi/webplugin_delegate_proxy.cc if ((handle_out->fd = HANDLE_EINTR(dup(handle_in.fd))) < 0) { dup 41 content/renderer/pepper/pepper_broker.cc out_handle = ::dup(handle); dup 25 ipc/file_descriptor_set_posix_unittest.cc const int duped = dup(fd); dup 287 ipc/ipc_channel_posix.cc local_pipe = HANDLE_EINTR(dup(local_pipe)); dup 40 ipc/ipc_platform_file.cc int fd = close_source_handle ? handle : ::dup(handle); dup 70 mojo/system/raw_shared_buffer_posix.cc base::ScopedFD fd(dup(fileno(fp.get()))); dup 146 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc return s_state.kp->dup(oldfd); dup 70 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int dup(int fd); dup 51 native_client_sdk/src/libraries/nacl_io/kernel_wrap.h int NAME(dup)(int oldfd) NOTHROW; dup 124 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc OP(dup); \ dup 161 native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc int WRAP(dup)(int fd, int* newfd) NOTHROW { dup 129 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc OP(dup); \ dup 158 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc int WRAP(dup)(int fd, int* newfd) NOTHROW { dup 60 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc OP(fdio, dup); \ dup 99 native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc int WRAP(dup)(int fd, int* newfd) { dup 177 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc TEST_F(KernelWrapTest, dup) { dup 178 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_CALL(mock, dup(kDummyInt)).WillOnce(Return(kDummyInt2)); dup 179 native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc EXPECT_EQ(kDummyInt2, dup(kDummyInt)); dup 26 native_client_sdk/src/tests/nacl_io_test/mock_kernel_proxy.h MOCK_METHOD1(dup, int(int)); dup 53 ppapi/native_client/src/trusted/plugin/module_ppapi.cc NaClSecureRngModuleSetUrandomFd(dup(private_interface_->UrandomFD())); dup 35 remoting/host/native_messaging/native_messaging_channel.cc result = dup(handle); dup 130 sandbox/linux/services/libc_urandom_override.cc int fd = HANDLE_EINTR(dup(base::GetUrandomFD())); dup 146 sandbox/linux/services/libc_urandom_override.cc int fd = HANDLE_EINTR(dup(base::GetUrandomFD())); dup 372 third_party/codesighs/msdump2symdb.c char* dup = NULL; dup 374 third_party/codesighs/msdump2symdb.c dup = strdup(dupMe); dup 375 third_party/codesighs/msdump2symdb.c if(NULL != dup) dup 379 third_party/codesighs/msdump2symdb.c trimWhite(dup); dup 380 third_party/codesighs/msdump2symdb.c slash2bs(dup); dup 392 third_party/codesighs/msdump2symdb.c inContainer->mObjects[index].mObject = dup; dup 412 third_party/codesighs/msdump2symdb.c ERROR_REPORT(retval, dup, "Unable to grow object array."); dup 413 third_party/codesighs/msdump2symdb.c free(dup); dup 1931 third_party/libxml/src/SAX2.c xmlChar *dup = NULL; dup 2031 third_party/libxml/src/SAX2.c dup = xmlSAX2DecodeAttrEntities(ctxt, value, valueend); dup 2032 third_party/libxml/src/SAX2.c if (dup == NULL) { dup 2042 third_party/libxml/src/SAX2.c dup = xmlStrndup(value, valueend - value); dup 2045 third_party/libxml/src/SAX2.c ctxt->myDoc, ctxt->node, ret, dup); dup 2065 third_party/libxml/src/SAX2.c ctxt->node, fullname, dup); dup 2072 third_party/libxml/src/SAX2.c xmlFree(dup); dup 2073 third_party/libxml/src/SAX2.c dup = nvalnorm; dup 2079 third_party/libxml/src/SAX2.c ctxt->myDoc, ctxt->node, ret, dup); dup 2086 third_party/libxml/src/SAX2.c dup = xmlStrndup(value, valueend - value); dup 2089 third_party/libxml/src/SAX2.c ctxt->myDoc, ctxt->node, ret, dup); dup 2108 third_party/libxml/src/SAX2.c if (dup == NULL) dup 2109 third_party/libxml/src/SAX2.c dup = xmlStrndup(value, valueend - value); dup 2111 third_party/libxml/src/SAX2.c if (xmlValidateNCName(dup, 1) != 0) { dup 2114 third_party/libxml/src/SAX2.c (const char *) dup, NULL); dup 2117 third_party/libxml/src/SAX2.c xmlAddID(&ctxt->vctxt, ctxt->myDoc, dup, ret); dup 2120 third_party/libxml/src/SAX2.c if (dup == NULL) dup 2121 third_party/libxml/src/SAX2.c dup = xmlStrndup(value, valueend - value); dup 2122 third_party/libxml/src/SAX2.c xmlAddID(&ctxt->vctxt, ctxt->myDoc, dup, ret); dup 2124 third_party/libxml/src/SAX2.c if (dup == NULL) dup 2125 third_party/libxml/src/SAX2.c dup = xmlStrndup(value, valueend - value); dup 2126 third_party/libxml/src/SAX2.c xmlAddRef(&ctxt->vctxt, ctxt->myDoc, dup, ret); dup 2129 third_party/libxml/src/SAX2.c if (dup != NULL) dup 2130 third_party/libxml/src/SAX2.c xmlFree(dup); dup 1762 third_party/libxml/src/relaxng.c const xmlChar * arg2, int dup) dup 1801 third_party/libxml/src/relaxng.c if (dup) { dup 2300 third_party/libxml/src/relaxng.c xmlRelaxNGValidErrorPtr err, dup; dup 2310 third_party/libxml/src/relaxng.c dup = &ctxt->errTab[j]; dup 2311 third_party/libxml/src/relaxng.c if ((err->err == dup->err) && (err->node == dup->node) && dup 2312 third_party/libxml/src/relaxng.c (xmlStrEqual(err->arg1, dup->arg1)) && dup 2313 third_party/libxml/src/relaxng.c (xmlStrEqual(err->arg2, dup->arg2))) { dup 2349 third_party/libxml/src/relaxng.c const xmlChar * arg2, int dup) dup 2387 third_party/libxml/src/relaxng.c xmlRelaxNGValidErrorPush(ctxt, err, arg1, arg2, dup); dup 3877 third_party/libxml/src/valid.c xmlChar *dup, *nam = NULL, *cur, save; dup 3880 third_party/libxml/src/valid.c dup = xmlStrdup(value); dup 3881 third_party/libxml/src/valid.c if (dup == NULL) dup 3883 third_party/libxml/src/valid.c cur = dup; dup 3908 third_party/libxml/src/valid.c xmlFree(dup); dup 6443 third_party/libxml/src/valid.c xmlChar *dup, *str = NULL, *cur, save; dup 6445 third_party/libxml/src/valid.c dup = xmlStrdup(name); dup 6446 third_party/libxml/src/valid.c if (dup == NULL) { dup 6450 third_party/libxml/src/valid.c cur = dup; dup 6468 third_party/libxml/src/valid.c xmlFree(dup); dup 6478 third_party/libxml/src/valid.c xmlChar *dup, *str = NULL, *cur, save; dup 6480 third_party/libxml/src/valid.c dup = xmlStrdup(name); dup 6481 third_party/libxml/src/valid.c if (dup == NULL) { dup 6486 third_party/libxml/src/valid.c cur = dup; dup 6504 third_party/libxml/src/valid.c xmlFree(dup); dup 1148 third_party/libxml/src/xmlIO.c fd = gzdopen(dup(0), "rb"); dup 1222 third_party/libxml/src/xmlIO.c fd = gzdopen(dup(1), mode); dup 1405 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc duped_stdin_ = dup(STDIN_FILENO); dup 162 third_party/protobuf/src/google/protobuf/testing/googletest.cc original_stdout_ = dup(1); dup 177 third_party/protobuf/src/google/protobuf/testing/googletest.cc original_stderr_ = dup(2); dup 195 tools/android/forwarder2/daemon.cc CHECK_EQ(dup(null_fd), STDOUT_FILENO); dup 196 tools/android/forwarder2/daemon.cc CHECK_EQ(dup(null_fd), STDERR_FILENO);