/external/libedit/src/ |
refresh.c | 504 Char *ofd, *ols, *oe, *nfd, *nls, *ne; local 515 nfd = n; 538 while (nfd < n) { 549 if (*ofd == '\0' && *nfd == '\0') { 556 while ((o > ofd) && (n > nfd) && (*--o == *--n)) 570 * case 1: insert: scan from nfd to nls looking for *ofd 573 for (c = *ofd, n = nfd; n < nls; n++) { 584 (2 * (p - n) > n - nfd)) { 594 * case 2: delete: scan from ofd to ols looking for *nfd 596 if (*nfd) { [all...] |
/system/core/toolbox/ |
alarm.c | 21 int nfd; local 159 nfd = open("/sys/android_power/acquire_full_wake_lock", O_RDWR); 160 write(nfd, wake_lock_id, sizeof(wake_lock_id) - 1); 161 close(nfd); 163 nfd = open("/sys/android_power/release_wake_lock", O_RDWR); 164 write(nfd, wake_lock_id, sizeof(wake_lock_id) - 1); 165 close(nfd);
|
notify.c | 14 int nfd, ffd; local 61 nfd = inotify_init(); 62 if(nfd < 0) { 69 res = inotify_add_watch(nfd, file_names[i], event_mask); 86 res = read(nfd, event_buf, sizeof(event_buf));
|
/frameworks/base/native/android/ |
sensor.cpp | 125 int nfd = poll(&pfd, 1, 0); local 127 if (nfd < 0) 133 return (nfd == 0) ? 0 : 1;
|
/external/bison/lib/ |
w32spawn.h | 59 int nfd = fd_safer_noinherit (dup_noinherit (fd)); local 63 return nfd;
|
/external/chromium_org/third_party/icu/source/common/ |
uprops.cpp | 110 UnicodeString nfd; local 116 if(nfcNorm2->getDecomposition(c, nfd)) { 118 if(nfd.length()==1) { 119 c=nfd[0]; /* single BMP code point */ 120 } else if(nfd.length()<=U16_MAX_LENGTH && 121 nfd.length()==U16_LENGTH(c=nfd.char32At(0)) 140 nfd.getBuffer(), nfd.length(), 143 0!=u_strCompare(nfd.getBuffer(), nfd.length() [all...] |
caniter.cpp | 74 nfd(*Normalizer2Factory::getNFDInstance(status)), 110 *@return gets the source: NOTE: it is the NFD form of source 173 nfd.normalize(newSource, source, status); 217 // on the NFD form - see above). 243 // it after NFD normalization 341 // we have a segment, in NFD. Find all the strings that are canonically equivalent to it. 382 nfd.normalize(possible, attempt, status); 510 nfd.normalize(temp, decompString, status); 567 nfd.normalize(temp, trial, status);
|
/external/icu/icu4c/source/common/ |
uprops.cpp | 110 UnicodeString nfd; local 116 if(nfcNorm2->getDecomposition(c, nfd)) { 118 if(nfd.length()==1) { 119 c=nfd[0]; /* single BMP code point */ 120 } else if(nfd.length()<=U16_MAX_LENGTH && 121 nfd.length()==U16_LENGTH(c=nfd.char32At(0)) 140 nfd.getBuffer(), nfd.length(), 143 0!=u_strCompare(nfd.getBuffer(), nfd.length() [all...] |
caniter.cpp | 74 nfd(*Normalizer2Factory::getNFDInstance(status)), 110 *@return gets the source: NOTE: it is the NFD form of source 173 nfd.normalize(newSource, source, status); 217 // on the NFD form - see above). 243 // it after NFD normalization 341 // we have a segment, in NFD. Find all the strings that are canonically equivalent to it. 382 nfd.normalize(possible, attempt, status); 510 nfd.normalize(temp, decompString, status); 567 nfd.normalize(temp, trial, status);
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
caniter.h | 89 * Gets the NFD form of the current source we are iterating over. 90 * @return gets the source: NOTE: it is the NFD form of source 181 const Normalizer2 &nfd; member in class:CanonicalIterator 184 // we have a segment, in NFD. Find all the strings that are canonically equivalent to it.
|
/external/chromium_org/third_party/icu/source/i18n/ |
usrchimp.h | 64 const icu::Normalizer2 *nfd; member in struct:UStringSearch
|
/external/icu/icu4c/source/common/unicode/ |
caniter.h | 89 * Gets the NFD form of the current source we are iterating over. 90 * @return gets the source: NOTE: it is the NFD form of source 181 const Normalizer2 &nfd; member in class:CanonicalIterator 184 // we have a segment, in NFD. Find all the strings that are canonically equivalent to it.
|
/external/netcat/ |
netcat.c | 760 readwrite(int nfd) 771 pfd[0].fd = nfd; 783 close(nfd); 791 if ((n = read(nfd, buf, plen)) < 0) 794 shutdown(nfd, SHUT_RD); 799 atelnet(nfd, buf, n); 809 shutdown(nfd, SHUT_WR); 813 if (atomicio(vwrite, nfd, buf, n) != n) 822 atelnet(int nfd, unsigned char *buf, unsigned int size) 846 if (atomicio(vwrite, nfd, obuf, 3) != 3 [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_platform.h | 196 int ExtractResolvFDs(void *state, int *fds, int nfd); 197 int ExtractRecvmsgFDs(void *msg, int *fds, int nfd);
|
tsan_platform_linux.cc | 372 int ExtractResolvFDs(void *state, int *fds, int nfd) { 376 for (int i = 0; i < MAXNS && cnt < nfd; i++) { 389 int ExtractRecvmsgFDs(void *msgp, int *fds, int nfd) { 399 if (res == nfd)
|
/external/mksh/src/ |
main.c | 1357 int nfd; local 1359 nfd = fcntl(shl_dbg_fd, F_DUPFD, FDBASE); 1361 if ((shl_dbg_fd = nfd) == -1) 1373 ksh_dup2(int ofd, int nfd, bool errok) 1377 if (((rv = dup2(ofd, nfd)) < 0) && !errok && (errno != EBADF)) 1383 fcntl(nfd, F_SETFD, 0); 1396 int nfd = fd; local 1398 if (fd < FDBASE && (nfd = fcntl(fd, F_DUPFD, FDBASE)) < 0 && 1401 if (nfd < 0 || nfd > SHRT_MAX [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cnormtst.c | 342 log_err("ERROR in NFD quick check at U+%04x\n", CPNFD[count]); 387 log_data_err("ERROR in NFD quick check at U+%04x - (Are you missing data?)\n", cp); 415 log_err("ERROR in NFD quick check at U+%04x\n", CPNFD[count]); 452 /* NFD and NFKD does not have any MAYBE codepoints */ 484 log_data_err("ERROR in NFD quick check for string at count %d - (Are you missing data?)\n", count); 665 UChar nfd[100]; local 683 nfd, 100, &status); 688 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) { 715 log_data_err("unorm_normalize(pure preflighting NFD)=%ld failed with %s - (Are you missing data?)\n", length, u_errorName(errorCode)); 722 log_err("unorm_normalize(NFD)=%ld failed with %s\n", length, u_errorName(errorCode)) 1147 nfd[]={ \/* + separates expected output pieces *\/ local 1360 UChar s[U16_MAX_LENGTH], nfd[16]; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cnormtst.c | 342 log_err("ERROR in NFD quick check at U+%04x\n", CPNFD[count]); 387 log_data_err("ERROR in NFD quick check at U+%04x - (Are you missing data?)\n", cp); 415 log_err("ERROR in NFD quick check at U+%04x\n", CPNFD[count]); 452 /* NFD and NFKD does not have any MAYBE codepoints */ 484 log_data_err("ERROR in NFD quick check for string at count %d - (Are you missing data?)\n", count); 665 UChar nfd[100]; local 683 nfd, 100, &status); 688 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) { 715 log_data_err("unorm_normalize(pure preflighting NFD)=%ld failed with %s - (Are you missing data?)\n", length, u_errorName(errorCode)); 722 log_err("unorm_normalize(NFD)=%ld failed with %s\n", length, u_errorName(errorCode)) 1147 nfd[]={ \/* + separates expected output pieces *\/ local 1360 UChar s[U16_MAX_LENGTH], nfd[16]; local [all...] |
/system/core/debuggerd/ |
getevent.cpp | 105 static int read_notify(const char* dirname, int nfd) { 114 res = read(nfd, event_buf, sizeof(event_buf));
|
/external/icu/icu4c/source/i18n/ |
collationbuilder.cpp | 193 : nfd(*Normalizer2::getNFDInstance(errorCode)), 296 UnicodeString nfdString = nfd.normalize(str, errorCode); 647 nfd.normalize(prefix, nfdPrefix, errorCode); 653 UnicodeString nfdString = nfd.normalize(str, errorCode); 726 UnicodeString nfdExtension = nfd.normalize(extension, errorCode); [all...] |
collationruleparser.h | 178 const Normalizer2 &nfd, &nfc; member in class:CollationRuleParser
|
usrchimp.h | 170 const icu::Normalizer2 *nfd; member in struct:UStringSearch
|
collationbuilder.h | 293 const Normalizer2 &nfd, &fcd; member in class:CollationBuilder
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
ucdtest.cpp | 346 const Normalizer2 *nfd=Normalizer2::getNFDInstance(errorCode); local 349 dataerrln("Normalizer2::getInstance(NFD) or Normalizer2Factory::getNFCImpl() failed - %s\n", 359 UnicodeString decomp=nfd->normalize(UnicodeString(start), errorCode);
|
/external/icu/icu4c/source/test/intltest/ |
ucdtest.cpp | 346 const Normalizer2 *nfd=Normalizer2::getNFDInstance(errorCode); local 349 dataerrln("Normalizer2::getInstance(NFD) or Normalizer2Factory::getNFCImpl() failed - %s\n", 359 UnicodeString decomp=nfd->normalize(UnicodeString(start), errorCode);
|