Home
last modified time | relevance | path

Searched refs:PyString_AsString (Results 1 – 25 of 102) sorted by relevance

12345

/external/python/cpython2/Modules/
Dimageop.c148 ncp = (char *)PyString_AsString(rv); in imageop_crop()
201 ncp = (char *)PyString_AsString(rv); in imageop_scale()
244 ncp = (unsigned char *)PyString_AsString(rv); in imageop_tovideo()
292 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2mono()
331 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2grey4()
368 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey2grey2()
404 ncp = (unsigned char *)PyString_AsString(rv); in imageop_dither2mono()
448 ncp = (unsigned char *)PyString_AsString(rv); in imageop_dither2grey2()
490 ncp = (unsigned char *)PyString_AsString(rv); in imageop_mono2grey()
530 ncp = (unsigned char *)PyString_AsString(rv); in imageop_grey22grey()
[all …]
Dzipimport.c195 archive = PyString_AsString(self->archive); in zipimporter_repr()
197 prefix = PyString_AsString(self->prefix); in zipimporter_repr()
266 len = make_filename(PyString_AsString(self->prefix), subname, path); in get_module_info()
339 char *prefix = PyString_AsString(self->prefix); in zipimporter_load_module()
344 PyString_AsString(self->archive), in zipimporter_load_module()
446 strncmp(path, PyString_AsString(self->archive), len) == 0 && in zipimporter_get_data()
456 return get_data(PyString_AsString(self->archive), toc_entry); in zipimporter_get_data()
493 len = make_filename(PyString_AsString(self->prefix), subname, path); in zipimporter_get_source()
506 return get_data(PyString_AsString(self->archive), toc_entry); in zipimporter_get_source()
979 buf = PyString_AsString(raw_data); in get_data()
[all …]
Daudioop.c799 ncp = (signed char *)PyString_AsString(rv); in audioop_mul()
840 ncp = (signed char *)PyString_AsString(rv); in audioop_tomono()
886 ncp = (signed char *)PyString_AsString(rv); in audioop_tostereo()
935 ncp = (signed char *)PyString_AsString(rv); in audioop_add()
987 ncp = (signed char *)PyString_AsString(rv); in audioop_bias()
1026 ncp = (unsigned char *)PyString_AsString(rv); in audioop_reverse()
1068 ncp = (unsigned char *)PyString_AsString(rv); in audioop_lin2lin()
1216 ncp = PyString_AsString(str); in audioop_ratecv()
1233 len = (int)(ncp - PyString_AsString(str)); in audioop_ratecv()
1307 ncp = (unsigned char *)PyString_AsString(rv); in audioop_lin2ulaw()
[all …]
Dstropmodule.c203 p = PyString_AsString(res); in strop_joinfields()
230 p = PyString_AsString(res) + reslen; in strop_joinfields()
277 p = PyString_AsString(res) + reslen; in strop_joinfields()
473 s_new = PyString_AsString(newstr); in strop_lower()
512 s_new = PyString_AsString(newstr); in strop_upper()
552 s_new = PyString_AsString(newstr); in strop_capitalize()
731 s_new = PyString_AsString(newstr); in strop_swapcase()
973 output_start = output = PyString_AsString(result); in strop_translate()
974 input = PyString_AsString(input_obj); in strop_translate()
Dsyslogmodule.c97 atslash = strrchr(PyString_AsString(scriptobj), SEP); in syslog_get_argv()
136 openlog(S_ident_o ? PyString_AsString(S_ident_o) : NULL, logopt, facility); in syslog_openlog()
Ddlmodule.c98 dlsym(xp->dl_handle, PyString_AsString(name)); in dl_call()
116 alist[i-1] = (long)PyString_AsString(v); in dl_call()
Dsvmodule.c56 if (!(outstr = PyString_AsString(output))) { in svc_conversion()
542 char* str = PyString_AsString(videodata); in sv_CaptureBurst()
620 str = PyString_AsString(videodata); in sv_CaptureOneFrame()
855 str = PyString_AsString(output); in sv_conversion()
Dmmapmodule.c855 buf = PyString_AsString(v); in mmap_ass_slice()
882 buf = PyString_AsString(v); in mmap_ass_item()
917 buf = PyString_AsString(value); in mmap_ass_subscript()
949 const char *buf = PyString_AsString(value); in mmap_ass_subscript()
958 const char *buf = PyString_AsString(value); in mmap_ass_subscript()
Dcdmodule.c247 (CDFRAME *) PyString_AsString(result), numframes); in CD_readda()
488 p = PyString_AsString(v); in CD_callback()
495 p = PyString_AsString(v); in CD_callback()
Dimgfile.c138 cdatap = PyString_AsString(rv); in imgfile_read()
331 cdatap = PyString_AsString(rv); in imgfile_readscaled()
/external/python/cpython2/Objects/
Dmoduleobject.c76 return PyString_AsString(nameobj); in PyModule_GetName()
96 return PyString_AsString(fileobj); in PyModule_GetFilename()
121 char *s = PyString_AsString(key); in _PyModule_Clear()
135 char *s = PyString_AsString(key); in _PyModule_Clear()
Dclassobject.c237 sname = PyString_AsString(name); in class_getattr()
349 sname = PyString_AsString(name); in class_setattr()
396 name = PyString_AsString(op->cl_name); in class_repr()
401 PyString_AsString(mod), in class_repr()
718 sname = PyString_AsString(name); in instance_getattr1()
836 sname = PyString_AsString(name); in instance_setattr()
919 cname = PyString_AsString(classname); in instance_repr()
927 PyString_AsString(mod), in instance_repr()
2137 PyString_AsString(inst->in_class->cl_name)); in instance_call()
/external/python/cpython2/Python/
Dtraceback.c156 strcpy(namebuf, PyString_AsString(v)); in _Py_DisplaySourceLine()
244 PyString_AsString( in tb_printinternal()
247 PyString_AsString(tb->tb_frame->f_code->co_name)); in tb_printinternal()
Dmactoolboxglue.c55 char *input = PyString_AsString(rv); in PyMac_StrError()
128 input = PyString_AsString(rv); in PyMac_GetFullPathname()
169 memcpy((char *)&tmp, PyString_AsString(v), 4); in PyMac_GetOSType()
201 memcpy((char *)(pbuf+1), PyString_AsString(v), len); in PyMac_GetStr255()
D_warnings.c160 return PyString_AsString(action); in get_filter()
165 return PyString_AsString(action); in get_filter()
209 mod_str = PyString_AsString(filename); in normalize_module()
502 const char *file_str = PyString_AsString(*filename); in setup_context()
522 const char *module_str = PyString_AsString(*module); in setup_context()
Dpythonrun.c830 ps1 = PyString_AsString(v); in PyRun_InteractiveOneFlags()
838 ps2 = PyString_AsString(w); in PyRun_InteractiveOneFlags()
1021 *filename = PyString_AsString(v); in parse_syntax_error()
1058 *text = PyString_AsString(v); in parse_syntax_error()
1289 char* modstr = PyString_AsString(moduleName); in PyErr_Display()
1647 msg = PyString_AsString(u); in err_input()
Dfuture.c25 const char *feature = PyString_AsString(name->name); in future_check_features()
Dceval.c1052 filename = PyString_AsString(co->co_filename); in PyEval_EvalFrameEx()
3411 PyString_AsString(co->co_name), in PyEval_EvalCodeEx()
3448 PyString_AsString(co->co_name)); in PyEval_EvalCodeEx()
3475 PyString_AsString(co->co_name), in PyEval_EvalCodeEx()
3476 PyString_AsString(kwd_str)); in PyEval_EvalCodeEx()
3491 PyString_AsString(co->co_name), in PyEval_EvalCodeEx()
3492 PyString_AsString(kwd_str)); in PyEval_EvalCodeEx()
3511 PyString_AsString(co->co_name), in PyEval_EvalCodeEx()
3535 PyString_AsString(co->co_name), in PyEval_EvalCodeEx()
4252 return PyString_AsString(((PyFunctionObject*)func)->func_name); in PyEval_GetFuncName()
[all …]
/external/python/cpython2/Include/
Dbytesobject.h16 #define PyBytes_AsString PyString_AsString
Dstringobject.h69 PyAPI_FUNC(char *) PyString_AsString(PyObject *);
/external/python/cpython2/Modules/_sqlite/
Drow.c109 key = PyString_AsString(idx); in pysqlite_row_subscript()
114 … compare_key = PyString_AsString(PyTuple_GET_ITEM(PyTuple_GET_ITEM(self->description, i), 0)); in pysqlite_row_subscript()
Dconnection.c109 rc = sqlite3_open(PyString_AsString(database_utf8), &self->db); in pysqlite_connection_init()
124 if (strcmp(PyString_AsString(class_attr_str), "<type 'apsw.Connection'>") == 0) { in pysqlite_connection_init()
573 sqlite3_result_text(context, PyString_AsString(py_val), -1, SQLITE_TRANSIENT); in _pysqlite_set_result()
578 sqlite3_result_text(context, PyString_AsString(stringval), -1, SQLITE_TRANSIENT); in _pysqlite_set_result()
1172 begin_statement_str = PyString_AsString(begin_statement); in pysqlite_connection_set_isolation_level()
1518 PyString_AsString(uppercase_name), in pysqlite_connection_create_collation()
Dcursor.c532 operation_cstr = PyString_AsString(operation); in _pysqlite_query_execute()
539 operation_cstr = PyString_AsString(operation_bytestr); in _pysqlite_query_execute()
799 script_cstr = PyString_AsString(script_obj); in pysqlite_cursor_executescript()
806 script_cstr = PyString_AsString(script_str); in pysqlite_cursor_executescript()
/external/python/cffi/cffi/
D_cffi_errors.h115 text = PyString_AsString(s); in _cffi_stop_error_capture()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc53 #define PyString_AsString(ob) \ macro
175 PyString_AsString(s.get())); in AssignItem()
406 PyString_AsString(s.get())); in Subscript()

12345