HomeSort by relevance Sort by last modified time
    Searched refs:rc (Results 26 - 50 of 611) sorted by null

12 3 4 5 6 7 8 91011>>

  /hardware/msm7k/librpc/
ops.c 30 int rc = read((int) handle, (void *)buf, size); local
31 if (rc < 0)
35 int len = rc / 4;
37 fprintf(stdout, "RPC in %02d:", rc);
43 return rc;
48 int rc = write(handle, (void *)buf, size); local
49 if (rc < 0)
53 int len = rc / 4;
55 fprintf(stdout, "RPC out %02d:", rc);
61 return rc;
    [all...]
  /external/srec/portable/src/
PFile.c 131 ESR_ReturnCode rc; local
138 rc = self->getFilename(self, filename, len);
139 return rc;
164 ESR_ReturnCode rc; local
171 rc = self->vfprintf(self, result, format, args);
172 return rc;
199 ESR_ReturnCode rc; local
210 rc = ESR_READ_ERROR;
211 PLogError(ESR_rc2str(rc));
216 rc = ESR_INVALID_STATE
273 ESR_ReturnCode rc = ESR_SUCCESS; local
338 ESR_ReturnCode rc; local
361 ESR_ReturnCode rc; local
371 ESR_ReturnCode rc; local
381 ESR_ReturnCode rc; local
396 ESR_ReturnCode rc; local
407 ESR_ReturnCode rc; local
442 ESR_ReturnCode rc; local
453 ESR_ReturnCode rc; local
464 ESR_ReturnCode rc; local
    [all...]
plog.c 93 ESR_ReturnCode rc; local
97 rc = pvfprintf(p->fp, format, args);
99 return rc;
155 ESR_ReturnCode rc = ESR_SUCCESS; local
163 if ((rc = PtrdMutexCreate(&Gmutex)) != ESR_SUCCESS)
164 return rc;
171 rc = createPFileLogger(PSTDERR, &Glogger);
172 if (rc != ESR_SUCCESS)
176 return rc;
185 return rc;
213 ESR_ReturnCode rc = ESR_SUCCESS; local
264 ESR_ReturnCode rc = ESR_SUCCESS; local
423 ESR_ReturnCode rc; local
477 ESR_ReturnCode rc; local
    [all...]
  /external/srec/shared/src/
HashMapImpl.c 33 ESR_ReturnCode rc = ESR_SUCCESS; local
41 if ((rc = PHashTableCreate(hashArgs, MTAG, &impl->table)) != ESR_SUCCESS)
44 return rc;
83 ESR_ReturnCode rc; local
86 CHKLOG(rc, PHashTableContainsKey(impl->table, key, &exists));
93 if ((rc = PHashTablePutValue(impl->table, clone, value, NULL)) != ESR_SUCCESS)
101 CHKLOG(rc, PHashTableGetEntry(impl->table, key, &entry));
102 rc = PHashTableEntrySetValue(entry, value, NULL);
104 return rc;
106 return rc;
112 ESR_ReturnCode rc = ESR_SUCCESS; local
144 ESR_ReturnCode rc = ESR_SUCCESS; local
180 ESR_ReturnCode rc = ESR_SUCCESS; local
192 ESR_ReturnCode rc = ESR_SUCCESS; local
204 ESR_ReturnCode rc = ESR_SUCCESS; local
227 ESR_ReturnCode rc; local
242 ESR_ReturnCode rc; local
257 ESR_ReturnCode rc; local
283 ESR_ReturnCode rc = ESR_SUCCESS; local
    [all...]
  /external/srec/srec/Nametag/src/
NametagsImpl.c 33 ESR_ReturnCode rc; local
59 CHKLOG(rc, HashMapCreate(&impl->value));
60 CHKLOG(rc, ESR_SessionGetSize_t(L("SREC.Recognizer.osi_log_level"), &impl->logLevel));
62 CHKLOG(rc, ESR_SessionGetProperty(L("eventlog"), (void **)&impl->eventLog, TYPES_SR_EVENTLOG));
63 CHKLOG(rc, SR_EventLogTokenInt_BASIC(impl->eventLog, impl->logLevel, L("pointer"), (int) self));
64 CHKLOG(rc, SR_EventLogEvent_BASIC(impl->eventLog, impl->logLevel, L("SR_NametagsCreate")));
69 return rc;
75 ESR_ReturnCode rc; local
94 rc = ESR_INVALID_STATE;
95 PLogError(ESR_rc2str(rc));
195 ESR_ReturnCode rc; local
282 ESR_ReturnCode rc; local
309 ESR_ReturnCode rc; local
324 ESR_ReturnCode rc; local
336 ESR_ReturnCode rc; local
352 ESR_ReturnCode rc; local
368 ESR_ReturnCode rc; local
380 ESR_ReturnCode rc; local
    [all...]
NametagImpl.c 34 ESR_ReturnCode rc; local
44 rc = result->getSize(result, &len);
45 if (rc != ESR_SUCCESS)
47 PLogError(ESR_rc2str(rc));
53 rc = ESR_INVALID_ARGUMENT;
56 rc = result->getLocale(result, &locale);
60 rc = result->getValue(result, 0, L("meaning"), transcription, &len);
62 if (rc != ESR_SUCCESS && rc != ESR_BUFFER_OVERFLOW)
64 PLogError(ESR_rc2str(rc));
133 ESR_ReturnCode rc; local
216 ESR_ReturnCode rc; local
236 ESR_ReturnCode rc; local
    [all...]
  /external/srec/srec/Semproc/include/
SR_SemprocDefinitions.h 207 #define MEMCHK(rc, val, threshold) \
211 rc = ESR_OUT_OF_MEMORY; \
212 PLogError(L("%s: %d > %d\n"), ESR_rc2str(rc), (val), (threshold)); \
216 #define LENCHK(rc, val, threshold) \
220 rc = ESR_OUT_OF_MEMORY; \
221 PLogError(L("%s: %s > %d\n"), ESR_rc2str(rc), (val), (threshold)); \
  /system/core/toolbox/
chcon.c 9 int rc, i; local
17 rc = setfilecon(argv[i], argv[1]);
18 if (rc < 0) {
setenforce.c 19 int rc = 0; local
29 rc = security_setenforce(atoi(argv[1]));
32 rc = security_setenforce(1);
34 rc = security_setenforce(0);
38 if (rc < 0) {
  /system/vold/
Ext4.cpp 50 int rc; local
59 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
61 if (rc && errno == EROFS) {
64 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
67 return rc;
73 int rc; local
79 rc = logwrap(3, args, 1);
81 if (rc == 0) {
85 SLOGE("Format (ext4) failed (unknown exit code %d)", rc);
Fat.cpp 56 int rc = 0; local
65 rc = logwrap(4, args, 1);
67 switch(rc) {
88 SLOGE("Filesystem check failed (unknown exit code %d)", rc);
100 int rc; local
128 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
130 if (rc && errno == EROFS) {
133 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
136 if (rc == 0 && createLost) {
151 return rc;
157 int rc; local
    [all...]
  /external/srec/portable/src/UNIX/
PFileSystemUNIXImpl.c 41 ESR_ReturnCode rc; local
54 CHKLOG(rc, PANSIFileSystemCreate());
56 CHKLOG(rc, PMemSetLogEnabled(ESR_FALSE));
57 CHKLOG(rc, PHashTablePutValue(PFileSystemPathMap, L("/"), PANSIFileSystemSingleton, NULL));
58 CHKLOG(rc, PHashTablePutValue(ANSIImpl->directoryMap, L("/"), L("/"), NULL));
59 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdin"), isLittleEndian, &PSTDIN));
63 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stdout"), isLittleEndian, &PSTDOUT));
68 CHKLOG(rc, PANSIFileSystemSingleton->createPFile(PANSIFileSystemSingleton, L("/dev/stderr"), isLittleEndian, &PSTDERR));
75 CHKLOG(rc, PtrdIsEnabled(&threadingEnabled));
78 CHKLOG(rc, PtrdMonitorDestroy(impl->Interface.lock))
96 ESR_ReturnCode rc; local
    [all...]
PANSIFileSystemUNIXImpl.c 41 ESR_ReturnCode rc; local
43 CHKLOG(rc, lstrtrim(path));
44 CHKLOG(rc, PFileSystemCanonicalSlashes(path));
45 CHKLOG(rc, PFileSystemIsAbsolutePath(path, &isAbsolute));
52 CHKLOG(rc, PHashTableEntryGetFirst(impl->directoryMap, &entry));
55 CHKLOG(rc, PHashTableEntryGetKeyValue(entry, (void **)&key, (void **)&value));
67 CHKLOG(rc, PHashTableEntryAdvance(&entry));
71 rc = ESR_INVALID_STATE;
79 CHKLOG(rc, lstrinsert(bestKey, path, 0, len));
84 CHKLOG(rc, lstrinsert(L("X:/"), path, LSTRLEN(bestKey), len))
95 ESR_ReturnCode rc; local
122 ESR_ReturnCode rc; local
154 ESR_ReturnCode rc; local
    [all...]
  /external/oprofile/opjitconv/
opjitconv.c 117 int rc = OP_JIT_CONV_OK; local
123 rc = OP_JIT_CONV_NO_DUMPFILE;
125 rc = OP_JIT_CONV_FAIL;
128 rc = fstat(dumpfd, &file_info->dmp_file_stat);
129 if (rc < 0) {
131 rc = OP_JIT_CONV_FAIL;
138 rc = OP_JIT_CONV_FAIL;
141 return rc;
161 int rc = OP_JIT_CONV_OK; local
167 rc = OP_JIT_CONV_FAIL
187 int rc = OP_JIT_CONV_OK; local
213 int rc = OP_JIT_CONV_OK; local
254 int rc = OP_JIT_CONV_OK; local
484 int rc = OP_JIT_CONV_OK; local
588 int rc = 0; local
    [all...]
  /external/libvpx/vp8/encoder/
quantize.c 23 int i, rc, eob; local
42 rc = vp8_default_zig_zag1d[i];
43 z = coeff_ptr[rc];
44 zbin = zbin_ptr[rc] ;
51 x += round_ptr[rc];
52 y = (((x * quant_ptr[rc]) >> 16) + x)
53 >> quant_shift_ptr[rc]; // quantize (x)
55 qcoeff_ptr[rc] = x; // write to destination
56 dqcoeff_ptr[rc] = x * dequant_ptr[rc]; // dequantized valu
71 int i, rc, eob; local
107 int i, rc, eob; local
161 int rc; local
219 int i, rc, eob; local
    [all...]
  /external/valgrind/main/gdbserver_tests/
sleepers.c 47 int rc; local
48 rc = pthread_mutex_lock(&ready_mutex);
49 if (rc != 0)
50 fprintf(stderr, "signal_ready lock error %d_n", rc);
52 rc = pthread_cond_signal(&ready);
53 if (rc != 0)
54 fprintf(stderr, "signal_ready signal error %d_n", rc);
55 rc = pthread_mutex_unlock(&ready_mutex);
56 if (rc != 0)
57 fprintf(stderr, "signal_ready unlock error %d_n", rc);
99 int rc; local
    [all...]
  /external/libselinux/src/
checkAccess.c 17 int rc = -1; local
28 if ((rc = avc_context_to_sid(scon, &scon_id)) < 0) return rc;
30 if ((rc = avc_context_to_sid(tcon, &tcon_id)) < 0) return rc;
  /external/valgrind/main/memcheck/tests/
sigkill.c 20 int rc; local
35 rc = sigaction (i /*SIGKILL*/, &sa, NULL);
36 if (rc) perror ("");
39 rc = sigaction (i /*SIGKILL*/, NULL, &sa);
40 if (rc) perror ("");
  /external/srec/tools/dictTest/
dictTest.c 44 ESR_ReturnCode rc; local
47 rc = SR_VocabularyGetPronunciation(vocab, phrase, prons, &len);
48 // rc = vocab->getPronunciation(vocab, phrase, prons, &len);
50 if (rc != ESR_SUCCESS)
51 LFPRINTF(fout,"ERROR: %s\n", ESR_rc2str(rc));
68 ESR_ReturnCode rc;
81 rc = ESR_ProcessLinearToCommandLineTokens(line, &tokenArray, &len);
82 if (rc!=ESR_SUCCESS || len!=2)
93 rc = vocab->getPronunciation(vocab, phrase, phoneme, &len);
95 if(rc != ESR_SUCCESS
122 ESR_ReturnCode rc; local
    [all...]
  /external/liblzf/
lzf.c 99 usage (int rc)
112 exit (rc);
118 ssize_t rc = 0, offset = 0; local
121 while (len && (rc = read (fd, &p[offset], len)) > 0)
123 offset += rc;
124 len -= rc;
129 if (rc < 0)
130 return rc;
139 ssize_t rc; local
145 rc = write (fd, b, l)
226 ssize_t rc, cs, us, bytes, over = 0; local
372 int rc; local
453 int rc = 0; local
    [all...]
  /external/srec/srec/Recognizer/src/
RecognizerResultImpl.c 95 ESR_ReturnCode rc; local
97 CHKLOG(rc, ArrayListGetSize(impl->results, count));
100 return rc;
107 ESR_ReturnCode rc; local
112 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results));
117 CHKLOG(rc, results->get(results, 0, (void **)&result));
118 CHKLOG(rc, result->getKeyCount(result , count));
121 return rc;
130 ESR_ReturnCode rc; local
133 CHKLOG(rc, impl->results->get(impl->results, nbest, (void **)&results))
156 ESR_ReturnCode rc; local
228 ESR_ReturnCode rc; local
    [all...]
  /external/srec/srec/Semproc/src/
SymbolTable.c 29 ESR_ReturnCode rc; local
43 CHKLOG(rc, HashMapCreate(&(*ptr)->hashmap));
50 return rc;
55 ESR_ReturnCode rc; local
69 CHKLOG(rc, HashMapDestroy(self->hashmap));
76 return rc;
83 ESR_ReturnCode rc; local
92 rc = HashMapGet(self->hashmap, key, (void**) & buf);
93 if (rc == ESR_NO_MATCH_ERROR)
95 CHKLOG(rc, ST_getSymbolSlot(self, &symbol))
151 ESR_ReturnCode rc; local
198 ESR_ReturnCode rc; local
216 ESR_ReturnCode rc; local
238 ESR_ReturnCode rc; local
    [all...]
  /external/dropbear/
svr-authpam.c 54 int rc = PAM_SUCCESS; local
107 rc = PAM_CONV_ERR;
133 rc = PAM_CONV_ERR;
151 rc = PAM_CONV_ERR;
156 TRACE(("leave pamConvFunc, rc %d", rc))
158 return rc;
182 int rc = PAM_SUCCESS; local
202 if ((rc = pam_start("sshd", NULL, &pamConv, &pamHandlep)) != PAM_SUCCESS) {
203 dropbear_log(LOG_WARNING, "pam_start() failed, rc=%d, %s\n",
    [all...]
  /external/libsepol/tests/
test-expander.c 132 int rc; local
139 rc = expander_policy_init(&basemod, 0, NULL, &base_expanded, &small_base_file);
140 if (rc != 0)
141 return rc;
144 rc = expander_policy_init(&basemod2, 1, &mymod2, &base_expanded2, files2);
145 if (rc != 0)
146 return rc;
148 rc = expander_policy_init(&base_only_mod, 0, NULL, &base_only_expanded, &base_only_file);
149 if (rc != 0)
150 return rc;
    [all...]
  /external/quake/quake/src/QW/client/
snd_linux.c 21 int rc; local
41 rc = ioctl(audio_fd, SNDCTL_DSP_RESET, 0);
42 if (rc < 0)
126 rc = ioctl(audio_fd, SNDCTL_DSP_STEREO, &tmp);
127 if (rc < 0)
139 rc = ioctl(audio_fd, SNDCTL_DSP_SPEED, &shm->speed);
140 if (rc < 0)
150 rc = AFMT_S16_LE;
151 rc = ioctl(audio_fd, SNDCTL_DSP_SETFMT, &rc);
    [all...]

Completed in 3025 milliseconds

12 3 4 5 6 7 8 91011>>