Lines Matching refs:msgLen
332 size_t len, msgLen, tmplen; in slp_packSrvRqst() local
361 msgLen = 2 + /* prlist length */ in slp_packSrvRqst()
367 if (!(msg->msg = calloc(1, msgLen))) { in slp_packSrvRqst()
394 err = slp_add_string(msg->msg, msgLen, type, &len); in slp_packSrvRqst()
404 err = slp_add_string(msg->msg, msgLen, filter, &len); in slp_packSrvRqst()
408 err = slp_add_string(msg->msg, msgLen, spi, &len); in slp_packSrvRqst()
435 size_t len, msgLen; in slp_packSrvRqst_single() local
437 msgLen = in slp_packSrvRqst_single()
444 if (!(*msg = calloc(msgLen, 1))) { in slp_packSrvRqst_single()
451 err = slp_add_header(lang, *msg, msgLen, SRVRQST, msgLen, &len); in slp_packSrvRqst_single()
456 err = slp_add_string(*msg, msgLen, type, &len); in slp_packSrvRqst_single()
458 err = slp_add_string(*msg, msgLen, scopes, &len); in slp_packSrvRqst_single()
460 err = slp_add_string(*msg, msgLen, filter, &len); in slp_packSrvRqst_single()
463 err = slp_add_string(*msg, msgLen, "", &len); in slp_packSrvRqst_single()