Lines Matching refs:prs
30 * Dump a prs to a file: from the current location through to the end.
38 * Dump from the start of the prs to the current location.
46 * Dump everything from the start of the prs up to the current location.
57 if (asprintf(&fname,"/tmp/%s_%d.%d.prs", name, v, i) < 0) {
61 if (asprintf(&fname,"/tmp/%s.%d.prs", name, i) < 0) {
1027 bool prs_init_data_blob(prs_struct *prs, DATA_BLOB *blob, TALLOC_CTX *mem_ctx)
1029 if (!prs_init( prs, RPC_MAX_PDU_FRAG_LEN, mem_ctx, MARSHALL ))
1033 if (!prs_copy_data_in(prs, (char *)blob->data, blob->length))
1042 bool prs_data_blob(prs_struct *prs, DATA_BLOB *blob, TALLOC_CTX *mem_ctx)
1044 blob->length = prs_data_size(prs);
1048 prs_set_offset( prs, prs_data_size(prs) );
1050 if (!prs_copy_all_data_out((char *)blob->data, prs))