Lines Matching refs:buff

103   char        buff[8 * 1024], *ptr, head[1024];  in PetscGlobusAuthorize()  local
113 ptr = fgets(buff, 1024, stdin); in PetscGlobusAuthorize()
115 PetscCall(PetscStrlen(buff, &len)); in PetscGlobusAuthorize()
116 buff[len - 1] = ':'; /* remove carriage return at end of line */ in PetscGlobusAuthorize()
119 ptr = fgets(buff + len, 1024 - len, stdin); in PetscGlobusAuthorize()
121 PetscCall(PetscStrlen(buff, &len)); in PetscGlobusAuthorize()
122 buff[len - 1] = '\0'; /* remove carriage return at end of line */ in PetscGlobusAuthorize()
124 …PetscCall(base64_encode((const unsigned char *)buff, (unsigned char *)(head + 21), sizeof(head) - … in PetscGlobusAuthorize()
129 …pe=client_credentials", head, "application/x-www-form-urlencoded", NULL, ssl, buff, sizeof(buff))); in PetscGlobusAuthorize()
133 PetscCall(PetscPullJSONValue(buff, "access_token", access_token, tokensize, &found)); in PetscGlobusAuthorize()
161 PetscErrorCode PetscGlobusGetTransfers(MPI_Comm comm, const char access_token[], char buff[], size_… in PetscGlobusGetTransfers() argument
186 …fer.api.globusonline.org/v0.10/tasksummary", head, "application/json", NULL, ssl, buff, buffsize)); in PetscGlobusGetTransfers()
215 char head[4096], buff[8 * 1024], body[4096], submission_id[4096]; in PetscGlobusUpload() local
240 …i.globusonline.org/v0.10/submission_id", head, "application/json", NULL, ssl, buff, sizeof(buff))); in PetscGlobusUpload()
243 PetscCall(PetscPullJSONValue(buff, "value", submission_id, sizeof(submission_id), &found)); in PetscGlobusUpload()
277 …er.api.globusonline.org/v0.10/transfer", head, "application/json", body, ssl, buff, sizeof(buff))); in PetscGlobusUpload()
280 PetscCall(PetscPullJSONValue(buff, "code", submission_id, sizeof(submission_id), &found)); in PetscGlobusUpload()