Home
last modified time | relevance | path

Searched refs:p_str (Results 1 – 25 of 1000) sorted by relevance

12345678910>>...40

/dports/ftp/vsftpd-ext/vsFTPd-3.0.3-ext.1/
H A Dstr.c54 str_free(p_str); in private_str_alloc_memchunk()
60 p_str->len = len; in private_str_alloc_memchunk()
80 p_str->p_buf = vsf_sysutil_realloc(p_str->p_buf, buf_needed); in private_str_append_memchunk()
83 vsf_sysutil_memcpy(p_str->p_buf + p_str->len, p_src, len); in private_str_append_memchunk()
84 p_str->p_buf[p_str->len + len] = '\0'; in private_str_append_memchunk()
85 p_str->len += len; in private_str_append_memchunk()
162 p_str->p_buf = 0; in str_free()
163 p_str->len = 0; in str_free()
183 p_str->p_buf[p_str->len] = '\0'; in str_trunc()
197 p_str->p_buf = vsf_sysutil_realloc(p_str->p_buf, res_len); in str_reserve()
[all …]
H A Dlogging.c179 str_append_char(p_str, '\n'); in vsf_log_do_log_to_file()
197 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
205 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
208 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
211 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
216 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
227 str_append_text(p_str, "_ "); in vsf_log_do_log_wuftpd_format()
255 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
259 str_append_text(p_str, " "); in vsf_log_do_log_wuftpd_format()
276 str_empty(p_str); in vsf_log_do_log_vsftpd_format()
[all …]
H A Dstr.h34 const char* str_strdup(const struct mystr* p_str);
36 void str_empty(struct mystr* p_str);
37 void str_free(struct mystr* p_str);
41 int str_isempty(const struct mystr* p_str);
42 unsigned int str_getlen(const struct mystr* p_str);
43 const char* str_getbuf(const struct mystr* p_str);
49 int str_equal_bool(struct mystr* p_str);
59 void str_upper(struct mystr* p_str);
83 const struct mystr* p_str, char look_char);
105 int str_all_space(const struct mystr* p_str);
[all …]
H A Dhttp_str.c58 str_escape(struct mystr* p_str) in str_escape() argument
67 srcbuf = str_getbuf(p_str); in str_escape()
88 str_alloc_text(p_str, dstbuf); in str_escape()
93 str_unescape(struct mystr* p_str) in str_unescape() argument
102 srcbuf = str_getbuf(p_str); in str_unescape()
123 str_alloc_text(p_str, dstbuf); in str_unescape()
129 struct mystr* p_str, in str_process_template() argument
153 str_free(p_str); in str_process_template()
154 str_reserve(p_str, VSFTP_DIR_BUFSIZE); in str_process_template()
321 str_alloc_text(p_str, "ftp"); in str_getuser()
[all …]
H A Dsysstr.c20 str_getcwd(struct mystr* p_str) in str_getcwd() argument
29 str_empty(p_str); in str_getcwd()
33 str_alloc_text(p_str, p_getcwd_buf); in str_getcwd()
40 return vsf_sysutil_write_loop(fd, str_getbuf(p_str), str_getlen(p_str)); in str_write_loop()
47 fd, (char*) str_getbuf(p_str), str_getlen(p_str)); in str_read_loop()
57 str_rmdir(const struct mystr* p_str) in str_rmdir() argument
63 str_unlink(const struct mystr* p_str) in str_unlink() argument
69 str_chdir(const struct mystr* p_str) in str_chdir() argument
111 str_create(const struct mystr* p_str) in str_create() argument
130 str_opendir(const struct mystr* p_str) in str_opendir() argument
[all …]
H A Dsysstr.h10 void str_getcwd(struct mystr* p_str);
12 int str_write_loop(const struct mystr* p_str, const int fd);
13 int str_read_loop(struct mystr* p_str, const int fd);
14 int str_mkdir(const struct mystr* p_str, const unsigned int mode);
15 int str_rmdir(const struct mystr* p_str);
16 int str_unlink(const struct mystr* p_str);
17 int str_chdir(const struct mystr* p_str);
24 int str_create(const struct mystr* p_str);
25 int str_create_exclusive(const struct mystr* p_str);
26 int str_chmod(const struct mystr* p_str, unsigned int mode);
[all …]
/dports/ftp/vsftpd/vsftpd-3.0.5/
H A Dstr.c53 str_free(p_str); in private_str_alloc_memchunk()
59 p_str->len = len; in private_str_alloc_memchunk()
79 p_str->p_buf = vsf_sysutil_realloc(p_str->p_buf, buf_needed); in private_str_append_memchunk()
82 vsf_sysutil_memcpy(p_str->p_buf + p_str->len, p_src, len); in private_str_append_memchunk()
83 p_str->p_buf[p_str->len + len] = '\0'; in private_str_append_memchunk()
84 p_str->len += len; in private_str_append_memchunk()
143 p_str->p_buf = 0; in str_free()
144 p_str->len = 0; in str_free()
164 p_str->p_buf[p_str->len] = '\0'; in str_trunc()
178 p_str->p_buf = vsf_sysutil_realloc(p_str->p_buf, res_len); in str_reserve()
[all …]
H A Dlogging.c101 struct mystr* p_str) in vsf_log_line() argument
172 str_append_char(p_str, '\n'); in vsf_log_do_log_to_file()
190 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
198 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
201 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
204 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
209 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
220 str_append_text(p_str, "_ "); in vsf_log_do_log_wuftpd_format()
248 str_append_char(p_str, ' '); in vsf_log_do_log_wuftpd_format()
267 str_empty(p_str); in vsf_log_do_log_vsftpd_format()
[all …]
H A Dstr.h33 const char* str_strdup(const struct mystr* p_str);
34 void str_empty(struct mystr* p_str);
35 void str_free(struct mystr* p_str);
39 int str_isempty(const struct mystr* p_str);
40 unsigned int str_getlen(const struct mystr* p_str);
41 const char* str_getbuf(const struct mystr* p_str);
54 void str_upper(struct mystr* p_str);
76 const struct mystr* p_str, char look_char);
97 int str_all_space(const struct mystr* p_str);
100 int str_atoi(const struct mystr* p_str);
[all …]
H A Dsysstr.c20 str_getcwd(struct mystr* p_str) in str_getcwd() argument
29 str_empty(p_str); in str_getcwd()
33 str_alloc_text(p_str, p_getcwd_buf); in str_getcwd()
40 return vsf_sysutil_write_loop(fd, str_getbuf(p_str), str_getlen(p_str)); in str_write_loop()
47 fd, (char*) str_getbuf(p_str), str_getlen(p_str)); in str_read_loop()
57 str_rmdir(const struct mystr* p_str) in str_rmdir() argument
63 str_unlink(const struct mystr* p_str) in str_unlink() argument
69 str_chdir(const struct mystr* p_str) in str_chdir() argument
111 str_create(const struct mystr* p_str) in str_create() argument
130 str_opendir(const struct mystr* p_str) in str_opendir() argument
[all …]
H A Dsysstr.h10 void str_getcwd(struct mystr* p_str);
12 int str_write_loop(const struct mystr* p_str, const int fd);
13 int str_read_loop(struct mystr* p_str, const int fd);
14 int str_mkdir(const struct mystr* p_str, const unsigned int mode);
15 int str_rmdir(const struct mystr* p_str);
16 int str_unlink(const struct mystr* p_str);
17 int str_chdir(const struct mystr* p_str);
24 int str_create(const struct mystr* p_str);
25 int str_create_exclusive(const struct mystr* p_str);
26 int str_chmod(const struct mystr* p_str, unsigned int mode);
[all …]
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/_studio/shared/mfx_trace/src/
H A Dmfx_trace_stat.cpp293 p_str = mfx_trace_sprintf(p_str, len, FORMAT_HDR_LEV, "Level"); in MFXTraceStat_PrintHeader()
304 p_str = mfx_trace_sprintf(p_str, len, "\n"); in MFXTraceStat_PrintHeader()
355 p_str = mfx_trace_sprintf(p_str, len, FORMAT_FN_NAME, function_name); in MFXTraceStat_PrintInfo()
357 else p_str = mfx_trace_sprintf(p_str, len, FORMAT_TASK_NAME, ""); in MFXTraceStat_PrintInfo()
361 p_str = mfx_trace_sprintf(p_str, len, FORMAT_FULL_STAT, in MFXTraceStat_PrintInfo()
368 p_str = mfx_trace_sprintf(p_str, len, FORMAT_SHORT_STAT, in MFXTraceStat_PrintInfo()
374 p_str = mfx_trace_sprintf(p_str, len, FORMAT_CAT, category); in MFXTraceStat_PrintInfo()
378 p_str = mfx_trace_sprintf(p_str, len, FORMAT_LEV, level); in MFXTraceStat_PrintInfo()
382 p_str = mfx_trace_sprintf(p_str, len, FORMAT_FILE_NAME, file_name); in MFXTraceStat_PrintInfo()
386 p_str = mfx_trace_sprintf(p_str, len, FORMAT_LINE_NUM, line_num); in MFXTraceStat_PrintInfo()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/core/
H A Dvariant_construct_string.cpp91 switch (p_str[idx]) { in _get_token()
144 if (p_str[idx] == 0) { in _get_token()
153 CharType next = p_str[idx]; in _get_token()
214 if (p_str[idx] == '\n') in _get_token()
216 str += p_str[idx]; in _get_token()
228 if (p_str[idx] <= 32) { in _get_token()
233 if (p_str[idx] == '-' || (p_str[idx] >= '0' && p_str[idx] <= '9')) { in _get_token()
237 idx += (rptr - &p_str[idx]); in _get_token()
242 … } else if ((p_str[idx] >= 'A' && p_str[idx] <= 'Z') || (p_str[idx] >= 'a' && p_str[idx] <= 'z')) { in _get_token()
246 while ((p_str[idx] >= 'A' && p_str[idx] <= 'Z') || (p_str[idx] >= 'a' && p_str[idx] <= 'z')) { in _get_token()
[all …]
H A Dustring.h80 String &operator+=(CharType p_str);
81 String &operator+=(const char *p_str);
82 String &operator+=(const CharType *p_str);
86 void operator=(const char *p_str);
87 void operator=(const CharType *p_str);
88 bool operator==(const char *p_str) const;
91 bool operator!=(const char *p_str) const;
94 bool operator<(const char *p_str) const;
95 bool operator<(String p_str) const;
96 bool operator<=(String p_str) const;
[all …]
/dports/devel/godot2/godot-2.1.6-stable/core/
H A Dvariant_construct_string.cpp91 switch (p_str[idx]) { in _get_token()
144 if (p_str[idx] == 0) { in _get_token()
153 CharType next = p_str[idx]; in _get_token()
214 if (p_str[idx] == '\n') in _get_token()
216 str += p_str[idx]; in _get_token()
228 if (p_str[idx] <= 32) { in _get_token()
233 if (p_str[idx] == '-' || (p_str[idx] >= '0' && p_str[idx] <= '9')) { in _get_token()
237 idx += (rptr - &p_str[idx]); in _get_token()
242 … } else if ((p_str[idx] >= 'A' && p_str[idx] <= 'Z') || (p_str[idx] >= 'a' && p_str[idx] <= 'z')) { in _get_token()
246 while ((p_str[idx] >= 'A' && p_str[idx] <= 'Z') || (p_str[idx] >= 'a' && p_str[idx] <= 'z')) { in _get_token()
[all …]
H A Dustring.h80 String &operator+=(CharType p_str);
81 String &operator+=(const char *p_str);
82 String &operator+=(const CharType *p_str);
86 void operator=(const char *p_str);
87 void operator=(const CharType *p_str);
88 bool operator==(const char *p_str) const;
91 bool operator!=(const char *p_str) const;
94 bool operator<(const char *p_str) const;
95 bool operator<(String p_str) const;
96 bool operator<=(String p_str) const;
[all …]
/dports/devel/efl/efl-1.25.1/src/lib/eina/
H A Deina_inline_stringshare.x52 if (*p_str == news) return EINA_FALSE; in eina_stringshare_refplace()
55 eina_stringshare_del(*p_str); in eina_stringshare_refplace()
56 if (*p_str == news) in eina_stringshare_refplace()
58 *p_str = news; in eina_stringshare_refplace()
80 if (*p_str == news) return EINA_FALSE; in eina_stringshare_replace()
83 eina_stringshare_del(*p_str); in eina_stringshare_replace()
84 if (*p_str == news) in eina_stringshare_replace()
86 *p_str = news; in eina_stringshare_replace()
112 eina_stringshare_del(*p_str); in eina_stringshare_replace_length()
113 if (*p_str == news) in eina_stringshare_replace_length()
[all …]
/dports/biology/mapm3/mapm3-3.0_1/lib/
H A Dstrlib.h174 #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) argument
175 #define maxstoken(p_str,def,val,num) stok(p_str,def,val,num,FALSE,NULL) argument
176 #define stokenof(p_str,def,val,chrs) stok(p_str,def,val,TOKLEN,TRUE,chrs) argument
177 #define nstokenof(p_str,def,val,num,chrs) stok(p_str,def,val,num,TRUE,chrs) argument
178 #define maxstokenof(p_str,def,val,num,chrs) stok(p_str,def,val,num,FALSE,chrs) argument
187 #define no_token(p_str) (**p_str=='\0') argument
188 #define bad_token(p_str) (**p_str!='\0') argument
244 #define no_char(p_str) (**p_str=='\0') argument
245 #define bad_char(p_str) (**p_str!='\0' && !white(**p_str)) argument
246 #define white_char(p_str) (white(**p_str)) argument
/dports/devel/godot2/godot-2.1.6-stable/core/io/
H A Djson.cpp100 switch (p_str[idx]) { in _get_token()
153 if (p_str[idx] == 0) { in _get_token()
162 CharType next = p_str[idx]; in _get_token()
223 if (p_str[idx] == '\n') in _get_token()
225 str += p_str[idx]; in _get_token()
237 if (p_str[idx] <= 32) { in _get_token()
242 if (p_str[idx] == '-' || (p_str[idx] >= '0' && p_str[idx] <= '9')) { in _get_token()
246 idx += (rptr - &p_str[idx]); in _get_token()
251 … } else if ((p_str[idx] >= 'A' && p_str[idx] <= 'Z') || (p_str[idx] >= 'a' && p_str[idx] <= 'z')) { in _get_token()
255 while ((p_str[idx] >= 'A' && p_str[idx] <= 'Z') || (p_str[idx] >= 'a' && p_str[idx] <= 'z')) { in _get_token()
[all …]
/dports/devel/godot2-tools/godot-2.1.6-stable/core/io/
H A Djson.cpp100 switch (p_str[idx]) { in _get_token()
153 if (p_str[idx] == 0) { in _get_token()
162 CharType next = p_str[idx]; in _get_token()
223 if (p_str[idx] == '\n') in _get_token()
225 str += p_str[idx]; in _get_token()
237 if (p_str[idx] <= 32) { in _get_token()
242 if (p_str[idx] == '-' || (p_str[idx] >= '0' && p_str[idx] <= '9')) { in _get_token()
246 idx += (rptr - &p_str[idx]); in _get_token()
251 … } else if ((p_str[idx] >= 'A' && p_str[idx] <= 'Z') || (p_str[idx] >= 'a' && p_str[idx] <= 'z')) { in _get_token()
255 while ((p_str[idx] >= 'A' && p_str[idx] <= 'Z') || (p_str[idx] >= 'a' && p_str[idx] <= 'z')) { in _get_token()
[all …]
/dports/news/knews/knews-1.0b.1/src/
H A Dpng.c81 png_struct *p_str = NULL; in do_png() local
105 if (p_str && p_info && setjmp(png_jmpbuf(p_str))) in do_png()
119 png_init_io(p_str, vol_fp); in do_png()
120 png_read_info(p_str, p_info); in do_png()
126 png_set_strip_16(p_str); in do_png()
128 png_set_packing(p_str); in do_png()
144 png_set_expand(p_str); in do_png()
147 png_set_expand(p_str); in do_png()
150 png_get_PLTE(p_str, p_info, in do_png()
170 png_start_read_image(p_str); in do_png()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/core/io/
H A Djson.cpp129 switch (p_str[index]) { in _get_token()
182 if (p_str[index] == 0) { in _get_token()
191 CharType next = p_str[index]; in _get_token()
252 if (p_str[index] == '\n') in _get_token()
254 str += p_str[index]; in _get_token()
266 if (p_str[index] <= 32) { in _get_token()
271 if (p_str[index] == '-' || (p_str[index] >= '0' && p_str[index] <= '9')) { in _get_token()
275 index += (rptr - &p_str[index]); in _get_token()
280 …} else if ((p_str[index] >= 'A' && p_str[index] <= 'Z') || (p_str[index] >= 'a' && p_str[index] <=… in _get_token()
284 …while ((p_str[index] >= 'A' && p_str[index] <= 'Z') || (p_str[index] >= 'a' && p_str[index] <= 'z'… in _get_token()
[all …]
/dports/devel/godot/godot-3.2.3-stable/core/io/
H A Djson.cpp129 switch (p_str[index]) { in _get_token()
182 if (p_str[index] == 0) { in _get_token()
191 CharType next = p_str[index]; in _get_token()
252 if (p_str[index] == '\n') in _get_token()
254 str += p_str[index]; in _get_token()
266 if (p_str[index] <= 32) { in _get_token()
271 if (p_str[index] == '-' || (p_str[index] >= '0' && p_str[index] <= '9')) { in _get_token()
275 index += (rptr - &p_str[index]); in _get_token()
280 …} else if ((p_str[index] >= 'A' && p_str[index] <= 'Z') || (p_str[index] >= 'a' && p_str[index] <=… in _get_token()
284 …while ((p_str[index] >= 'A' && p_str[index] <= 'Z') || (p_str[index] >= 'a' && p_str[index] <= 'z'… in _get_token()
[all …]
/dports/devel/godot/godot-3.2.3-stable/core/
H A Dustring.h95 _FORCE_INLINE_ CharString(const CharString &p_str) { _cowdata._ref(p_str._cowdata); } in CharString() argument
97 _cowdata._ref(p_str._cowdata);
171 String &operator+=(const char *p_str);
176 void operator=(const char *p_str);
177 void operator=(const CharType *p_str);
178 bool operator==(const char *p_str) const;
184 bool operator<(const char *p_str) const;
357 _FORCE_INLINE_ String(const String &p_str) { _cowdata._ref(p_str._cowdata); } in String() argument
358 String operator=(const String &p_str) {
359 _cowdata._ref(p_str._cowdata);
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/core/
H A Dustring.h95 _FORCE_INLINE_ CharString(const CharString &p_str) { _cowdata._ref(p_str._cowdata); } in CharString() argument
97 _cowdata._ref(p_str._cowdata);
171 String &operator+=(const char *p_str);
176 void operator=(const char *p_str);
177 void operator=(const CharType *p_str);
178 bool operator==(const char *p_str) const;
184 bool operator<(const char *p_str) const;
357 _FORCE_INLINE_ String(const String &p_str) { _cowdata._ref(p_str._cowdata); } in String() argument
358 String operator=(const String &p_str) {
359 _cowdata._ref(p_str._cowdata);
[all …]

12345678910>>...40