/third_party/node/deps/v8/src/diagnostics/arm64/ |
D | disasm-arm64.cc | 1579 NEONFormatDecoder nfd(instr); in VisitNEON3Same() local 1614 nfd.SetFormatMaps(nfd.LogicalFormatMap()); in VisitNEON3Same() 1662 nfd.SetFormatMaps(nfd.FPFormatMap()); in VisitNEON3Same() 1665 Format(instr, mnemonic, nfd.Substitute(form)); in VisitNEON3Same() 1673 NEONFormatDecoder nfd(instr); in VisitNEON2RegMisc() local 1698 nfd.SetFormatMap(0, &map_lp_ta); in VisitNEON2RegMisc() 1702 nfd.SetFormatMap(0, &map_lp_ta); in VisitNEON2RegMisc() 1721 nfd.SetFormatMap(0, &map_lp_ta); in VisitNEON2RegMisc() 1725 nfd.SetFormatMap(0, &map_lp_ta); in VisitNEON2RegMisc() 1770 nfd.SetFormatMaps(nfd.LogicalFormatMap()); in VisitNEON2RegMisc() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/dup2/ |
D | dup202.c | 29 static int ofd = -1, nfd = -1; variable 35 int *nfd; member 72 close(nfd); in cleanup() 84 nfd = *tc->nfd; in run() 86 TEST(dup2(ofd, nfd)); in run() 98 SAFE_FSTAT(nfd, &newbuf); in run() 107 SAFE_CLOSE(nfd); in run()
|
D | dup204.c | 17 static int nfd[2] = {10, 20}; variable 30 close(nfd[i]); in cleanup() 38 TEST(dup2(fd[i], nfd[i])); in run() 45 SAFE_FSTAT(nfd[i], &newbuf); in run()
|
D | dup207.c | 21 static int ofd = -1, nfd = 10; variable 45 close(nfd); in cleanup() 59 TEST(dup2(ofd, nfd)); in run() 67 SAFE_READ(1, nfd, read_buf, tc->exp_size); in run()
|
D | dup201.c | 29 int *nfd; member 47 TST_EXP_FAIL2(dup2(*tc->ofd, *tc->nfd), EBADF, in run() 48 "dup2(%d, %d)", *tc->ofd, *tc->nfd); in run()
|
/third_party/pulseaudio/src/pulsecore/ |
D | pstream-util.c | 55 a.nfd = 0; in pa_pstream_send_tagstruct_with_creds() 71 void pa_pstream_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, const int *fds, in pa_pstream_send_tagstruct_with_fds() argument 73 if (nfd > 0) { in pa_pstream_send_tagstruct_with_fds() 76 a.nfd = nfd; in pa_pstream_send_tagstruct_with_fds() 79 pa_assert(nfd <= MAX_ANCIL_DATA_FDS); in pa_pstream_send_tagstruct_with_fds() 80 memcpy(a.fds, fds, sizeof(int) * nfd); in pa_pstream_send_tagstruct_with_fds() 93 void PA_GCC_NORETURN pa_pstream_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, co… in pa_pstream_send_tagstruct_with_fds() argument
|
D | iochannel.c | 366 ssize_t pa_iochannel_write_with_fds(pa_iochannel*io, const void*data, size_t l, int nfd, const int … in pa_iochannel_write_with_fds() argument 381 pa_assert(nfd > 0); in pa_iochannel_write_with_fds() 382 pa_assert(nfd <= MAX_ANCIL_DATA_FDS); in pa_iochannel_write_with_fds() 393 memcpy(msgdata, fds, nfd * sizeof(int)); in pa_iochannel_write_with_fds() 394 cmsg.hdr.cmsg_len = CMSG_LEN(sizeof(int) * nfd); in pa_iochannel_write_with_fds() 406 mh.msg_controllen = CMSG_SPACE(sizeof(int) * nfd); in pa_iochannel_write_with_fds() 432 ancil_data->nfd = 0; in pa_iochannel_read_with_ancil_data() 449 ancil_data->nfd = 0; in pa_iochannel_read_with_ancil_data() 470 int nfd = (cmh->cmsg_len - CMSG_LEN(0)) / sizeof(int); in pa_iochannel_read_with_ancil_data() local 471 if (nfd > MAX_ANCIL_DATA_FDS) { in pa_iochannel_read_with_ancil_data() [all …]
|
D | poll-win32.c | 351 pa_poll (struct pollfd *pfd, nfds_t nfd, int timeout) in pa_poll() argument 364 if (nfd < 0 in pa_poll() 365 || (nfd > sc_open_max in pa_poll() 367 || nfd > (sc_open_max = sysconf (_SC_OPEN_MAX))))) in pa_poll() 374 if (nfd < 0 || nfd > OPEN_MAX) in pa_poll() 384 if (!pfd && nfd) in pa_poll() 417 for (i = 0; i < nfd; i++) in pa_poll() 453 for (i = 0; i < nfd; i++) in pa_poll() 489 for (i = 0; i < nfd; i++) in pa_poll() 591 for (i = 0; i < nfd; i++) in pa_poll()
|
D | socket-server.c | 103 int nfd; in callback() local 115 if ((nfd = pa_accept_cloexec(fd, NULL, NULL)) < 0) { in callback() 121 pa_close(nfd); in callback() 130 request_init(&req, RQ_DAEMON, s->tcpwrap_service, RQ_FILE, nfd, NULL); in callback() 134 pa_close(nfd); in callback() 144 pa_make_tcp_socket_low_delay(nfd); in callback() 146 pa_make_socket_low_delay(nfd); in callback() 148 pa_assert_se(io = pa_iochannel_new(s->mainloop, nfd, nfd)); in callback()
|
D | ohos_socket-server.c | 108 int nfd; in callback() local 120 if ((nfd = pa_accept_cloexec(fd, NULL, NULL)) < 0) { in callback() 126 pa_close(nfd); in callback() 135 request_init(&req, RQ_DAEMON, s->tcpwrap_service, RQ_FILE, nfd, NULL); in callback() 139 pa_close(nfd); in callback() 149 pa_make_tcp_socket_low_delay(nfd); in callback() 151 pa_make_socket_low_delay(nfd); in callback() 153 pa_assert_se(io = pa_iochannel_new(s->mainloop, nfd, nfd)); in callback()
|
D | native-common.c | 55 if (ancil->nfd == 0) { in pa_common_command_register_memfd_shmid() 61 if (ancil->nfd != 1 || ancil->fds[0] == -1) in pa_common_command_register_memfd_shmid()
|
D | pstream.c | 219 if (ancil && ancil->nfd > 0 && ancil->close_fds_on_cleanup) { in pa_cmsg_ancil_data_close_fds() 222 pa_assert(ancil->nfd <= MAX_ANCIL_DATA_FDS); in pa_cmsg_ancil_data_close_fds() 224 for (i = 0; i < ancil->nfd; i++) in pa_cmsg_ancil_data_close_fds() 230 ancil->nfd = 0; in pa_cmsg_ancil_data_close_fds() 467 pa_assert(ancil_data->nfd == 0); in pa_pstream_send_packet() 469 pa_assert(ancil_data->nfd > 0); in pa_pstream_send_packet() 787 pa_assert(p->write_ancil_data->nfd == 0); in do_write() 792 …if ((r = pa_iochannel_write_with_fds(p->io, d, l, p->write_ancil_data->nfd, p->write_ancil_data->f… in do_write() 906 if (b.nfd > 0) { in do_read() 907 pa_assert(b.nfd <= MAX_ANCIL_DATA_FDS); in do_read() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/close_range/ |
D | close_range01.c | 56 struct rlimit nfd; in setup() local 58 SAFE_GETRLIMIT(RLIMIT_NOFILE, &nfd); in setup() 60 if (nfd.rlim_max < 1000) { in setup() 62 nfd.rlim_max); in setup() 65 nfd.rlim_cur = nfd.rlim_max; in setup() 66 SAFE_SETRLIMIT(RLIMIT_NOFILE, &nfd); in setup()
|
/third_party/vixl/src/aarch64/ |
D | disasm-aarch64.cc | 2833 NEONFormatDecoder nfd(instr); in Disassembler() local 2834 nfd.SetFormatMap(0, &map_lp_ta); in Disassembler() 2835 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler() 2841 NEONFormatDecoder nfd(instr); in Disassembler() local 2842 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler() 2848 NEONFormatDecoder nfd(instr, NEONFormatDecoder::FPFormatMap()); in Disassembler() local 2849 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler() 2859 NEONFormatDecoder nfd(instr, &map_cvt_tb, &map_cvt_ta); in Disassembler() local 2861 VectorFormat vform_dst = nfd.GetVectorFormat(0); in Disassembler() 2864 nfd.SetFormatMaps(&map_cvt_ta, &map_cvt_tb); in Disassembler() [all …]
|
/third_party/curl/tests/server/ |
D | sockfilt.c | 630 DWORD timeout_ms, wait, nfd, nth, nws, i; in select_ws() local 684 nfd = 0; /* number of handled file descriptors */ in select_ws() 690 handles[nfd] = 0; in select_ws() 713 data[nfd].fd = fd; in select_ws() 720 handles[nfd] = signal; in select_ws() 723 nfd++; in select_ws() 732 handles[nfd] = GetStdHandle(STD_OUTPUT_HANDLE); in select_ws() 733 nfd++; in select_ws() 736 handles[nfd] = GetStdHandle(STD_ERROR_HANDLE); in select_ws() 737 nfd++; in select_ws() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/ |
D | epoll_wait01.c | 26 int nfd, write_size = 0; in get_writesize() local 37 nfd = poll(pfd, 1, 1); in get_writesize() 38 if (nfd == -1) in get_writesize() 40 } while (nfd > 0); in get_writesize()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uprops.cpp | 220 UnicodeString nfd; in changesWhenCasefolded() local 226 if(nfcNorm2->getDecomposition(c, nfd)) { in changesWhenCasefolded() 228 if(nfd.length()==1) { in changesWhenCasefolded() 229 c=nfd[0]; /* single BMP code point */ in changesWhenCasefolded() 230 } else if(nfd.length()<=U16_MAX_LENGTH && in changesWhenCasefolded() 231 nfd.length()==U16_LENGTH(c=nfd.char32At(0)) in changesWhenCasefolded() 249 nfd.getBuffer(), nfd.length(), in changesWhenCasefolded() 252 0!=u_strCompare(nfd.getBuffer(), nfd.length(), in changesWhenCasefolded()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
D | TransliteratorDisorderedMarksTest.java | 42 Normalizer2 nfd = Normalizer2.getNFDInstance(); in disorderedMarksAddAll() local 72 String s = nfd.getDecomposition(i); in disorderedMarksAddAll() 203 Normalizer2 nfd = Normalizer2.getNFDInstance(); in TestSourceTargetSet2() local 205 String test = nfd.normalize("\u0104"); in TestSourceTargetSet2()
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | TransliteratorDisorderedMarksTest.java | 39 Normalizer2 nfd = Normalizer2.getNFDInstance(); in disorderedMarksAddAll() local 69 String s = nfd.getDecomposition(i); in disorderedMarksAddAll() 200 Normalizer2 nfd = Normalizer2.getNFDInstance(); in TestSourceTargetSet2() local 202 String test = nfd.normalize("\u0104"); in TestSourceTargetSet2()
|
/third_party/node/deps/icu-small/source/common/ |
D | uprops.cpp | 222 UnicodeString nfd; in changesWhenCasefolded() local 228 if(nfcNorm2->getDecomposition(c, nfd)) { in changesWhenCasefolded() 230 if(nfd.length()==1) { in changesWhenCasefolded() 231 c=nfd[0]; /* single BMP code point */ in changesWhenCasefolded() 232 } else if(nfd.length()<=U16_MAX_LENGTH && in changesWhenCasefolded() 233 nfd.length()==U16_LENGTH(c=nfd.char32At(0)) in changesWhenCasefolded() 251 nfd.getBuffer(), nfd.length(), in changesWhenCasefolded() 254 0!=u_strCompare(nfd.getBuffer(), nfd.length(), in changesWhenCasefolded()
|
/third_party/icu/icu4c/source/common/ |
D | uprops.cpp | 222 UnicodeString nfd; in changesWhenCasefolded() local 228 if(nfcNorm2->getDecomposition(c, nfd)) { in changesWhenCasefolded() 230 if(nfd.length()==1) { in changesWhenCasefolded() 231 c=nfd[0]; /* single BMP code point */ in changesWhenCasefolded() 232 } else if(nfd.length()<=U16_MAX_LENGTH && in changesWhenCasefolded() 233 nfd.length()==U16_LENGTH(c=nfd.char32At(0)) in changesWhenCasefolded() 251 nfd.getBuffer(), nfd.length(), in changesWhenCasefolded() 254 0!=u_strCompare(nfd.getBuffer(), nfd.length(), in changesWhenCasefolded()
|
D | caniter.cpp | 76 nfd(*Normalizer2::getNFDInstance(status)), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 175 nfd.normalize(newSource, source, status); in setSource() 384 nfd.normalize(possible, attempt, status); in getEquivalents() 512 nfd.normalize(temp, decompString, status); in extract() 576 nfd.normalize(temp, trial, status); in extract()
|
/third_party/node/deps/v8/src/execution/arm64/ |
D | simulator-arm64.cc | 3913 NEONFormatDecoder nfd(instr); in VisitNEON2RegMisc() local 3914 VectorFormat vf = nfd.GetVectorFormat(); in VisitNEON2RegMisc() 3919 VectorFormat vf_lp = nfd.GetVectorFormat(&map_lp); in VisitNEON2RegMisc() 3922 VectorFormat vf_fcvtl = nfd.GetVectorFormat(&map_fcvtl); in VisitNEON2RegMisc() 3926 VectorFormat vf_fcvtn = nfd.GetVectorFormat(&map_fcvtn); in VisitNEON2RegMisc() 3999 vf = nfd.GetVectorFormat(nfd.LogicalFormatMap()); in VisitNEON2RegMisc() 4013 VectorFormat fpf = nfd.GetVectorFormat(nfd.FPFormatMap()); in VisitNEON2RegMisc() 4155 vf = nfd.GetVectorFormat(nfd.LongIntegerFormatMap()); in VisitNEON2RegMisc() 4176 NEONFormatDecoder nfd(instr); in VisitNEON3Same() local 4182 VectorFormat vf = nfd.GetVectorFormat(nfd.LogicalFormatMap()); in VisitNEON3Same() [all …]
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 40 nfd = Normalizer2.getNFDInstance(); in CollationBuilder() 116 String nfdString = nfd.normalize(str); in addReset() 443 nfdPrefix = nfd.normalize(prefix); in addRelation() 445 String nfdString = nfd.normalize(str); in addRelation() 505 String nfdExtension = nfd.normalize(extension); in addRelation() 905 if(nfd.getCombiningClass(lastStarter) == 0) { break; } 923 String decomp = nfd.getDecomposition(composite); 998 sourceCC = nfd.getCombiningClass(sourceChar); 1004 decompCC = nfd.getCombiningClass(decompChar); 1038 assert(nfd.isNormalized(newNFDString)); [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
D | CollationBuilder.java | 44 nfd = Normalizer2.getNFDInstance(); in CollationBuilder() 120 String nfdString = nfd.normalize(str); in addReset() 447 nfdPrefix = nfd.normalize(prefix); in addRelation() 449 String nfdString = nfd.normalize(str); in addRelation() 509 String nfdExtension = nfd.normalize(extension); in addRelation() 909 if(nfd.getCombiningClass(lastStarter) == 0) { break; } 927 String decomp = nfd.getDecomposition(composite); 1002 sourceCC = nfd.getCombiningClass(sourceChar); 1008 decompCC = nfd.getCombiningClass(decompChar); 1042 assert(nfd.isNormalized(newNFDString)); [all …]
|