Home
last modified time | relevance | path

Searched refs:retstr (Results 1 – 6 of 6) sorted by relevance

/external/iptables/extensions/
Dlibipt_CLUSTERIP.c115 const char *retstr; in hashmode2str() local
118 retstr = "sourceip"; in hashmode2str()
121 retstr = "sourceip-sourceport"; in hashmode2str()
124 retstr = "sourceip-sourceport-destport"; in hashmode2str()
127 retstr = "unknown-error"; in hashmode2str()
130 return retstr; in hashmode2str()
/external/libedit/src/
Dfilecomplete.c284 char **match_list = NULL, *retstr, *prevstr; in completion_matches() local
290 while ((retstr = (*genfunc) (text, (int)matches)) != NULL) { in completion_matches()
305 match_list[++matches] = retstr; in completion_matches()
322 retstr = el_malloc((max_equal + 1) * sizeof(*retstr)); in completion_matches()
323 if (retstr == NULL) { in completion_matches()
327 (void)strncpy(retstr, match_list[1], max_equal); in completion_matches()
328 retstr[max_equal] = '\0'; in completion_matches()
329 match_list[0] = retstr; in completion_matches()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c203 PyObject *retobj = NULL, *retstr = NULL, *tobj; in multibytecodec_encerror() local
311 retstr = multibytecodec_encode(codec, state, tobj, in multibytecodec_encerror()
314 if (retstr == NULL) in multibytecodec_encerror()
319 retstr = tobj; in multibytecodec_encerror()
322 assert(PyBytes_Check(retstr)); in multibytecodec_encerror()
323 retstrsize = PyBytes_GET_SIZE(retstr); in multibytecodec_encerror()
326 memcpy(buf->outbuf, PyBytes_AS_STRING(retstr), retstrsize); in multibytecodec_encerror()
343 Py_DECREF(retstr); in multibytecodec_encerror()
348 Py_XDECREF(retstr); in multibytecodec_encerror()
/external/python/cpython2/Modules/cjkcodecs/
Dmultibytecodec.c227 PyObject *retobj = NULL, *retstr = NULL, *tobj; in multibytecodec_encerror() local
324 retstr = multibytecodec_encode(codec, state, &uraw, in multibytecodec_encerror()
327 if (retstr == NULL) in multibytecodec_encerror()
331 retstrsize = PyString_GET_SIZE(retstr); in multibytecodec_encerror()
334 memcpy(buf->outbuf, PyString_AS_STRING(retstr), retstrsize); in multibytecodec_encerror()
351 Py_DECREF(retstr); in multibytecodec_encerror()
356 Py_XDECREF(retstr); in multibytecodec_encerror()
/external/javasqlite/src/main/native/
Dsqlite_jni.c2144 transstr retstr; in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2() local
2147 trans2iso(env, f->h->haveutf, f->h->enc, ret, &retstr); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2()
2154 retstr.result, -1); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2()
2155 transfree(&retstr); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2()
2168 transstr retstr; in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2()
2171 trans2iso(env, f->h->haveutf, f->h->enc, ret, &retstr); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2()
2177 sqlite_set_result_string((sqlite_func *) f->sf, retstr.result, -1); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2()
2178 transfree(&retstr); in Java_SQLite_FunctionContext_set_1result__Ljava_lang_String_2()
/external/strace/
DChangeLog18141 tests/futex: rename retstr to sprintrc.
18142 * tests/futex.c (retstr): Rename to sprintrc.
18143 (main): Convert all retstr calls to sprintrc.