/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 | 112 int nfd = poll(&pfd, 1, 0); local 114 if (nfd < 0) 120 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 | 73 nfd(*Normalizer2Factory::getNFDInstance(status)), 109 *@return gets the source: NOTE: it is the NFD form of source 172 nfd.normalize(newSource, source, status); 216 // on the NFD form - see above). 242 // it after NFD normalization 340 // we have a segment, in NFD. Find all the strings that are canonically equivalent to it. 381 nfd.normalize(possible, attempt, status); 509 nfd.normalize(temp, decompString, status); 566 nfd.normalize(temp, trial, status);
|
/external/icu4c/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 179 const Normalizer2 &nfd; member in class:CanonicalIterator 182 // 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 U_NAMESPACE_QUALIFIER Normalizer2 *nfd; member in struct:UStringSearch
|
bmsearch.cpp | 84 const Normalizer2 &nfd; member in class:Target 97 nfd(*Normalizer2Factory::getNFDInstance(status)), 354 // which may not be in FCD it might be faster to just NFD them. 357 nfd.normalize(UnicodeString(FALSE, targetBuffer + start, end - start), t2, status); 358 nfd.normalize(pattern, p2, status); 359 // return FALSE if NFD failed
|
/external/icu4c/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/icu4c/i18n/ |
usrchimp.h | 64 const icu::Normalizer2 *nfd; member in struct:UStringSearch
|
/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 | 157 int ExtractResolvFDs(void *state, int *fds, int nfd);
|
tsan_platform_linux.cc | 365 int ExtractResolvFDs(void *state, int *fds, int nfd) { 368 for (int i = 0; i < MAXNS && cnt < nfd; i++) {
|
/external/libppp/src/ |
bundle.c | 1381 int niov, expect, f, *fd, nfd, onfd; local 1548 int niov, f, expect, newsid, fd[SEND_MAXFD], nfd, reply[2]; local [all...] |
/external/mksh/src/ |
main.c | 1378 int nfd; local 1380 nfd = fcntl(shl_dbg_fd, F_DUPFD, FDBASE); 1382 if ((shl_dbg_fd = nfd) == -1) 1394 ksh_dup2(int ofd, int nfd, bool errok) 1398 if (((rv = dup2(ofd, nfd)) < 0) && !errok && (errno != EBADF)) 1404 fcntl(nfd, F_SETFD, 0); 1417 int nfd = fd; local 1419 if (fd < FDBASE && (nfd = fcntl(fd, F_DUPFD, FDBASE)) < 0 && 1422 if (nfd < 0 || nfd > SHRT_MAX 1647 int nfd; local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cnormtst.c | 338 log_err("ERROR in NFD quick check at U+%04x\n", CPNFD[count]); 383 log_data_err("ERROR in NFD quick check at U+%04x - (Are you missing data?)\n", cp); 411 log_err("ERROR in NFD quick check at U+%04x\n", CPNFD[count]); 448 /* NFD and NFKD does not have any MAYBE codepoints */ 480 log_data_err("ERROR in NFD quick check for string at count %d - (Are you missing data?)\n", count); 661 UChar nfd[100]; local 679 nfd, 100, &status); 684 if (nfdsize != normsize || u_memcmp(nfd, norm, nfdsize) != 0) { 711 log_data_err("unorm_normalize(pure preflighting NFD)=%ld failed with %s - (Are you missing data?)\n", length, u_errorName(errorCode)); 718 log_err("unorm_normalize(NFD)=%ld failed with %s\n", length, u_errorName(errorCode)) 1143 nfd[]={ \/* + separates expected output pieces *\/ local 1356 UChar s[U16_MAX_LENGTH], nfd[16]; local [all...] |
/external/icu4c/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.c | 93 static int read_notify(const char *dirname, int nfd) 103 res = read(nfd, event_buf, sizeof(event_buf));
|
/system/core/sh/ |
eval.c | 135 int nfd; local 141 nfd = fcntl(fds[0], F_DUPFD, 3); 142 if (nfd != -1) { 144 fds[0] = nfd; 149 nfd = fcntl(fds[1], F_DUPFD, 3); 150 if (nfd != -1) { 152 fds[1] = nfd;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
ucdtest.cpp | 340 const Normalizer2 *nfd=Normalizer2::getInstance(NULL, "nfc", UNORM2_DECOMPOSE, errorCode); local 343 dataerrln("Normalizer2::getInstance(NFD) or Normalizer2Factory::getNFCImpl() failed - %s\n", 353 UnicodeString decomp=nfd->normalize(UnicodeString(start), errorCode);
|
/external/icu4c/test/intltest/ |
ucdtest.cpp | 345 const Normalizer2 *nfd=Normalizer2::getNFDInstance(errorCode); local 348 dataerrln("Normalizer2::getInstance(NFD) or Normalizer2Factory::getNFCImpl() failed - %s\n", 358 UnicodeString decomp=nfd->normalize(UnicodeString(start), errorCode);
|
/external/chromium_org/ash/wm/ |
window_manager_unittest.cc | 354 NonFocusableDelegate nfd; local 356 &nfd, -1, gfx::Rect(10, 10, 10, 10), w1.get())); 399 NonFocusableDelegate nfd; local 401 &nfd, -1, gfx::Rect(70, 70, 50, 50)));
|