Home
last modified time | relevance | path

Searched refs:content_buf (Results 1 – 25 of 134) sorted by relevance

123456

/dports/security/aws-c-auth/aws-c-auth-0.6.5/tests/
H A Dcredentials_provider_process_tests.c151 struct aws_byte_buf content_buf; in s_credentials_provider_process_new_destroy_from_config() local
159 … *config_file_contents = aws_string_new_from_array(allocator, content_buf.buffer, content_buf.len); in s_credentials_provider_process_new_destroy_from_config()
161 aws_byte_buf_clean_up(&content_buf); in s_credentials_provider_process_new_destroy_from_config()
220 struct aws_byte_buf content_buf; in s_credentials_provider_process_bad_command() local
228 … *config_file_contents = aws_string_new_from_array(allocator, content_buf.buffer, content_buf.len); in s_credentials_provider_process_bad_command()
230 aws_byte_buf_clean_up(&content_buf); in s_credentials_provider_process_bad_command()
264 struct aws_byte_buf content_buf; in s_credentials_provider_process_incorrect_command_output() local
272 … *config_file_contents = aws_string_new_from_array(allocator, content_buf.buffer, content_buf.len); in s_credentials_provider_process_incorrect_command_output()
274 aws_byte_buf_clean_up(&content_buf); in s_credentials_provider_process_incorrect_command_output()
325 struct aws_byte_buf content_buf; in s_credentials_provider_process_basic_success() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/
H A Dfpdf_attachment_embeddertest.cpp42 std::vector<char> content_buf(length_bytes); in TEST_F() local
45 EXPECT_EQ(std::string("test"), std::string(content_buf.data(), 4)); in TEST_F()
72 content_buf.clear(); in TEST_F()
73 content_buf.resize(length_bytes); in TEST_F()
138 std::vector<char> content_buf(length_bytes); in TEST_F() local
163 content_buf.clear(); in TEST_F()
164 content_buf.resize(length_bytes); in TEST_F()
207 std::vector<char> content_buf(length_bytes); in TEST_F() local
272 std::vector<char> content_buf(length_bytes); in TEST_F() local
297 content_buf.clear(); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fpdfsdk/
H A Dfpdf_attachment_embeddertest.cpp46 std::vector<char> content_buf(length_bytes); in TEST_F() local
48 ASSERT_TRUE(FPDFAttachment_GetFile(attachment, content_buf.data(), in TEST_F()
78 content_buf.clear(); in TEST_F()
79 content_buf.resize(length_bytes); in TEST_F()
169 std::vector<char> content_buf(length_bytes); in TEST_F() local
196 content_buf.clear(); in TEST_F()
197 content_buf.resize(length_bytes); in TEST_F()
241 std::vector<char> content_buf(length_bytes); in TEST_F() local
309 std::vector<char> content_buf(length_bytes); in TEST_F() local
336 content_buf.clear(); in TEST_F()
[all …]
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/id3-0.5.3/src/stream/frame/
H A Dv3.rs73 let (mut content_buf, comp_hint_delta, decompressed_size) = if flags in encode()
79 let content_buf = encoder.finish()?; in encode() localVariable
80 (content_buf, 4, Some(content_size)) in encode()
82 let mut content_buf = Vec::new(); in encode() localVariable
84 &mut content_buf, in encode()
89 (content_buf, 0, None) in encode()
92 unsynch::encode_vec(&mut content_buf); in encode()
100 writer.write_u32::<BigEndian>((content_buf.len() + comp_hint_delta) as u32)?; in encode()
105 writer.write_all(&content_buf)?; in encode()
106 Ok(10 + comp_hint_delta + content_buf.len()) in encode()
H A Dv4.rs67 let (mut content_buf, comp_hint_delta, decompressed_size) = in encode()
72 let content_buf = encoder.finish()?; in encode() localVariable
78 (content_buf, cd, Some(content_size)) in encode()
80 let mut content_buf = Vec::new(); in encode() localVariable
82 &mut content_buf, in encode()
87 (content_buf, 0, None) in encode()
90 unsynch::encode_vec(&mut content_buf); in encode()
99 (content_buf.len() + comp_hint_delta) as u32, in encode()
107 writer.write_all(&content_buf)?; in encode()
108 Ok(10 + comp_hint_delta + content_buf.len()) in encode()
H A Dv2.rs26 let mut content_buf = Vec::new(); in encode() localVariable
28 &mut content_buf, in encode()
33 assert_ne!(0, content_buf.len()); in encode()
43 BigEndian::write_u32(&mut size_buf, content_buf.len() as u32); in encode()
45 writer.write_all(&content_buf)?; in encode()
46 Ok(6 + content_buf.len()) in encode()
/dports/net/yaz/yaz-5.31.1/src/
H A Dhttp.c123 *content_buf = 0; in decode_headers_content()
135 *content_buf = 0; in decode_headers_content()
252 hreq->content_buf = 0; in z_get_HTTP_Request()
342 hres->content_buf = 0; in z_get_HTTP_Response_server()
352 sprintf(hres->content_buf, in z_get_HTTP_Response_server()
366 sprintf(hres->content_buf + strlen(hres->content_buf), in z_get_HTTP_Response_server()
369 sprintf(hres->content_buf + strlen(hres->content_buf), in z_get_HTTP_Response_server()
480 hr->content_buf = 0; in yaz_decode_http_response()
518 hr->content_buf = 0; in yaz_decode_http_request()
605 if (hr->content_buf) in yaz_encode_http_response()
[all …]
H A Dsoap.c27 char **content_buf, int *content_len, in z_soap_codec_enc_xsl() argument
39 if (!content_buf || !*content_buf || !content_len) in z_soap_codec_enc_xsl()
45 doc = xmlParseMemory(*content_buf, *content_len); in z_soap_codec_enc_xsl()
295 *content_buf = (char *) odr_malloc(o, len_out); in z_soap_codec_enc_xsl()
297 memcpy(*content_buf, buf_out, len_out); in z_soap_codec_enc_xsl()
307 char **content_buf, int *content_len, in z_soap_codec_enc_xsl() argument
325 *content_buf = err_xml; in z_soap_codec_enc_xsl()
332 char **content_buf, int *content_len, in z_soap_codec_enc() argument
336 return z_soap_codec_enc_xsl(o, pp, content_buf, content_len, handlers, in z_soap_codec_enc()
341 char **content_buf, int *content_len, in z_soap_codec() argument
[all …]
/dports/emulators/dolphin-emu/dolphin-3152428/Externals/miniupnpc/src/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
96 content_buf = malloc(content_buf_len); in getHTTPResponse()
97 if(content_buf == NULL) in getHTTPResponse()
122 free(content_buf); in getHTTPResponse()
270 free(content_buf); in getHTTPResponse()
275 content_buf = tmp; in getHTTPResponse()
302 free(content_buf); in getHTTPResponse()
307 content_buf = tmp; in getHTTPResponse()
327 free(content_buf); in getHTTPResponse()
328 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/games/megaglest/megaglest-source-3.13.0/source/shared_lib/sources/platform/miniupnpc/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
96 content_buf = malloc(content_buf_len); in getHTTPResponse()
97 if(content_buf == NULL) in getHTTPResponse()
122 free(content_buf); in getHTTPResponse()
270 free(content_buf); in getHTTPResponse()
275 content_buf = tmp; in getHTTPResponse()
302 free(content_buf); in getHTTPResponse()
307 content_buf = tmp; in getHTTPResponse()
327 free(content_buf); in getHTTPResponse()
328 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/net/miniupnpc/miniupnpc-2.2.2/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
101 content_buf = malloc(content_buf_len); in getHTTPResponse()
102 if(content_buf == NULL) in getHTTPResponse()
127 free(content_buf); in getHTTPResponse()
303 free(content_buf); in getHTTPResponse()
308 content_buf = tmp; in getHTTPResponse()
336 free(content_buf); in getHTTPResponse()
341 content_buf = tmp; in getHTTPResponse()
360 free(content_buf); in getHTTPResponse()
361 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/deps/miniupnpc/
H A Dminiwget.c83 char * content_buf; in getHTTPResponse() local
103 content_buf = (char*)malloc(content_buf_len); in getHTTPResponse()
104 if(content_buf == NULL) in getHTTPResponse()
129 free(content_buf); in getHTTPResponse()
301 free(content_buf); in getHTTPResponse()
306 content_buf = tmp; in getHTTPResponse()
333 free(content_buf); in getHTTPResponse()
338 content_buf = tmp; in getHTTPResponse()
358 free(content_buf); in getHTTPResponse()
359 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/miniupnp/miniupnpc/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
101 content_buf = malloc(content_buf_len); in getHTTPResponse()
102 if(content_buf == NULL) in getHTTPResponse()
127 free(content_buf); in getHTTPResponse()
303 free(content_buf); in getHTTPResponse()
308 content_buf = tmp; in getHTTPResponse()
336 free(content_buf); in getHTTPResponse()
341 content_buf = tmp; in getHTTPResponse()
360 free(content_buf); in getHTTPResponse()
361 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/miniupnp/miniupnpc/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
101 content_buf = malloc(content_buf_len); in getHTTPResponse()
102 if(content_buf == NULL) in getHTTPResponse()
127 free(content_buf); in getHTTPResponse()
303 free(content_buf); in getHTTPResponse()
308 content_buf = tmp; in getHTTPResponse()
336 free(content_buf); in getHTTPResponse()
341 content_buf = tmp; in getHTTPResponse()
360 free(content_buf); in getHTTPResponse()
361 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/devel/godot/godot-3.2.3-stable/thirdparty/miniupnpc/miniupnpc/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
101 content_buf = malloc(content_buf_len); in getHTTPResponse()
102 if(content_buf == NULL) in getHTTPResponse()
127 free(content_buf); in getHTTPResponse()
300 free(content_buf); in getHTTPResponse()
305 content_buf = tmp; in getHTTPResponse()
333 free(content_buf); in getHTTPResponse()
338 content_buf = tmp; in getHTTPResponse()
357 free(content_buf); in getHTTPResponse()
358 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/miniupnpc/miniupnpc/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
101 content_buf = malloc(content_buf_len); in getHTTPResponse()
102 if(content_buf == NULL) in getHTTPResponse()
127 free(content_buf); in getHTTPResponse()
300 free(content_buf); in getHTTPResponse()
305 content_buf = tmp; in getHTTPResponse()
333 free(content_buf); in getHTTPResponse()
338 content_buf = tmp; in getHTTPResponse()
357 free(content_buf); in getHTTPResponse()
358 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/net/zerotier/ZeroTierOne-1.8.3/ext/miniupnpc/
H A Dminiwget.c91 char * content_buf; in getHTTPResponse() local
111 content_buf = malloc(content_buf_len); in getHTTPResponse()
112 if(content_buf == NULL) in getHTTPResponse()
137 free(content_buf); in getHTTPResponse()
310 free(content_buf); in getHTTPResponse()
315 content_buf = tmp; in getHTTPResponse()
343 free(content_buf); in getHTTPResponse()
348 content_buf = tmp; in getHTTPResponse()
368 free(content_buf); in getHTTPResponse()
369 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/net/py-miniupnpc/miniupnpc-2.2.2/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
101 content_buf = malloc(content_buf_len); in getHTTPResponse()
102 if(content_buf == NULL) in getHTTPResponse()
127 free(content_buf); in getHTTPResponse()
303 free(content_buf); in getHTTPResponse()
308 content_buf = tmp; in getHTTPResponse()
336 free(content_buf); in getHTTPResponse()
341 content_buf = tmp; in getHTTPResponse()
360 free(content_buf); in getHTTPResponse()
361 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/ext/miniupnp/miniupnpc/
H A Dminiwget.c81 char * content_buf; in getHTTPResponse() local
101 content_buf = malloc(content_buf_len); in getHTTPResponse()
102 if(content_buf == NULL) in getHTTPResponse()
127 free(content_buf); in getHTTPResponse()
303 free(content_buf); in getHTTPResponse()
308 content_buf = tmp; in getHTTPResponse()
336 free(content_buf); in getHTTPResponse()
341 content_buf = tmp; in getHTTPResponse()
360 free(content_buf); in getHTTPResponse()
361 content_buf = NULL; in getHTTPResponse()
[all …]
/dports/databases/postgis31/postgis-3.1.4/extensions/address_standardizer/
H A Derr_param.c40 err_p -> error_buf = err_mem -> content_buf ; \
42 BLANK_STRING( err_mem -> content_buf )
170 err_mem -> content_buf , in empty_errors()
251 strcpy( err_p -> err_array[ i ] . content_buf , in register_error()
252 err_p -> err_array[ i + 1 ] . content_buf ) ; in register_error()
261 err_p -> error_buf = err_mem -> content_buf ; in register_error()
262 BLANK_STRING( err_mem -> content_buf ) ; in register_error()
/dports/databases/postgis32/postgis-3.2.0/extensions/address_standardizer/
H A Derr_param.c40 err_p -> error_buf = err_mem -> content_buf ; \
42 BLANK_STRING( err_mem -> content_buf )
170 err_mem -> content_buf , in empty_errors()
251 strcpy( err_p -> err_array[ i ] . content_buf , in register_error()
252 err_p -> err_array[ i + 1 ] . content_buf ) ; in register_error()
261 err_p -> error_buf = err_mem -> content_buf ; in register_error()
262 BLANK_STRING( err_mem -> content_buf ) ; in register_error()
/dports/databases/postgis30/postgis-3.0.4/extensions/address_standardizer/
H A Derr_param.c40 err_p -> error_buf = err_mem -> content_buf ; \
42 BLANK_STRING( err_mem -> content_buf )
170 err_mem -> content_buf , in empty_errors()
251 strcpy( err_p -> err_array[ i ] . content_buf , in register_error()
252 err_p -> err_array[ i + 1 ] . content_buf ) ; in register_error()
261 err_p -> error_buf = err_mem -> content_buf ; in register_error()
262 BLANK_STRING( err_mem -> content_buf ) ; in register_error()
/dports/databases/postgis25/postgis-2.5.5/extensions/address_standardizer/
H A Derr_param.c40 err_p -> error_buf = err_mem -> content_buf ; \
42 BLANK_STRING( err_mem -> content_buf )
170 err_mem -> content_buf , in empty_errors()
251 strcpy( err_p -> err_array[ i ] . content_buf , in register_error()
252 err_p -> err_array[ i + 1 ] . content_buf ) ; in register_error()
261 err_p -> error_buf = err_mem -> content_buf ; in register_error()
262 BLANK_STRING( err_mem -> content_buf ) ; in register_error()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/miniupnpc/
H A Dminiwget.c72 char * content_buf; in getHTTPResponse() local
79 content_buf = malloc(content_buf_len); in getHTTPResponse()
232 content_buf = (char *)realloc((void *)content_buf, in getHTTPResponse()
235 memcpy(content_buf + content_buf_used, buf + i, bytestocopy); in getHTTPResponse()
256 content_buf = (char *)realloc((void *)content_buf, in getHTTPResponse()
259 memcpy(content_buf + content_buf_used, buf, n); in getHTTPResponse()
277 free(content_buf); in getHTTPResponse()
278 content_buf = NULL; in getHTTPResponse()
280 return content_buf; in getHTTPResponse()
/dports/net/yaz/yaz-5.31.1/util/
H A Dsrwtst.c21 char *content_buf = buf; in main() local
40 &content_buf, &content_len, h); in main()
79 z_soap_codec(encode, &soap_package, &content_buf, &content_len, h); in main()
80 if (content_buf && content_len) in main()
82 printf("%.*s", content_len, content_buf); in main()

123456