Home
last modified time | relevance | path

Searched refs:rtn (Results 1 – 25 of 56) sorted by relevance

123

/external/srec/shared/src/
DESR_Locale.c45 int rtn = 0; in ESR_str2locale() local
46 if (!lstrcasecmp(str, L("EN-US"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_US; in ESR_str2locale()
47 else if (!lstrcasecmp(str, L("FR-FR"), &rtn) && !rtn) *locale = ESR_LOCALE_FR_FR; in ESR_str2locale()
48 else if (!lstrcasecmp(str, L("DE-DE"), &rtn) && !rtn) *locale = ESR_LOCALE_DE_DE; in ESR_str2locale()
49 else if (!lstrcasecmp(str, L("EN-GB"), &rtn) && !rtn) *locale = ESR_LOCALE_EN_GB; in ESR_str2locale()
50 else if (!lstrcasecmp(str, L("IT-IT"), &rtn) && !rtn) *locale = ESR_LOCALE_IT_IT; in ESR_str2locale()
51 else if (!lstrcasecmp(str, L("NL-NL"), &rtn) && !rtn) *locale = ESR_LOCALE_NL_NL; in ESR_str2locale()
52 else if (!lstrcasecmp(str, L("PT-PT"), &rtn) && !rtn) *locale = ESR_LOCALE_PT_PT; in ESR_str2locale()
53 else if (!lstrcasecmp(str, L("ES-ES"), &rtn) && !rtn) *locale = ESR_LOCALE_ES_ES; in ESR_str2locale()
54 else if (!lstrcasecmp(str, L("JA-JP"), &rtn) && !rtn) *locale = ESR_LOCALE_JA_JP; in ESR_str2locale()
/external/srec/srec_jni/
Dandroid_speech_srec_Recognizer.cpp149 ESR_BOOL rtn = ESR_FALSE; in Java_android_speech_srec_Recognizer_SR_1RecognizerIsSetup() local
150 checkEsrError(env, SR_RecognizerIsSetup((SR_Recognizer*)recognizer, &rtn)); in Java_android_speech_srec_Recognizer_SR_1RecognizerIsSetup()
151 return rtn; in Java_android_speech_srec_Recognizer_SR_1RecognizerIsSetup()
199 ESR_BOOL rtn = ESR_FALSE; in Java_android_speech_srec_Recognizer_SR_1RecognizerHasSetupRules() local
200 checkEsrError(env, SR_RecognizerHasSetupRules((SR_Recognizer*)recognizer, &rtn)); in Java_android_speech_srec_Recognizer_SR_1RecognizerHasSetupRules()
201 return rtn; in Java_android_speech_srec_Recognizer_SR_1RecognizerHasSetupRules()
225 ESR_BOOL rtn = ESR_FALSE; in Java_android_speech_srec_Recognizer_SR_1RecognizerIsActiveRule() local
227 …rError(env, SR_RecognizerIsActiveRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn, &rtn)); in Java_android_speech_srec_Recognizer_SR_1RecognizerIsActiveRule()
229 return rtn; in Java_android_speech_srec_Recognizer_SR_1RecognizerIsActiveRule()
234 ESR_BOOL rtn = ESR_FALSE; in Java_android_speech_srec_Recognizer_SR_1RecognizerCheckGrammarConsistency() local
[all …]
/external/valgrind/main/none/tests/
Dpth_once.c42 int rtn; in identify_yourself() local
44 if ((rtn = pthread_once(&welcome_once_block, in identify_yourself()
46 fprintf(stderr, "pthread_once failed with %d",rtn); in identify_yourself()
56 int *id_arg, thread_num, rtn; in main() local
65 if (( rtn = pthread_create(&threads[thread_num], in main()
70 fprintf(stderr, "pthread_create failed with %d",rtn); in main()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Djspipe_test.cc33 int rtn = ki_ioctl(fd, request, ap); in ki_ioctl_wrapper() local
35 return rtn; in ki_ioctl_wrapper()
140 int rtn = pipe_dev_->Ioctl(NACL_IOC_HANDLEMESSAGE, &message); in JSPipeInject() local
144 return rtn; in JSPipeInject()
151 int rtn = pipe_dev_->Ioctl(NACL_IOC_HANDLEMESSAGE, &message); in JSPipeInjectAck() local
155 return rtn; in JSPipeInjectAck()
337 int rtn = pipe_dev_->Write(attrs, message, CHUNK_SIZE, &bytes_written); in TEST_F() local
338 if (rtn != 0) { in TEST_F()
339 ASSERT_EQ(EWOULDBLOCK, rtn); in TEST_F()
351 int rtn = pipe_dev_->Write(attrs, message, CHUNK_SIZE, &bytes_written); in TEST_F() local
[all …]
Dtty_test.cc30 int rtn = ki_ioctl(fd, request, ap); in ki_ioctl_wrapper() local
32 return rtn; in ki_ioctl_wrapper()
173 int rtn = ki_select(fd + 1, &readfds, NULL, &errorfds, &timeout); in IsReadable() local
174 if (rtn == 0) in IsReadable()
176 if (rtn != 1) in IsReadable()
202 int rtn = ki_select(tty_fd + 1, &readfds, NULL, &errorfds, &timeout); in TEST_F() local
203 ASSERT_EQ(0, rtn) << "select failed: " << rtn << " err=" << strerror(errno); in TEST_F()
214 rtn = ki_select(tty_fd + 1, &readfds, &writefds, &errorfds, NULL); in TEST_F()
215 ASSERT_EQ(1, rtn); in TEST_F()
335 int rtn = ki_select(tty_fd + 1, &readfds, NULL, &errorfds, &timeout); in TEST_F() local
[all …]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
Dhstrerror.c26 static char rtn[128]; in hstrerror() local
27 snprintf(rtn, sizeof(rtn), "Unknown error in gethostbyname: %d.", err); in hstrerror()
28 return rtn; in hstrerror()
Dinet_addr.c12 struct in_addr rtn = { 0 }; in inet_addr() local
13 int ret = inet_aton(addr, &rtn); in inet_addr()
17 return rtn.s_addr; in inet_addr()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
Dfake_var_manager.cc50 std::stringstream rtn; in Describe() local
53 rtn << "String with id " << var_data.id << in Describe()
57 rtn << "Array of size " << var_data.array_value.size() in Describe()
61 rtn << "ArrayBuffer of size " << var_data.buffer_value.length in Describe()
65 rtn << "Dictionary of size " << var_data.dict_value.size() << " with id " in Describe()
69 rtn << "resource of type " << var_data.type in Describe()
73 return rtn.str(); in Describe()
Dfake_var_dictionary_interface.cc54 PP_Var rtn = dict[key_string]; in Get() local
55 manager_->AddRef(rtn); in Get()
56 return rtn; in Get()
93 PP_Var rtn = array_interface_->Create(); in GetKeys() local
94 array_interface_->SetLength(rtn, dict.size()); in GetKeys()
99 array_interface_->Set(rtn, index, key); in GetKeys()
103 return rtn; in GetKeys()
Dfake_net_address_interface.cc43 PP_Resource rtn = CREATE_RESOURCE(ppapi_->resource_manager(), in CreateFromIPv4Address() local
46 return rtn; in CreateFromIPv4Address()
56 PP_Resource rtn = CREATE_RESOURCE(ppapi_->resource_manager(), in CreateFromIPv6Address() local
59 return rtn; in CreateFromIPv6Address()
Dfake_host_resolver_interface.cc80 uint32_t rtn = 0; in GetNetAddressCount() local
83 rtn += fake_addresses_v6.size(); in GetNetAddressCount()
87 rtn += fake_addresses_v4.size(); in GetNetAddressCount()
89 return rtn; in GetNetAddressCount()
/external/ipsec-tools/src/racoon/
Dsecurity.c217 int rtn = 1; in within_range() local
233 rtn = avc_context_to_sid(sl, &slsid); in within_range()
234 if (rtn != 0) { in within_range()
240 rtn = avc_context_to_sid(range, &rangesid); in within_range()
241 if (rtn != 0) { in within_range()
254 rtn = avc_has_perm(slsid, rangesid, tclass, av, NULL, &avd); in within_range()
255 if (rtn != 0) { in within_range()
/external/javassist/src/main/javassist/scopedpool/
DSoftValueHashMap.java204 Object rtn = hash.put(key, SoftValueRef.create(key, value, queue)); in put() local
205 if (rtn != null) in put()
206 rtn = ((SoftReference)rtn).get(); in put()
207 return rtn; in put()
/external/dhcpcd/
Dconfigure.c642 struct rt *rtp, *rtl, *rtn; in add_router_host_route() local
649 for (rtn = rt; rtn != rtp; rtn = rtn->next) { in add_router_host_route()
651 if (rtn->dest.s_addr == rtp->gate.s_addr) in add_router_host_route()
655 cp2 = (const char *)&rtn->dest.s_addr; in add_router_host_route()
656 cp3 = (const char *)&rtn->net.s_addr; in add_router_host_route()
657 cplim = cp3 + sizeof(rtn->net.s_addr); in add_router_host_route()
665 if (rtn != rtp) in add_router_host_route()
676 rtn = xmalloc(sizeof(*rtn)); in add_router_host_route()
677 rtn->dest.s_addr = rtp->gate.s_addr; in add_router_host_route()
678 rtn->net.s_addr = INADDR_BROADCAST; in add_router_host_route()
[all …]
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/
Dnacl_io_demo.c304 int rtn = read(fd, buffer, 512); in EchoInput() local
305 if (rtn > 0) { in EchoInput()
306 int wrote = write(fd, buffer, rtn); in EchoInput()
307 if (wrote < rtn) in EchoInput()
308 PostMessage("only wrote %d/%d bytes\n", wrote, rtn); in EchoInput()
310 if (rtn < 0 && errno != EAGAIN) in EchoInput()
333 int rtn = select(nfds + 1, &readfds, NULL, NULL, NULL); in EchoThread() local
334 if (rtn < 0 && errno != EAGAIN) { in EchoThread()
338 if (rtn > 0) { in EchoThread()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dkernel_proxy.cc74 Error rtn = 0; in Init() local
85 rtn = MountInternal("", "/", "passthroughfs", 0, NULL, false, &root_fs); in Init()
86 if (rtn != 0) in Init()
90 rtn = MountInternal("", "/dev", "dev", 0, NULL, false, &fs); in Init()
91 if (rtn != 0) in Init()
97 rtn = CreateFsNode(root_fs); in Init()
98 if (rtn != 0) in Init()
101 rtn = CreateFsNode(dev_fs_); in Init()
102 if (rtn != 0) in Init()
110 rtn = errno; in Init()
[all …]
Dkernel_wrap_dummy.cc69 int rtn = write(fd, buf, count); in _real_write() local
70 if (rtn < 0) in _real_write()
73 *nwrote = rtn; in _real_write()
Dkernel_wrap_newlib.cc135 int rtn = ki_getdents(fd, buf, count); in WRAP() local
136 RTN_ERRNO_IF(rtn < 0); in WRAP()
137 *nread = rtn; in WRAP()
210 char* rtn = ki_getcwd(pathname, len); in WRAP() local
211 RTN_ERRNO_IF(NULL == rtn); in WRAP()
251 int rtn = ki_readlink(pathname, buf, count); in WRAP() local
252 RTN_ERRNO_IF(rtn < 0); in WRAP()
253 *nread = rtn; in WRAP()
/external/chromium_org/native_client_sdk/src/tools/
Dfix_manifest.py125 rtn = main(sys.argv[1:]) variable
128 rtn = 1 variable
131 rtn = 1 variable
132 sys.exit(rtn)
Dcreate_html.py198 rtn = main(sys.argv[1:]) variable
201 rtn = 1 variable
204 rtn = 1 variable
205 sys.exit(rtn)
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
Dfcntl.c13 int rtn = ki_fcntl(fd, cmd, ap); in fcntl() local
15 return rtn; in fcntl()
Dioctl.c19 int rtn = ki_ioctl(fd, request, ap); in ioctl() local
21 return rtn; in ioctl()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
Decho_server.cc58 int32_t rtn = listening_socket_.Bind(addr, callback); in Start() local
59 if (rtn != PP_OK_COMPLETIONPENDING) { in Start()
76 int32_t rtn = listening_socket_.Listen(kBacklog, callback); in OnBindCompletion() local
77 if (rtn != PP_OK_COMPLETIONPENDING) { in OnBindCompletion()
/external/chromium_org/native_client_sdk/src/examples/api/socket/
Decho_server.cc57 int32_t rtn = listening_socket_.Bind(addr, callback); in Start() local
58 if (rtn != PP_OK_COMPLETIONPENDING) { in Start()
75 int32_t rtn = listening_socket_.Listen(kBacklog, callback); in OnBindCompletion() local
76 if (rtn != PP_OK_COMPLETIONPENDING) { in OnBindCompletion()
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
Dps_main.cc46 int rtn = PSUserMainGet()(argc, argv); local
48 return rtn;

123