/external/icu/icu4c/source/common/ |
D | uloc_keytype.cpp | 91 initFromResourceBundle(UErrorCode& sts) { in initFromResourceBundle() argument 95 gLocExtKeyMap = uhash_open(uhash_hashIChars, uhash_compareIChars, NULL, &sts); in initFromResourceBundle() 97 LocalUResourceBundlePointer keyTypeDataRes(ures_openDirect(NULL, "keyTypeData", &sts)); in initFromResourceBundle() 98 …alUResourceBundlePointer keyMapRes(ures_getByKey(keyTypeDataRes.getAlias(), "keyMap", NULL, &sts)); in initFromResourceBundle() 99 …UResourceBundlePointer typeMapRes(ures_getByKey(keyTypeDataRes.getAlias(), "typeMap", NULL, &sts)); in initFromResourceBundle() 101 if (U_FAILURE(sts)) { in initFromResourceBundle() 111 gKeyTypeStringPool = new UVector(uloc_deleteKeyTypeStringPoolEntry, NULL, sts); in initFromResourceBundle() 113 if (U_SUCCESS(sts)) { in initFromResourceBundle() 114 sts = U_MEMORY_ALLOCATION_ERROR; in initFromResourceBundle() 117 if (U_FAILURE(sts)) { in initFromResourceBundle() [all …]
|
/external/python/cpython2/Demo/scripts/ |
D | mboxconvert.py | 27 sts = 0 30 sts = dofile(sys.stdin) or sts 32 sts = mh(arg) or sts 38 sts = 1 40 sts = dofile(f) or sts 44 sts = 1 45 if sts: 46 sys.exit(sts) 51 sts = 0 61 sts = 1 [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | LanguageTag.java | 164 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument 165 if (sts == null) { in parse() 166 sts = new ParseStatus(); in parse() 168 sts.reset(); in parse() 187 if (tag.parseLanguage(itr, sts)) { in parse() 188 tag.parseExtlangs(itr, sts); in parse() 189 tag.parseScript(itr, sts); in parse() 190 tag.parseRegion(itr, sts); in parse() 191 tag.parseVariants(itr, sts); in parse() 192 tag.parseExtensions(itr, sts); in parse() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LanguageTag.java | 160 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument 161 if (sts == null) { in parse() 162 sts = new ParseStatus(); in parse() 164 sts.reset(); in parse() 183 if (tag.parseLanguage(itr, sts)) { in parse() 184 tag.parseExtlangs(itr, sts); in parse() 185 tag.parseScript(itr, sts); in parse() 186 tag.parseRegion(itr, sts); in parse() 187 tag.parseVariants(itr, sts); in parse() 188 tag.parseExtensions(itr, sts); in parse() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
D | LanguageTag.java | 160 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse() argument 161 if (sts == null) { in parse() 162 sts = new ParseStatus(); in parse() 164 sts.reset(); in parse() 181 if (tag.parseLanguage(itr, sts)) { in parse() 182 tag.parseExtlangs(itr, sts); in parse() 183 tag.parseScript(itr, sts); in parse() 184 tag.parseRegion(itr, sts); in parse() 185 tag.parseVariants(itr, sts); in parse() 186 tag.parseExtensions(itr, sts); in parse() [all …]
|
/external/python/cpython2/Demo/curses/ |
D | repeat.py | 35 sts = p.close() 36 if sts: 37 print >>sys.stderr, "Exit code:", sts 38 sys.exit(sts) 51 sts = p.close() 52 if sts: 53 print >>sys.stderr, "Exit code:", sts 54 sys.exit(sts)
|
/external/python/cpython2/Tools/scripts/ |
D | md5sum.py | 26 sts = 0 36 sts = printsumfp(sys.stdin, '<stdin>', out) or sts 38 sts = printsum(f, out) or sts 40 sts = sum(f, out) or sts 41 return sts 51 sts = printsumfp(fp, filename, out) 53 return sts
|
D | which.py | 19 sts = 0 51 sts = os.system('ls ' + longlist + ' ' + filename) 52 if sts: msg('"ls -l" exit status: ' + repr(sts)) 55 sts = 1 57 sys.exit(sts)
|
D | xxci.py | 95 sts = os.system('rcs -l ' + file) # ignored 96 sts = os.system('ci -l ' + file) 100 sts = os.system(cmd) 101 return sts != 0 105 sts = os.system(cmd)
|
/external/python/cpython2/Lib/ |
D | popen2.py | 38 sts = -1 # Child not completed yet variable in Popen3 77 if self.sts < 0: 94 if self.sts < 0: 96 pid, sts = os.waitpid(self.pid, os.WNOHANG) 99 self.sts = sts 102 self.sts = _deadstate 103 return self.sts 107 if self.sts < 0: 108 pid, sts = os.waitpid(self.pid, 0) 112 self.sts = sts [all …]
|
D | commands.py | 61 sts = pipe.close() 62 if sts is None: sts = 0 64 return sts, text
|
D | toaiff.py | 84 sts = uncompress.copy(filename, fname) 85 if sts: 107 sts = table[ftype].copy(fname, temp) 108 if sts:
|
/external/python/cpython2/Python/ |
D | frozenmain.c | 18 int n, sts; in Py_FrozenMain() local 56 sts = 1; in Py_FrozenMain() 59 sts = 0; in Py_FrozenMain() 62 sts = PyRun_AnyFile(stdin, "<stdin>") != 0; in Py_FrozenMain() 68 return sts; in Py_FrozenMain()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/ |
D | 4-1.c | 33 int unresolved = 0, sts; in main() local 44 sts = sem_timedwait(&mysemp, &ts); in main() 45 if (sts == -1) { in main() 56 if ((sts == 0) && (unresolved == 0)) { in main()
|
D | 1-1.c | 33 int val, sts; in main() local 44 sts = sem_timedwait(&mysemp, &ts); in main() 45 if (sts == -1) { in main() 57 if (val == 0 && sts == 0) { in main()
|
D | 11-1.c | 37 int val[2], sts[2]; in main() local 53 sts[i] = sem_timedwait(&mysemp[i], &ts[i]); in main() 54 if (sts[i] == -1) { in main() 66 if ((val[i] == 0) && (sts[i] == 0)) { in main()
|
D | 6-1.c | 34 int sts; in main() local 43 sts = sem_timedwait(&mysemp, &ts); in main() 45 if (errno == EINVAL && sts == -1) { in main()
|
D | 6-2.c | 36 int sts; in main() local 45 sts = sem_timedwait(&mysemp, &ts); in main() 47 if (errno == EINVAL && sts == -1) { in main()
|
D | 2-2.c | 36 int sts, val; in main() local 47 sts = sem_timedwait(&mysemp, &ts); in main() 59 if ((val == 1) && (sts == -1)) { in main()
|
/external/autotest/server/ |
D | subcommand.py | 198 def _handle_exitstatus(self, sts): argument 202 if os.WIFSIGNALED(sts): 203 self.returncode = -os.WTERMSIG(sts) 204 elif os.WIFEXITED(sts): 205 self.returncode = os.WEXITSTATUS(sts) 230 pid, sts = os.waitpid(self.pid, os.WNOHANG) 232 self._handle_exitstatus(sts) 243 pid, sts = os.waitpid(self.pid, 0) 244 self._handle_exitstatus(sts)
|
/external/python/cpython2/Modules/ |
D | main.c | 242 int sts; in Py_Main() local 584 sts = PyRun_SimpleStringFlags(command, &cf) != 0; in Py_Main() 587 sts = (RunModule(module, 1) != 0); in Py_Main() 598 sts = -1; /* keep track of whether we've already run __main__ */ in Py_Main() 601 sts = RunMainFromImporter(filename); in Py_Main() 604 if (sts==-1 && filename!=NULL) { in Py_Main() 634 if (sts==-1) { in Py_Main() 638 sts = 1; in Py_Main() 640 sts = PyRun_AnyFileExFlags( in Py_Main() 662 sts = PyRun_AnyFileFlags(stdin, "<stdin>", &cf) != 0; in Py_Main() [all …]
|
/external/curl/src/ |
D | tool_getpass.c | 66 long sts; in getpass_r() local 82 sts = sys$assign(&ttdesc, &chan, 0, 0); in getpass_r() 83 if(sts & 1) { in getpass_r() 84 sts = sys$qiow(0, chan, in getpass_r() 89 if((sts & 1) && (iosb.iosb$w_status & 1)) in getpass_r() 92 sts = sys$dassgn(chan); in getpass_r()
|
/external/python/cpython2/Demo/sockets/ |
D | gopher.py | 246 sts = os.system('set -x; exec telnet ' + host + ' ' + port) 247 if sts: 248 print 'Exit status:', sts 276 sts = self.f.close() 277 if sts: 278 print 'Exit status:', sts 290 sts = self.f.close() 291 if sts: 292 print 'Exit status:', sts
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
D | 1-1.c | 30 int sts; in main() local 33 sts = sem_init(&mysemp, 0, 1); in main() 40 if ((sts == -1) && (val != 1)) { in main()
|
/external/python/cpython2/Lib/plat-irix6/ |
D | torgb.py | 79 sts = uncompress.copy(filename, fname) 80 if sts: 99 sts = table[ftype].copy(fname, temp) 100 if sts:
|